I manually patched javax.servlet.jsp-2.3.2.jar which was in Jetty 9.1.3. to work around this issue. In Jetty 9.2 I believe they will switch from glassfish to tomcat for these classes.
I could supply the patched jar it if thats the same version as in jetty 9.1.4... On 10/04/2014 11:16 am, "Fritz Richter" <[email protected]> wrote: > Hi together, > after updating the Jetty to the newest 9.1.4 version, in order to support > my Spring4/Java 8 web app, I run into a strange NPE problem. > > I get this error: > > java.lang.NullPointerException > at > org.apache.jsp.views.secured.report.create_002delement_002dfragment_jsp._jspx_meth_c_if_0(create_002delement_002dfragment_jsp.java:315) > at > org.apache.jsp.views.secured.report.create_002delement_002dfragment_jsp._jspService(create_002delement_002dfragment_jsp.java:119) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) > > > If I am right, the problem is the el-3 library, which will treat null > values in a different way. I found some issues in bug tracking systems for > Tomcat, Glassfish and even in Jetty – but I was *not able* to figure out, > how to solve this problem. > > I want to avoid writing: > <c:if test=„${not empty nonExisting && nonExisting}“> > > Is there anything I can do in order to *not modify* the existing JSP > files? > > Best > fri > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
