'Cannot get schemes for null project' Error During Integrity Check

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

Running the Integrity Checker results in the the following error :

1 2 3 4 5 6 2010-09-11 20:55:28,627 TP-Processor19 ERROR ostephen 75207x652x1 1bq0n9n http://jira/secure/admin/jira/IntegrityChecker.jspa [webwork.dispatcher.ServletDispatcher] Could not execute action com.atlassian.jira.appconsistency.integrity.exception.IntegrityException: Error occurred while performing check. ........... Caused by: java.lang.IllegalArgumentException: Cannot get schemes for null project at com.atlassian.jira.scheme.AbstractSchemeManager.getSchemes(AbstractSchemeManager.java:187) at com.atlassian.jira.workflow.DefaultWorkflowSchemeManager.getWorkflowScheme(DefaultWorkflowSchemeManager.java:107)

Cause

The error occurs because the Integrity Checker is trying to reference an object that has already been deleted.

Resolution

The following steps should resolve the problem:

  1. Go to the Integrity Checker and check the tick box for Check Issue Relations. Then fix the reported errors.

  2. Run a full Integrity Checker.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.