Expand my Community achievements bar.

java.lang.IllegalStateException: Response is committed error in the logs

Avatar

Level 2

I am getting frequent java.lang.IllegalStateException in the error log. There are no visible errors on the page. Does anyone has any idea on what is going on? What is the reason for these exceptions?

Here is the stack dump:

17.12.2015 00:00:00.077 *ERROR* [10.96.87.46 [1450328399639] GET /home.html HTTP/1.0] org.apache.sling.scripting.jsp.jasper.runtime.JspFactoryImpl Exception initializing page context
java.lang.IllegalStateException: Response is committed
        at org.eclipse.jetty.server.Request.getSession(Request.java:1399)
        at org.eclipse.jetty.server.Request.getSession(Request.java:1377)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)
        at org.apache.sling.scripting.jsp.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:149)
        at org.apache.sling.scripting.jsp.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:127)
        at org.apache.sling.scripting.jsp.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:88)
        at org.apache.sling.scripting.jsp.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:57)
        at org.apache.sling.scripting.jsp.jasper.compiler.JspRuntimeContext$JspFactoryHandler.getPageContext(JspRuntimeContext.java:104)
        at org.apache.jsp.apps.cq.analytics.components.sitecatalyst.config_js_jsp._jspService(config_js_jsp.java:44)
        at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)
        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)
        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:284)
        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:102)
        at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:536)
        at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
        at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
        at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
        at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)
        at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)
        at org.apache.jsp.libs.cq.analytics.components.sitecatalyst.sitecatalyst_jsp._jspx_meth_cq_005finclude_005f0(sitecatalyst_jsp.java:409)
        at org.apache.jsp.libs.cq.analytics.components.sitecatalyst.sitecatalyst_jsp._jspService(sitecatalyst_jsp.java:243)
        at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)

3 Replies

Avatar

Level 8

Do you have a custom site catalyst configuration file?

at org.apache.jsp.apps.cq.analytics.components.sitecatalyst.config_js_jsp._jspService(config_js_jsp.java:44)

Avatar

Level 2

HI,

I am using AEM 6.2 and facing the same issue. We are using site catalyst and it is not able to find the sitecatalyst conifig file, even it is available.