java.lang.LinkageError: loader constraint violation: when resolving interface method "org.eclipse.jetty.server.Connector.getByteBufferPool()Lorg/eclipse/jetty/io/ByteBufferPool;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/eclipse/jetty/websocket/server/WebSocketServerFactory, and the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) for the method's defining class, org/eclipse/jetty/server/Connector, have different Class objects for the type org/eclipse/jetty/io/ByteBufferPool used in the signature

GitHub | harshild | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 2191#234467859

    GitHub | 7 months ago | harshild
    java.lang.LinkageError: loader constraint violation: when resolving interface method "org.eclipse.jetty.server.Connector.getByteBufferPool()Lorg/eclipse/jetty/io/ByteBufferPool;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/eclipse/jetty/websocket/server/WebSocketServerFactory, and the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) for the method's defining class, org/eclipse/jetty/server/Connector, have different Class objects for the type org/eclipse/jetty/io/ByteBufferPool used in the signature

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraint violation: when resolving interface method "org.eclipse.jetty.server.Connector.getByteBufferPool()Lorg/eclipse/jetty/io/ByteBufferPool;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/eclipse/jetty/websocket/server/WebSocketServerFactory, and the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) for the method's defining class, org/eclipse/jetty/server/Connector, have different Class objects for the type org/eclipse/jetty/io/ByteBufferPool used in the signature

      at org.eclipse.jetty.websocket.server.WebSocketServerFactory.upgrade()
    2. Jetty
      WebSocketServerFactory.acceptWebSocket
      1. org.eclipse.jetty.websocket.server.WebSocketServerFactory.upgrade(WebSocketServerFactory.java:516)[na:na]
      2. org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:185)[na:na]
      3. org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:152)[na:na]
      3 frames
    3. atmosphere-runtime
      AtmosphereFramework.doCometSupport
      1. org.atmosphere.container.Jetty9AsyncSupportWithWebSocket$1.acceptWebSocket(Jetty9AsyncSupportWithWebSocket.java:146)[na:na]
      2. org.atmosphere.container.Jetty9AsyncSupportWithWebSocket.service(Jetty9AsyncSupportWithWebSocket.java:175)[na:na]
      3. org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2287)[na:na]
      3 frames