Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5902

UT005090: Unexpected failure: java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer

    XMLWordPrintable

Details

    Description

      Using Wildfly 26.1.0.Final with openjdk version "1.8.0_332" and configured all https requests to require 2-way ssl authentication, any https request has this result:

      2022-05-03 00:00:03.138 UTC ERROR [default I/O-12]  [io.undertow.request.io] UT005090: Unexpected failure: java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer;
              at org.wildfly.openssl.OpenSSLEngine.unwrap(OpenSSLEngine.java:549)
              at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:629)
              at io.undertow.server.protocol.http.ALPNLimitingSSLEngine.unwrap(ALPNLimitingSSLEngine.java:91)
              at io.undertow.protocols.ssl.SslConduit.doUnwrap(SslConduit.java:781)
              at io.undertow.protocols.ssl.SslConduit.doHandshake(SslConduit.java:672)
              at io.undertow.protocols.ssl.SslConduit.access$900(SslConduit.java:70)
              at io.undertow.protocols.ssl.SslConduit$SslReadReadyHandler.readReady(SslConduit.java:1215)
              at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
              at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
      

      Wildfly 26.0.1.Final does not have this problem with OpenJDK 8.

      Or if we upgrade to use OpenJDK 11, that also works with Wildfly 26.1.0.Final.

      However, we need the advertised support for OpenJDK 8 that Wildfly 26.1.0.Final should be supporting.

      Attachments

        Issue Links

          Activity

            People

              fjuma1@redhat.com Farah Juma
              david.everly David Everly (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: