Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1285

NPE with HTTP2 + openssl and inappropriate client behaviour

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 2.0.0.Beta1
    • Core
    • None

      There is an intermittent NPE when running our HTTP2 tests against EAP/Wildfly with openssl utilized:

      11:46:48,135 ERROR [io.undertow.request.io] (default I/O-4) UT005090: Unexpected failure: java.lang.NullPointerException
      16:47:08 	at io.undertow.core@2.0.0.Beta1//io.undertow.protocols.http2.Http2Channel.sendPing(Http2Channel.java:794)
      16:47:08 	at io.undertow.core@2.0.0.Beta1//io.undertow.protocols.http2.Http2Channel.createChannelImpl(Http2Channel.java:489)
      16:47:08 	at io.undertow.core@2.0.0.Beta1//io.undertow.protocols.http2.Http2Channel.createChannel(Http2Channel.java:342)
      16:47:08 	at io.undertow.core@2.0.0.Beta1//io.undertow.protocols.http2.Http2Channel.createChannel(Http2Channel.java:68)
      16:47:08 	at io.undertow.core@2.0.0.Beta1//io.undertow.server.protocol.framed.AbstractFramedChannel.receive(AbstractFramedChannel.java:451)
      16:47:08 	at io.undertow.core@2.0.0.Beta1//io.undertow.server.protocol.http2.Http2ReceiveListener.handleEvent(Http2ReceiveListener.java:111)
      16:47:08 	at io.undertow.core@2.0.0.Beta1//io.undertow.server.protocol.http2.Http2ReceiveListener.handleEvent(Http2ReceiveListener.java:60)
      16:47:08 	at org.jboss.xnio@3.6.1.Final-redhat-1//org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      16:47:08 	at io.undertow.core@2.0.0.Beta1//io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:942)
      16:47:08 	at io.undertow.core@2.0.0.Beta1//io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:923)
      16:47:08 	at org.jboss.xnio@3.6.1.Final-redhat-1//org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      16:47:08 	at org.jboss.xnio@3.6.1.Final-redhat-1//org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
      16:47:08 	at io.undertow.core@2.0.0.Beta1//io.undertow.protocols.ssl.SslConduit$SslReadReadyHandler.readReady(SslConduit.java:1145)
      16:47:08 	at io.undertow.core@2.0.0.Beta1//io.undertow.protocols.ssl.SslConduit$1.run(SslConduit.java:168)
      16:47:08 	at org.jboss.xnio.nio@3.6.1.Final-redhat-1//org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612)
      16:47:08 	at org.jboss.xnio.nio@3.6.1.Final-redhat-1//org.xnio.nio.WorkerThread.run(WorkerThread.java:479)
      

      There is null given as an ExceptionHandler argument when calling this sendPing method. This should probably not happen.

      There are also many Illegal state exceptions in the server.log, see description of WFLY-9673

              Unassigned Unassigned
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: