Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] NullPointerException during JSP access?

Folks;

another strange exception bugging my running application recently (after upgrading to jetty 9.2.5): Pretty often, I see large stack traces like the one below in my log, which I _guess_ to be jetty complaining about missing JSPs, but I can't tell which ones. Looking at the log, I see rather well at which time in the web application this happens, but at least looking at the web app itself, this error is not visible to the user.

I'm running an embedded jetty in a .jar application and use maven jetty plugin to precompile JSPs. Any idea what could cause this exception? Any place to look for more details?

TIA and all the best,
Kristian


2014-11-24 21:06:10,284 [qtp291339907-41] WARN o.e.jetty.servlet.ServletHandler -
org.apache.jasper.JasperException: java.lang.NullPointerException
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:440) ~[javax.servlet.jsp-2.3.2.jar:2.3.2] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) ~[javax.servlet.jsp-2.3.2.jar:2.3.2] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) ~[javax.servlet.jsp-2.3.2.jar:2.3.2] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[javax.servlet-api-3.1.0.jar:3.1.0] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:800) ~[jetty-servlet-9.2.5.v20141112.jar:9.2.5.v20141112]
        at
[...]
Caused by: java.lang.NullPointerException: null
at org.apache.jasper.JspCompilationContext.incrementRemoved(JspCompilationContext.java:605) ~[javax.servlet.jsp-2.3.2.jar:2.3.2] at org.apache.jasper.servlet.JspServletWrapper.jspFileNotFound(JspServletWrapper.java:483) ~[javax.servlet.jsp-2.3.2.jar:2.3.2] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:350) ~[javax.servlet.jsp-2.3.2.jar:2.3.2]
        ... 52 common frames omitted


Back to the top