NullPointerException in BodyContentImpl.clear
Issue
- We start seeing the following NullPointerException:
JBWEB000236: Servlet.service() for servlet jsp threw exception: java.lang.NullPointerException
at org.apache.jasper.runtime.BodyContentImpl.clear(BodyContentImpl.java:253) [jbossweb.jar:7.5.12.Final-redhat-1]
at javax.servlet.jsp.tagext.BodyContent.clearBody(BodyContent.java:126) [jboss-jsp-api_2.2_spec.jar:1.0.2.Final-redhat-1]
at org.apache.jasper.runtime.BodyContentImpl.setWriter(BodyContentImpl.java:309) [jbossweb.jar:7.5.12.Final-redhat-1]
at org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:714) [jbossweb.jar:7.5.12.Final-redhat-1]
at org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:700) [jbossweb.jar:7.5.12.Final-redhat-1]
at org.apache.jasper.runtime.JspContextWrapper.pushBody(JspContextWrapper.java:280) [jbossweb.jar:7.5.12.Final-redhat-1]
Environment
- JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.