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

cping/cpong fails with NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha17
    • 1.0.0.Alpha15
    • AJP
    • None

      Continuation from UNDERTOW-18.

      Just throwing this here since I may have done something wrong on the m_c integration bits but that's less likely..

      19:43:40,012 ERROR [io.undertow.request] (default I/O-3) Blocking request failed io.undertow.server.HttpServerExchange@79a8c065: java.lang.NullPointerException
      	at io.undertow.util.CanonicalPathUtils.canonicalize(CanonicalPathUtils.java:32)
      	at io.undertow.server.handlers.CanonicalPathHandler.handleRequest(CanonicalPathHandler.java:42)
      	at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:52)
      	at io.undertow.ajp.AjpReadListener.handleEvent(AjpReadListener.java:161)
      	at io.undertow.ajp.AjpOpenListener.handleEvent(AjpOpenListener.java:45)
      	at io.undertow.ajp.AjpOpenListener.handleEvent(AjpOpenListener.java:17)
      	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:91) [xnio-api-3.1.0.CR3.jar:3.1.0.CR3]
      	at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:290) [xnio-api-3.1.0.CR3.jar:3.1.0.CR3]
      	at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:285) [xnio-api-3.1.0.CR3.jar:3.1.0.CR3]
      	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:91) [xnio-api-3.1.0.CR3.jar:3.1.0.CR3]
      	at org.xnio.nio.NioTcpServerHandle.handleReady(NioTcpServerHandle.java:53) [xnio-nio-3.1.0.CR3.jar:3.1.0.CR3]
      	at org.xnio.nio.WorkerThread.run(WorkerThread.java:528) [xnio-nio-3.1.0.CR3.jar:3.1.0.CR3]
      
      19:43:40,013 ERROR [io.undertow.request.io] (default I/O-3) UT005013: An IOException occurred: java.io.IOException: Connection reset by peer
      	at sun.nio.ch.FileDispatcherImpl.write0(Native Method) [rt.jar:1.7.0_21]
      	at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) [rt.jar:1.7.0_21]
      	at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:94) [rt.jar:1.7.0_21]
      	at sun.nio.ch.IOUtil.write(IOUtil.java:51) [rt.jar:1.7.0_21]
      	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:450) [rt.jar:1.7.0_21]
      	at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:148) [xnio-nio-3.1.0.CR3.jar:3.1.0.CR3]
      	at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:155) [xnio-nio-3.1.0.CR3.jar:3.1.0.CR3]
      	at io.undertow.ajp.AjpResponseConduit.writeCurrentBuffer(AjpResponseConduit.java:278)
      	at io.undertow.ajp.AjpResponseConduit.processWrite(AjpResponseConduit.java:227)
      	at io.undertow.ajp.AjpResponseConduit.flush(AjpResponseConduit.java:398)
      	at org.xnio.conduits.ConduitStreamSinkChannel.flush(ConduitStreamSinkChannel.java:147) [xnio-api-3.1.0.CR3.jar:3.1.0.CR3]
      	at io.undertow.server.HttpServerExchange$WriteDispatchChannel.flush(HttpServerExchange.java:1370)
      	at io.undertow.server.HttpServerExchange.closeAndFlushResponse(HttpServerExchange.java:1168)
      	at io.undertow.server.HttpServerExchange.endExchange(HttpServerExchange.java:1157)
      	at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:71)
      	at io.undertow.ajp.AjpReadListener.handleEvent(AjpReadListener.java:161)
      	at io.undertow.ajp.AjpOpenListener.handleEvent(AjpOpenListener.java:45)
      	at io.undertow.ajp.AjpOpenListener.handleEvent(AjpOpenListener.java:17)
      	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:91) [xnio-api-3.1.0.CR3.jar:3.1.0.CR3]
      	at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:290) [xnio-api-3.1.0.CR3.jar:3.1.0.CR3]
      	at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:285) [xnio-api-3.1.0.CR3.jar:3.1.0.CR3]
      	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:91) [xnio-api-3.1.0.CR3.jar:3.1.0.CR3]
      	at org.xnio.nio.NioTcpServerHandle.handleReady(NioTcpServerHandle.java:53) [xnio-nio-3.1.0.CR3.jar:3.1.0.CR3]
      	at org.xnio.nio.WorkerThread.run(WorkerThread.java:528) [xnio-nio-3.1.0.CR3.jar:3.1.0.CR3]
      

      mod_proxy_ajp log

      [Tue May 21 19:44:25 2013] [error] proxy: ajp: disabled connection for (127.0.0.1)
      [Tue May 21 19:44:30 2013] [debug] proxy_util.c(1949): proxy: ajp: retrying the worker for (127.0.0.1)
      [Tue May 21 19:44:30 2013] [error] proxy: ajp: disabled connection for (127.0.0.1)
      [Tue May 21 19:44:35 2013] [debug] proxy_util.c(1949): proxy: ajp: retrying the worker for (127.0.0.1)
      [Tue May 21 19:44:35 2013] [error] proxy: ajp: disabled connection for (127.0.0.1)
      [Tue May 21 19:44:40 2013] [debug] proxy_util.c(1949): proxy: ajp: retrying the worker for (127.0.0.1)
      

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: