Picketlink Service Provider giving 500 error and NPE in EAP 7
Issue
- After converting Picketlink based Service Provider (SP) from EAP 6 to EAP 7, getting a 500 error with NullPointerException from Undertow.
-
Picletlink in EAP 7 giving:
ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /example/: java.lang.NullPointerException at io.undertow.servlet.spec.HttpServletRequestImpl.getRequestDispatcher(HttpServletRequestImpl.java:964) at io.undertow.servlet.handlers.security.ServletFormAuthenticationMechanism.servePage(ServletFormAuthenticationMechanism.java:137) at io.undertow.security.impl.FormAuthenticationMechanism.sendChallenge(FormAuthenticationMechanism.java:176) at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.transition(SecurityContextImpl.java:301) at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.transition(SecurityContextImpl.java:319) at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.access$300(SecurityContextImpl.java:284)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.