-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
Sending an incorrect AJP request to the AJP listener causes a NPE:
ERROR [io.undertow.request.io] (default I/O-7) UT005090: Unexpected failure: java.lang.NullPointerException
at io.undertow.server.HttpServerExchange.closeAndFlushResponse(HttpServerExchange.java:1716)
at io.undertow.server.HttpServerExchange.endExchange(HttpServerExchange.java:1700)
at io.undertow.server.protocol.ajp.AjpReadListener.handleEvent(AjpReadListener.java:262)
at io.undertow.server.protocol.ajp.AjpOpenListener.handleEvent(AjpOpenListener.java:156)
at io.undertow.server.protocol.ajp.AjpOpenListener.handleEvent(AjpOpenListener.java:56)
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291)
at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:134)
at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:479)
The getRequestMethod() call in HttpServerExchange returns null .
This is a regression in Undertow 2.0.30.SP2. Seems to be caused by the fix for JBEAP-19204
- clones
-
JBEAP-19266 [QE](7.2.z) UNDERTOW-1709 - NullPointerException when calling the AJP port
- Closed