Get NPE error message when access to Project Status Summary
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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
After upgrade JIRA prior 4.2.x to 6.2.x and access to Project Status Summary. The following NullPointerException
exception will appear in the atlassian-jira.log
:
1
2
3
2014-05-12 16:29:45,094 http-bio-8080-exec-8 ERROR xxxxx 989x7099x1 xxxx xx.xx.xx.xx /browse/TEST/ [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: java.lang.NullPointerException
java.lang.NullPointerException
at com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.StatusSummaryFragment$StatusUrlUtil.getDomainClause(StatusSummaryFragment.java:146)
Example of screenshot:

Cause
The cause is still unknown and the problem could be happen after upgrading JIRA.
Workaround
Run Integrity Checker to fix any error happens. If this not working, please refer to resolution below.
Resolution
Export out the JIRA XML backup.
Delete the current database schema and re-create a new one.
Configure JIRA DB and point to the correct database schema using JIRA Configuration Tool
Start JIRA
Import the JIRA XML backup again.
Run Integrity Checker for the second time.
Was this helpful?