JIRA 4.4.x reindex fail and GreenHopper not working

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

GreenHopper is not working and JIRA 4.4.x reindex fail with the following error in the atlassian-jira.log:

1 2 3 4 5 6 7 8 9 10 11 12 13 java.lang.NoClassDefFoundError: org/apache/lucene/document/Field$Index at com.atlassian.greenhopper.customfield.rank.RankCustomFieldIndexer.addDocumentFieldsSearchable(RankCustomFieldIndexer.java:25) at com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer.addIndex(AbstractCustomFieldIndexer.java:44) at com.atlassian.jira.issue.index.IssueDocument.getDocument(IssueDocument.java:40) at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:15) at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:11) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:512) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:509) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:315) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy.get(DefaultIssueIndexer.java:508) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy.get(DefaultIssueIndexer.java:496) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IndexIssuesOperation.perform(DefaultIssueIndexer.java:371) at com.atlassian.jira.issue.index.DefaultIssueIndexer$4$1.get(DefaultIssueIndexer.java:255)

Cause

The bundled GreenHopper clashes with the new installed GreenHopper plugin

Resolution

  1. Shutdown JIRA

  2. Delete the bundled plugin jira-greenhopper-plugin-<version>-disabled.jar in <jira-install>\atlassian-jira\WEB-INF\classes\atlassian-bundled-plugins.zip.

  3. Delete the following directories:

    • <jira-home>\home\plugins\.bundled-plugins

    • <jira-home>\home\plugins\.osgi-plugins

  4. Restart JIRA

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.