java.lang.IllegalStateException: getAttribute: Session already invalidated

Atlassian JIRA | Brett Porter | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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.

    Atlassian JIRA | 1 decade ago | Brett Porter
    java.lang.IllegalStateException: getAttribute: Session already invalidated
  2. 0

    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.

    Atlassian JIRA | 1 decade ago | Brett Porter
    java.lang.IllegalStateException: getAttribute: Session already invalidated
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. abrazeneb 15 times, last 7 months ago
4 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

    getAttribute: Session already invalidated

    at org.apache.catalina.session.StandardSession.getAttribute()
  2. Glassfish Core
    StandardSessionFacade.getAttribute
    1. org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:954)
    2. org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171)
    2 frames
  3. webwork.action.factory
    SessionMap.get
    1. webwork.action.factory.SessionMap.get(SessionMap.java:86)
    1 frame
  4. com.atlassian.jira
    BugzillaImport.doExecute
    1. com.atlassian.jira.web.action.JiraWebActionSupport.getRemoteUser(JiraWebActionSupport.java:51)
    2. com.atlassian.jira.web.action.util.BugzillaImport.createChangeHistory(BugzillaImport.java:335)
    3. com.atlassian.jira.web.action.util.BugzillaImport.createIssue(BugzillaImport.java:271)
    4. com.atlassian.jira.web.action.util.BugzillaImport.createIssues(BugzillaImport.java:210)
    5. com.atlassian.jira.web.action.util.BugzillaImport.doExecute(BugzillaImport.java:132)
    5 frames
  5. webwork.action
    ActionSupport.execute
    1. webwork.action.ActionSupport.execute(ActionSupport.java:116)
    1 frame