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

Internal Server Error when accessing Plan Mode with Epics enabled

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Start with an instance which has GreenHopper installed and the Epic issue type created by GreenHopper
      2. Delete all issues of type Epic
      3. Delete Epic Issue Type via JIRA admin
      4. Enable Epics Support labs feature
      5. Go to an Agile Board and go to Plan Mode

      You will see a red error message "Internal Server Error" and no Plan Mode information will be displayed. In the console and server logs you will find this stack trace:

      [INFO] [talledLocalContainer] 2012-11-02 15:29:30,144 http-2990-6 ERROR admin 929x3476x1 17uppd5 0:0:0:0:0:0:0:1%0 /rest/greenhopper/1.0/xboard/plan/backlog/data.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
      [INFO] [talledLocalContainer] java.lang.NullPointerException
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.service.rapid.RapidViewClauseServiceImpl.getPlanModeClause(RapidViewClauseServiceImpl.java:108)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.service.rapid.RapidViewClauseServiceImpl.getClauseForBuilder(RapidViewClauseServiceImpl.java:70)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.service.rapid.RapidViewQueryServiceImpl.getBacklogQuery(RapidViewQueryServiceImpl.java:189)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.service.rapid.RapidViewQueryServiceImpl.getBacklogQuery(RapidViewQueryServiceImpl.java:167)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.web.rapid.list.RapidIssueEntryQueryServiceImpl.collectBacklogIssues(RapidIssueEntryQueryServiceImpl.java:165)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.loadBacklogData(PlanningModeResource.java:220)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.access$300(PlanningModeResource.java:59)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource$1.call(PlanningModeResource.java:130)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource$1.call(PlanningModeResource.java:115)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:48)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.web.rapid.plan.PlanningModeResource.getBacklogData(PlanningModeResource.java:114)
      

      Workaround

      Refer to the following KB article to fix the Epic issue type association in database:

      Unable to access Planning mode due to at com.atlassian.greenhopper.service.rapid.RapidViewClauseServiceImpl.getPlanModeClause

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mtokar Michael Tokar
              Votes:
              5 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: