Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-9171

A timed out session causes stacktraces in half-completed actions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.12
    • None
    • None
    • None

      For instance, if I:

      1. Log in without checking "Remember me"
      2. Resolve an issue, and start typing a long comment
      3. Leave for lunch
      4. Return, finish my comment and submit the page

      JIRA dies with a stacktrace:

       Cause:
      com.atlassian.jira.exception.IssuePermissionException: User 'null' does not have permission to see issue 'TP-1'
      
      Stack Trace: [hide]
      
      com.atlassian.jira.exception.IssuePermissionException: User 'null' does not have permission to see issue 'TP-1'
      	at com.atlassian.jira.web.action.issue.AbstractIssueSelectAction.getIssue(AbstractIssueSelectAction.java:77)
      	at com.atlassian.jira.web.action.issue.AbstractIssueSelectAction.getIssueObject(AbstractIssueSelectAction.java:325)
      	at com.atlassian.jira.web.action.issue.CommentAssignIssue.getWorkflowTransitionUtil(CommentAssignIssue.java:46)
      	at com.atlassian.jira.web.action.issue.CommentAssignIssue.getFieldScreenRenderer(CommentAssignIssue.java:75)
      	at com.atlassian.jira.web.action.issue.CommentAssignIssue.doValidation(CommentAssignIssue.java:130)
      	at webwork.action.ActionSupport.validate(ActionSupport.java:373)
      	at webwork.action.ActionSupport.execute(ActionSupport.java:150)
      	at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:58)
      	at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
      	at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:178)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      

      ..which isn't good (and I've just lost my long comment!).

              Unassigned Unassigned
              7ee5c68a815f Jeff Turner
              Votes:
              8 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: