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

Avatar

Avatar

cq_5_5

Avatar

cq_5_5

cq_5_5

18-12-2015

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)

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar

Radha_Krishna_N

Avatar

Radha_Krishna_N

Radha_Krishna_N

02-05-2018

Hi,

Hope this helps

"Response is committed" error during page load in AEM6.x

Thanks,

Radha Krishna N

Avatar

Avatar

Riyaz_Ahmed_Moh

Avatar

Riyaz_Ahmed_Moh

Riyaz_Ahmed_Moh

17-10-2017

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.

Avatar

Avatar

leeasling

Avatar

leeasling

leeasling

18-12-2015

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)