CSC NullPointerExceptions
Symptoms:
CSC application sometimes throws you NullpointerExceptions with below errors. Especially when your using JBOSS as application server.
ERROR [nucleusNamespace.atg.dynamo.servlet.dafpipeline.DynamoServlet] (ajp-127.0.0.1-8009-1)
java.lang.NullPointerException
at org.apache.jasper.runtime.BodyContentImpl.clear(BodyContentImpl.java:251)
at javax.servlet.jsp.tagext.BodyContent.clearBody(BodyContent.java:89)
at org.apache.jasper.runtime.BodyContentImpl.setWriter(BodyContentImpl.java:307)
at org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:718)
at org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:704)
at org.apache.jsp.script.resources_js_jsp._jspx_meth_dsp_005flayeredBundle_005f0(resources_js_jsp.java:732)
Solution:
If your running ATG 9.x or 10.x, then add the below two parameters in JAVA_OPTS of run.conf file in csc instance to fix Nullpointer exceptions.
-Dorg.apache.jasper.runtime.JspFactoryImpl.USE_POOL=false
-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true
Comments
Post a Comment