Unable to Create Issue After JIRA Upgrade due to Obsolete Plugin's jar
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
Symptoms
After performing JIRA upgrade, users are unable to create new issues. The Dialog-box appears, but when user press "Create" nothing happens.
The following appears in the atlassian-jira.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
2013-09-09 11:38:39,396 http-bio-80-exec-21 ERROR [500ErrorPage.jsp] Exception caught in 500 page com/opensymphony/user/EntityNotFoundException
java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException
at com.pyxis.greenhopper.jira.listeners.GHSyncherListener.canPerform(GHSyncherListener.java:26)
at com.pyxis.greenhopper.jira.customfields.GreenHopperCTFIndexer.issueCreated(GreenHopperCTFIndexer.java:48)
at com.atlassian.jira.event.issue.AbstractIssueEventListener.workflowEvent(AbstractIssueEventListener.java:100)
at com.atlassian.jira.event.issue.IssueEventListenerHandler$IssueEventInvoker.invoke(IssueEventListenerHandler.java:51)
...
Caused by: java.lang.ClassNotFoundException: com.opensymphony.user.EntityNotFoundException
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 213 more
Diagnosis
Normally, this scenario happens when the user is upgrading JIRA by pointing to the existing $JIRA-HOME
directory. The same behavior is not reproducible when JIRA is running without any third party plugins.
To verify this, please refer to the steps below:
Shut down JIRA
Rename the
$JIRA-HOME/plugins/installed-plugins
directory to something else, the purpose is to JIRA to run without any plugin.Recreate the
$JIRA-HOME/plugins/installed-plugins
and make sure it is empty.Restart JIRA and reproduce the behavior.
If users are allowed to create issues, it is likely that there is an incompatible plugin's JAR file under the $JIRA-HOME/plugins/installed-plugins
directory. Identify the offending plugin's jar by adding the individual plugin's jar and restart JIRA.
Cause
In this case, the JIRA Agile (formerly Greenhopper) plugin's JAR file still exists under the $JIRA-HOME/plugins/installed-plugins
directory.
Solution
Resolution
Remove the offending plugin's jar and restart JIRA
Was this helpful?