Reply To: NPE in RewritePhaseListener.handlePhaseOperation

Splash Forums Rewrite Users NPE in RewritePhaseListener.handlePhaseOperation Reply To: NPE in RewritePhaseListener.handlePhaseOperation

#25556

Torben Greiser
Participant

I am encountering the exception, too. I debugged with breakpoint in line 132 of RewritePhaseListener for 2.0.9.Final, it fails on rewriteEvent.getRequest() (which I inspected manually after each call to performInSubflow) after certain requests. My stacktrace is the same as Lukes above.

In HttpInboundRewriteImpl the request is null, the toString for InboundRewrite displays:

InboundRewrite [null url=http://localhost:8080/myContextPath/downloads/images/LOGIN_LOGO, flow=UN_HANDLED, dispatchResource=/binary.jsf]