Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-6504

Creating a WebSocket Bind Model to a non-existent component crashes the Nexus

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Nexus
    • None
    • OS: MacOS Mojave 10.14.5
      Node.js Version 12.14

    Description

      Describe the bug

      Opening a WebSocket connection to the `bindModel` endpoint with a path without a component at it causes a fatal error.

      To reproduce

      Steps to reproduce the behavior:

      1. Start a nexus instance.
      2. In the terminal, execute `wscat -c ws://localhost:9081/bindModel/example1/a`.
      3. See error

      Expected behavior

      The nexus server should respond with an error and then close the WebSocket connection.

      Technical details

      Complete server logs with stack trace are in NexusBugStacktrace.txt.

      Attachments

        1. NexusBugStacktrace.txt
          8 kB
          Philip Tchernavskij

        Activity

          People

            ptcher Philip Tchernavskij
            ptcher Philip Tchernavskij
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: