java.lang.IllegalStateException: Cannot create a session after the response has been committed

Jenkins JIRA | Dan Lewis | 6 years ago
  1. 0

    [JENKINS-9154] multiple warnings after a couple days working - Jenkins JIRA

    jenkins-ci.org | 11 months ago
    java.lang.IllegalStateException: Cannot create a session after the response has been committed
  2. 0

    worked great for a couple days, but then suddenly stopped working with following error messages: Mar 24, 2011 7:57:10 PM hudson.plugins.scm_sync_configuration.SCMManipulator expectScmRepositoryInitiated WARNING: SCM Repository has not yet been initiated ! also see this warning: Mar 24, 2011 4:15:02 PM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: it.getPlugin().shouldDecorationOccursOnURL(url.toString()). Reason: java.lang.IllegalStateException: Cannot create a session after the response has been committed java.lang.IllegalStateException: Cannot create a session after the response has been committed at org.apache.catalina.connector.Request.doGetSession(Request.java:2400) at org.apache.catalina.connector.Request.getSession(Request.java:2120) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844) at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:224) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.retrieveObject(ScmSyncConfigurationDataProvider.java:90) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.retrieveComment(ScmSyncConfigurationDataProvider.java:86) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.shouldDecorationOccursOnURL(ScmSyncConfigurationPlugin.java:174) at sun.reflect.GeneratedMethodAccessor239.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsBoolean(ExpressionSupport.java:71) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:97) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)

    Jenkins JIRA | 6 years ago | Dan Lewis
    java.lang.IllegalStateException: Cannot create a session after the response has been committed
  3. 0

    worked great for a couple days, but then suddenly stopped working with following error messages: Mar 24, 2011 7:57:10 PM hudson.plugins.scm_sync_configuration.SCMManipulator expectScmRepositoryInitiated WARNING: SCM Repository has not yet been initiated ! also see this warning: Mar 24, 2011 4:15:02 PM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: it.getPlugin().shouldDecorationOccursOnURL(url.toString()). Reason: java.lang.IllegalStateException: Cannot create a session after the response has been committed java.lang.IllegalStateException: Cannot create a session after the response has been committed at org.apache.catalina.connector.Request.doGetSession(Request.java:2400) at org.apache.catalina.connector.Request.getSession(Request.java:2120) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844) at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:224) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.retrieveObject(ScmSyncConfigurationDataProvider.java:90) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.retrieveComment(ScmSyncConfigurationDataProvider.java:86) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.shouldDecorationOccursOnURL(ScmSyncConfigurationPlugin.java:174) at sun.reflect.GeneratedMethodAccessor239.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsBoolean(ExpressionSupport.java:71) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:97) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)

    Jenkins JIRA | 6 years ago | Dan Lewis
    java.lang.IllegalStateException: Cannot create a session after the response has been committed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception evaluating SpringEL expression: "_csrf.token"

    GitHub | 6 months ago | berniegp
    org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/home.html]")
  6. 0

    Hazelcast web session replication filter may die if response committed

    GitHub | 2 years ago | davidmc24
    java.lang.IllegalStateException: Cannot create a session after the response has been committed

  1. Shadd518 1 times, last 3 months ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Cannot create a session after the response has been committed

    at org.apache.catalina.connector.Request.doGetSession()
  2. Glassfish Core
    RequestFacade.getSession
    1. org.apache.catalina.connector.Request.doGetSession(Request.java:2400)
    2. org.apache.catalina.connector.Request.getSession(Request.java:2120)
    3. org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
    4. org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844)
    4 frames
  3. JavaServlet
    HttpServletRequestWrapper.getSession
    1. javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:224)
    1 frame
  4. hudson.plugins.scm_sync_configuration
    ScmSyncConfigurationPlugin.shouldDecorationOccursOnURL
    1. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.retrieveObject(ScmSyncConfigurationDataProvider.java:90)
    2. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.retrieveComment(ScmSyncConfigurationDataProvider.java:86)
    3. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.shouldDecorationOccursOnURL(ScmSyncConfigurationPlugin.java:174)
    3 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor239.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    3. java.lang.reflect.Method.invoke(Unknown Source)
    3 frames
  6. Commons JEXL
    ExpressionImpl.evaluate
    1. org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
    2. org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
    3. org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
    4. org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
    5. org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
    6. org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
    6 frames
  7. Hudson
    ExpressionFactory2$JexlExpression.evaluate
    1. hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72)
    1 frame
  8. commons-jelly
    CoreTagLibrary$2.run
    1. org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
    2. org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsBoolean(ExpressionSupport.java:71)
    3. org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:97)
    4. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    5. org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
    5 frames