java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • A user reports getting a session timeout when migrating many issues: 2005-05-25 10:34:47,953 ERROR [action.admin.workflow.WorkflowMigrationManager] Error occurred creating change log: java.lang.IllegalStateException: getAttribute: Session already invalidated java.lang.IllegalStateException: getAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:953) at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171) at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171) at webwork.action.factory.SessionMap.get(SessionMap.java:92) at com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationManager.getRemoteUser(WorkflowMigrationManager.java:211) at com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationManager.createChangeLog(WorkflowMigrationManager.java:195) at com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationManager.migrate(WorkflowMigrationManager.java:163) at com.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowSchemeStep2.doExecute(SelectProjectWorkflowSchemeStep2.java:64) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58) Having the session time out in such a way can be quite disastrous for the consistency of the database.
    via by Jeff Turner,
  • A user reports getting a session timeout when migrating many issues: 2005-05-25 10:34:47,953 ERROR [action.admin.workflow.WorkflowMigrationManager] Error occurred creating change log: java.lang.IllegalStateException: getAttribute: Session already invalidated java.lang.IllegalStateException: getAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:953) at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171) at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171) at webwork.action.factory.SessionMap.get(SessionMap.java:92) at com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationManager.getRemoteUser(WorkflowMigrationManager.java:211) at com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationManager.createChangeLog(WorkflowMigrationManager.java:195) at com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationManager.migrate(WorkflowMigrationManager.java:163) at com.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowSchemeStep2.doExecute(SelectProjectWorkflowSchemeStep2.java:64) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58) Having the session time out in such a way can be quite disastrous for the consistency of the database.
    via by Jeff Turner,
  • I have tried importing bugzilla into 2.3 (since 2.4.1 being broken is a known bug). I have problems with the following: - most web browsers/proxies seem to timeout on a request that takes this long (an hour or more with a large bugzilla database). To get around this, I do a GET request on the bugzilla import using a tool that controls/ignores the timeout, and send the JSESSIONID cookie so it will log in. - I get the following exception, presumable because the session timeout is less than the length of time it takes. [10:09:56] java.lang.IllegalStateException: getAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:954) at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171) at webwork.action.factory.SessionMap.get(SessionMap.java:86) at com.atlassian.jira.web.action.JiraWebActionSupport.getRemoteUser(JiraWebActionSupport.java:51) at com.atlassian.jira.web.action.util.BugzillaImport.createChangeHistory(BugzillaImport.java:335) at com.atlassian.jira.web.action.util.BugzillaImport.createIssue(BugzillaImport.java:271) at com.atlassian.jira.web.action.util.BugzillaImport.createIssues(BugzillaImport.java:210) at com.atlassian.jira.web.action.util.BugzillaImport.doExecute(BugzillaImport.java:132) at webwork.action.ActionSupport.execute(ActionSupport.java:116) I would suggest that the bugzilla -> XML process should be a separate Java application, and this XML should then be imported via the regular JIRA mechanism. I rate this as major as it could potentially push our company's decision to adopt JIRA over our existing bugzilla installation into the negative. We are currently evaluating it.
    via by Brett Porter,
  • I have tried importing bugzilla into 2.3 (since 2.4.1 being broken is a known bug). I have problems with the following: - most web browsers/proxies seem to timeout on a request that takes this long (an hour or more with a large bugzilla database). To get around this, I do a GET request on the bugzilla import using a tool that controls/ignores the timeout, and send the JSESSIONID cookie so it will log in. - I get the following exception, presumable because the session timeout is less than the length of time it takes. [10:09:56] java.lang.IllegalStateException: getAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:954) at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171) at webwork.action.factory.SessionMap.get(SessionMap.java:86) at com.atlassian.jira.web.action.JiraWebActionSupport.getRemoteUser(JiraWebActionSupport.java:51) at com.atlassian.jira.web.action.util.BugzillaImport.createChangeHistory(BugzillaImport.java:335) at com.atlassian.jira.web.action.util.BugzillaImport.createIssue(BugzillaImport.java:271) at com.atlassian.jira.web.action.util.BugzillaImport.createIssues(BugzillaImport.java:210) at com.atlassian.jira.web.action.util.BugzillaImport.doExecute(BugzillaImport.java:132) at webwork.action.ActionSupport.execute(ActionSupport.java:116) I would suggest that the bugzilla -> XML process should be a separate Java application, and this XML should then be imported via the regular JIRA mechanism. I rate this as major as it could potentially push our company's decision to adopt JIRA over our existing bugzilla installation into the negative. We are currently evaluating it.
    via by Brett Porter,
  • A user complained that JIRA was not responding -- the port was listening, but the page was not being returned. I investigated, but all I saw in catalina.out was a "Starting log" message from CVSRepositoryUtilImpl from rouhgly 7 minutes ago. After about another three minutes of waiting, the page returned and a large number of exceptions were thrown. After this period, JIRA seems to be running as usual. I'm running Enterprise 2.6.1 on Linux, backed by MySQL on the same box. I'll attach my catalina.out to this bug -- let me know if you need anything else. The exceptions were generally like this: [ERROR] ServletValueStack - -METHOD: "text", exception: <java.lang.reflect.InvocationTargetException>java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at webwork.util.ValueStack.findValue(ValueStack.java:429) at webwork.util.ValueStack.findValue(ValueStack.java:171) at webwork.view.taglib.WebWorkBodyTagSupport.findString(WebWorkBodyTagSupport.java:72) at com.atlassian.jira.web.tags.TextTag.doEndTag(TextTag.java:93) at org.apache.jsp.navigator_jsp._jspx_meth_webwork_text_28(navigator_jsp.java:2651) at org.apache.jsp.navigator_jsp._jspService(navigator_jsp.java:1056) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498) at com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:169) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666) at java.lang.Thread.run(Thread.java:536) Caused by: java.lang.IllegalStateException: getAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:954) at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171) at webwork.action.factory.SessionMap.get(SessionMap.java:91) at com.atlassian.jira.web.action.JiraWebActionSupport.getUserPreferences(JiraWebActionSupport.java:75) at com.atlassian.jira.web.action.JiraWebActionSupport.getLocale(JiraWebActionSupport.java:452) at webwork.action.ActionSupport.getTexts(ActionSupport.java:289) at webwork.action.ActionSupport.getText(ActionSupport.java:323) at com.atlassian.jira.action.JiraActionSupport.getText(JiraActionSupport.java:138) at com.atlassian.jira.web.action.JiraWebActionSupport.getText(JiraWebActionSupport.java:383) ... 61 more
    via by Austin Mills,
  • Help needed with Logout Button
    via by 843842,
    • java.lang.IllegalStateException: getAttribute: Session already invalidated at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:953) at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171) at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171) at webwork.action.factory.SessionMap.get(SessionMap.java:92) at com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationManager.getRemoteUser(WorkflowMigrationManager.java:211) at com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationManager.createChangeLog(WorkflowMigrationManager.java:195) at com.atlassian.jira.web.action.admin.workflow.WorkflowMigrationManager.migrate(WorkflowMigrationManager.java:163) at com.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowSchemeStep2.doExecute(SelectProjectWorkflowSchemeStep2.java:64) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58)

    Users with the same issue

    abrazeneb
    15 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,