Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-11487

Internal Server Error on Agile Boards

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Software Server. Using JIRA Software Cloud? See the corresponding bug report.

      The configuration pages can't be accessed. The big error modal window pops up and you get an "Internal Server Error"

      Here is what I see when I use firebug:

      Got an error response with text that we don't know how to parse: {"status-code":500,"stack-trace":"java.lang.NullPointerException\n\tat com.atlassian.greenhopper.web.rapid.view.ColumnEditRequest$StatusDetails.from(ColumnEditRequest.java:145)\n\tat com.atlassian.greenhopper.web.rapid.view.ColumnEditHelper.asStatusEntry(ColumnEditHelper.java:330)\n\tat com.atlassian.greenhopper.web.rapid.view.ColumnEditHelper.buildColumnStatusesModel(ColumnEditHelper.java:313)\n\tat com.atlassian.greenhopper.web.rapid.view.ColumnEditHelper.buildColumnEditModel(ColumnEditHelper.java:185)\n\tat com.atlassian.greenhopper.web.rapid.view.RapidViewEditHelper.getEditModel(RapidViewEditHelper.java:139)\n\tat com.atlassian.greenhopper.web.rapid.view.RapidViewEditResource$7.call(RapidViewEditResource.java:191)\n\tat 
      

      Cause:

      A status label was renamed. In my example, from To Do to TO DO. When you try to access the board, it sees that To Do does not exist, so it attempts to create it again, since it requires it. But unfortunately, since TO DO is essentially the same, it fails. This is a problem with case sensitivity. Note: I think this only happens if you edit a status that is already there by default to use a different case.

      To Replicate

      1. Go to secure/admin/ViewStatuses.jspa View Statuses, edit a default status to be in all caps for the name (e.g. To Do > TO DO)
      2. Create Project > Agile Software Development - Scrum. Proceed through steps to create.
      3. Attempt to create an issue in new project, Error: Could not find workflow status for issue [ ]
      4. View Issues Panel in Overview:
        An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getUrl' in class com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.StatusSummaryFragment$StatusUrlUtil threw exception java.lang.NullPointerException at legacy/templates/projectpanels/fragments/issues/statussummary.vm[line 18, column 50] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at ...
      5. Go to Agile Simplified Workflow Scheme for Project and try to click View as text next to Agile Simplified Workflow for Project, and you will get another error, The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation. You will still be able to go directly to the workflow from the main Administration screen and view as text.

      The Workaround

      This issue can be fixed with a manual database change. If you're running into it in a Cloud instance, please contact Atlassian Support. Alternatively for server please refer to our Internal Server Error when accessing Rapid board KB article.

      Attachments

        1. app.png
          app.png
          279 kB
        2. console.png
          console.png
          773 kB
        3. error_500.log
          23 kB
        4. JIRA_Agile_Version.png
          JIRA_Agile_Version.png
          68 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jrobison1 JordanA
              Votes:
              5 Vote for this issue
              Watchers:
              32 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: