java.lang.IncompatibleClassChangeError: Found class org.java_websocket.WebSocket, but interface was expected

GitHub | max-mc2labs | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    after JAR recompilation: Found class org.java_websocket.WebSocket, but interface was expected

    GitHub | 2 years ago | max-mc2labs
    java.lang.IncompatibleClassChangeError: Found class org.java_websocket.WebSocket, but interface was expected

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      Found class org.java_websocket.WebSocket, but interface was expected

      at AutobahnServerTest.onMessage()
    2. Unknown
      AutobahnServerTest.onMessage
      1. AutobahnServerTest.onMessage(AutobahnServerTest.java:48)
      1 frame
    3. Java WS
      WebSocketServer$WebSocketWorker.run
      1. org.java_websocket.server.WebSocketServer.onWebsocketMessage(WebSocketServer.java:457)
      2. org.java_websocket.WebSocketImpl.deliverMessage(WebSocketImpl.java:561)
      3. org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:328)
      4. org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:149)
      5. org.java_websocket.server.WebSocketServer$WebSocketWorker.run(WebSocketServer.java:593)
      5 frames