JIRA throws java.lang.NoClassDefFoundError error when assigning/deleting issues
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
Problem
When trying to delete an issue, the following error is thrown
1
2
3
4
5
java.lang.NoClassDefFoundError: com/atlassian/jira/issue/Issue
at onepoint.project.team.plugins.jira.OpHandler.sendIssuDeleted(OpHandler.java:272)
at onepoint.project.team.plugins.jira.OpHandler.issueDeleted(OpHandler.java:148)
at com.atlassian.jira.event.issue.AbstractIssueEventListener.workflowEvent(AbstractIssueEventListener.java:181)
at com.atlassian.jira.event.issue.IssueEventListenerHandler$IssueEventInvoker.invoke(IssueEventListenerHandler.java:52)
When trying to assign an issue, the following error is thrown
1
2
3
4
5
java.lang.NoClassDefFoundError: com/atlassian/jira/issue/Issue
at onepoint.project.team.plugins.jira.OpHandler.sendIssueUpdated(OpHandler.java:231)
at onepoint.project.team.plugins.jira.OpHandler.issueAssigned(OpHandler.java:148)
at com.atlassian.jira.event.issue.AbstractIssueEventListener.workflowEvent(AbstractIssueEventListener.java:153)
at com.atlassian.jira.event.issue.IssueEventListenerHandler$IssueEventInvoker.invoke(IssueEventListenerHandler.java:52)
Diagnosis
Diagnostic Steps
Multi-Project Management for JIRA was installed in the instance at one point
The add-on could be disabled now but still running into the problem
Cause
Problem is probably related to the caches of the JIRA instance since the stack trace is from the add-on, but disabling/uninstalling the add-on doesn't help
Solution
Resolution
Force re-build the content of the Tomcat's work directory
Shutdown JIRA
Remove the contents of $JIRA-INSTALL/work directory
Do not delete the directory itself. Only delete the contents
Restart JIRA.
Was this helpful?