EAP 7 AJP Listener throws NullPointerException in HttpServerExchange.closeAndFlushResponse

Solution Verified - Updated -

Issue

  • We see the
ERROR [io.undertow.request.io] (default I/O-6) 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)

Environment

  • JBoss Enterpise Application Platform (EAP) 7.2.8 and earlier

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In