Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Ignite 1
Level 2
cq_5_5
Level 2

Likes

2 likes

Total Posts

23 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Validate 1
Give Back
Boost 1
View profile

Avatar
Ignite 1
Level 2
cq_5_5
Level 2

Likes

2 likes

Total Posts

23 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Validate 1
Give Back
Boost 1
View profile
cq_5_5
Level 2

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
Validate 10
Level 3
Radha_Krishna_N
Level 3

Likes

15 likes

Total Posts

51 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
Radha_Krishna_N
Level 3

Likes

15 likes

Total Posts

51 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
Radha_Krishna_N
Level 3

02-05-2018

Hi,

Hope this helps

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

Thanks,

Radha Krishna N

Avatar

Avatar
Validate 1
Level 1
Riyaz_Ahmed_Moh
Level 1

Likes

3 likes

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
Riyaz_Ahmed_Moh
Level 1

Likes

3 likes

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Riyaz_Ahmed_Moh
Level 1

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
Validate 10
Level 6
leeasling
Level 6

Likes

73 likes

Total Posts

292 posts

Correct Reply

75 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 6
leeasling
Level 6

Likes

73 likes

Total Posts

292 posts

Correct Reply

75 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
leeasling
Level 6

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)