Details
-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
4.5.0.Final
-
-
NEW
-
NEW
Description
After following the instructions here and here, I get the following error:
Error processing request Context Path:/app-authz-vanilla Servlet Path:/index.jsp Path Info:null Query String:null Stack Trace: org.apache.jasper.JasperException: java.lang.NullPointerException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:473) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347) at javax.servlet.http.HttpServlet.service(HttpServlet.java:791) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32) at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [REDACTED - attached full stack trace]
When I comment out lines 34-45 in index.jsp, it doesn't throw the NPE. It looks like the getPermission on line 36 is returning null.
Any ideas on what I did wrong?