Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-900

UnitTest WebsocketMultipleConnectionTest intermittantly fails with NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: Tests
    • Labels:
      None
    • Environment:
      Jenkins

      Description

      https://builds.apache.org/job/Knox-0.12.0/lastBuild/org.apache.knox$gateway-server/testReport/org.apache.hadoop.gateway.websockets/WebsocketMultipleConnectionTest/testMultipleConnections/

      Error Message

      RemoteEndpoint unavailable, outgoing connection not open

      Stacktrace

      org.eclipse.jetty.websocket.api.WebSocketException: RemoteEndpoint unavailable, outgoing connection not open
      at org.eclipse.jetty.websocket.common.WebSocketSession.getRemote(WebSocketSession.java:252)
      at org.eclipse.jetty.websocket.jsr356.AbstractJsrRemote.<init>(AbstractJsrRemote.java:50)
      at org.eclipse.jetty.websocket.jsr356.JsrBasicRemote.<init>(JsrBasicRemote.java:44)
      at org.eclipse.jetty.websocket.jsr356.JsrSession.getBasicRemote(JsrSession.java:166)
      at org.apache.hadoop.gateway.websockets.WebsocketMultipleConnectionTest.testMultipleConnections(WebsocketMultipleConnectionTest.java:165)

      Standard Output

      ERROR [org.apache.hadoop.gateway.websockets] Error: java.lang.NullPointerException

        Attachments

        1. KNOX-900.001.patch
          0.9 kB
          Sandeep More

          Activity

            People

            • Assignee:
              smore Sandeep More
              Reporter:
              smore Sandeep More
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: