Get NPE error message when access to Project Status Summary

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:

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

  1. Export out the JIRA XML backup.
  2. Delete the current database schema and re-create a new one.
  3. Configure JIRA DB and point to the correct database schema using JIRA Configuration Tool
  4. Start JIRA
  5. Import the JIRA XML backup again.
  6. Run Integrity Checker for the second time.
Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.