Page keeps re-loading when loading a Greenhopper report
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
- Running JIRA EAR/WAR instance
- Users click on a board's Report link, and the page keeps re-loading with no data showing
The following appears in the atlassian-jira.log
:
TP-Processor31 ERROR username 950x612343x1 148wqvs 10.20.254.46 /rest/greenhopper/1.0/rapid/charts/scopechangeburndownchart.json [web.rapid.chart.RapidChartResource] Unable to complete GreenHopper REST method
java.lang.NullPointerException
at com.atlassian.greenhopper.service.charts.IssueStatusHistoryServiceImpl.collectStatusHistory(IssueStatusHistoryServiceImpl.java:162)
at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeModelData(ScopeChangeBurndownModelFactory.java:235)
at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeBurndownModel(ScopeChangeBurndownModelFactory.java:129)
at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeBurndownModel(ScopeChangeBurndownModelFactory.java:106)
at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$3.call(RapidChartResource.java:136)
at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$3.call(RapidChartResource.java:127)
at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48)
at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:48)
Cause
The Tomcat work directory is corrupted and should be cleared. Once the /work directory for JIRA has been cleared, Tomcat will re-generate the files upon startup.
Resolution
Some cases were fixed by performing a "FULL Reindex", hence before executing the below steps, a FULL Reindex should be performed.
- Shutdown Tomcat
- Clear <tomcat>/work/jira directory
- Start Tomcat