NullPointerException: issue links to a non-existing issue

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.

Platform Notice: Server, Data Center, and Cloud By Request - This article was written for the Atlassian server and data center platforms but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.


  • NullPointerException thrown in the Issue Screen when creating sub-tasks e.g. 
  • A stacktrace similar to the following may also be thrown in the UI when trying to delete an issue

    	at com.atlassian.jira.issue.IssueFactory$1.transform(
    	at org.apache.commons.collections.CollectionUtils.collect(
    	at org.apache.commons.collections.CollectionUtils.collect(
    	at org.apache.commons.collections.CollectionUtils.collect(
    	at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexIssueObjects(
    	at com.atlassian.jira.issue.index.DefaultIndexManager.reIndex(
    	at com.atlassian.jira.issue.index.DefaultIndexManager.reIndex(
    	at sun.reflect.GeneratedMethodAccessor1258.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(
    	at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(
    	at com.sun.proxy.$Proxy131.reIndex(Unknown Source)
  • The following appears in the atlassian-jira.log

2015-08-15 21:37:52,193 http-bio-9002-exec-21 WARN xxx 1297x29965x1 yyy, /browse/BGBD-65 [] Issue [id=29010] links to a non-existing issue!
2015-08-15 21:38:12,302 http-bio-9002-exec-42 ERROR xxx 1298x30005x1 yyy, /secure/QuickCreateIssue.jspa [jira.quickedit.action.QuickCreateIssue] java.lang.NullPointerException


This is a data integrity issue. There may be some issue links pointing to non-existent JIRA issue IDs in the database


This can be fixed by JIRA's Database Integrity Checker

  • Run the integrity checker: navigate through Administration Menu > System > Troubleshooting & Support > Integrity Checker
  • Ensure that all options under 'Check Issue Relations' are selected, and then click the 'check' button.
  • click to Fix all errors found
Last modified on Nov 2, 2018

Was this helpful?

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