After upgrading Jira from 8 to 9 reindex fails with NoSuchMethodError: com.atlassian.jira.issue.customfields.searchers.UserPickerSearcher

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

Summary

After a major version upgrade from Jira 8 to Jira 9 reindexing is extremely slow and produces the following errors in the atlassian-jira.log file:

1 2 3 4 /secure/admin/IndexReIndex!reindex.jspa [c.a.jira.index.AccumulatingResultBuilder] com.atlassian.cache.CacheException: com.atlassian.cache.CacheException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.jira.toolkit.customfield.searchers.UserPickerSearcher': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.toolkit.customfield.searchers.UserPickerSearcher]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.issue.customfields.searchers.UserPickerSearcher.<init>

The reindexing eventually fails with the following error:

1 /secure/admin/IndexReIndex!reindex.jspa [c.a.jira.task.TaskManagerImpl] Task 'Jira Indexing' failed. com.atlassian.jira.index.IndexingFailureException: Indexing completed with 1 errors

Environment

Jira 9.x

Diagnosis

Verify that the NoSuchMethodError references the "com.atlassian.jira.toolkit.customfield.searchers.UserPickerSearcher" class.

Cause

This particular error is referring to the Toolkit Plugin for Jira, and is occurring because a version of the Toolkit Plugin for Jira is installed that is not compatible with Jira 9.

Referencing the Toolkit plugin's version history we can see that version 1.0.0 of the plugin was released specifically for Jira 9 compatibility.

Solution

  1. Ensure that a compatible version of the Toolkit Plugin for Jira is installed. Jira 9 requires version 1.0 or later of the Toolkit Plugin for Jira.

  2. If not in use, the Toolkit Plugin for Jira can be uninstalled. (Uninstalling apps)

  3. Once the plugin has been upgraded to a version compatible with Jira 9 or uninstalled the reindex should proceed and complete normally.

Updated on February 25, 2025

Still need help?

The Atlassian Community is here for you.