-
Bug
-
Resolution: Fixed
-
Highest
-
4.11.0
-
Severity 2 - Major
-
Issue
A NoClassDefFoundError is being thrown when a plugin tries to register a license listener using the PluginLicenseEventRegistry.
java.lang.NoClassDefFoundError: com/atlassian/plugin/eventlistener/descriptors/EventListenerModuleDescriptor
Cause
In Bitbucket Server 4.11.0, the atlassian-event version was bumped from 3.0.0 to 3.1.3. Version 3.1.3 requires EventListenerModuleDescriptor, which is exported in atlassian-plugins-core from version 4.4.0 onward. However, EventListenerModuleDescriptor is not exported in atlassian-plugins-core version 4.2.4, which is being used by Bitbucket Server 4.11.0.
- is caused by
-
VPP-243 Failed to load
[BSERV-9327] NoClassDefFoundError from EventListenerModuleDescriptor
Workflow | Original: Stash Workflow - Restricted [ 1622705 ] | New: JAC Bug Workflow v3 [ 3137332 ] |
Symptom Severity | Original: Major [ 14431 ] | New: Severity 2 - Major [ 15831 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Fix Version/s | New: 4.11.1 [ 64790 ] |
Regular Expression | New: java\.lang\.NoClassDefFoundError\: com\/atlassian\/plugin\/eventlistener\/descriptors\/EventListenerModuleDescriptor |
Assignee | New: Stefan [ spetrucev ] |
Remote Link | New: This issue links to "VPP-243 (JDOG - JIRA Team Dogfood)" [ 227033 ] |
Description |
Original:
h3. Issue
A {{NoClassDefFoundError}} is being thrown when a plugin tries to register a license listener using the {{PluginLicenseEventRegistry}}. {code:java}java.lang.NoClassDefFoundError: com/atlassian/plugin/eventlistener/descriptors/EventListenerModuleDescriptor {code} h3. Cause In Bitbucket Server {{4.11.0}}, the {{atlassian-event}} version was bumped from {{3.0.0}} to {{3.1.3}}. Version {{3.1.3}} requires {{EventListenerModuleDescriptor}}, which is exported in {{atlassian-plugins-core}} from version {{4.4.0}} onward. However, {{EventListenerModuleDescriptor}} is not exported in {{atlassian-plugins-core}} version {{4.2.4}}, which is being used by Bitbucket Server {{4.11.0}}. h3. Fixes Either: * Downgrade {{atlassian-events}} to a version that doesn't need {{EventListenerModuleDescriptor}} * Upgrade plugin framework (to a version which includes {{EventListenerModuleDescriptor}}) * Add a dependency on {{atlassian-plugins-eventlistener}} |
New:
h3. Issue
A {{NoClassDefFoundError}} is being thrown when a plugin tries to register a license listener using the {{PluginLicenseEventRegistry}}. {code:java}java.lang.NoClassDefFoundError: com/atlassian/plugin/eventlistener/descriptors/EventListenerModuleDescriptor {code} h3. Cause In Bitbucket Server {{4.11.0}}, the {{atlassian-event}} version was bumped from {{3.0.0}} to {{3.1.3}}. Version {{3.1.3}} requires {{EventListenerModuleDescriptor}}, which is exported in {{atlassian-plugins-core}} from version {{4.4.0}} onward. However, {{EventListenerModuleDescriptor}} is not exported in {{atlassian-plugins-core}} version {{4.2.4}}, which is being used by Bitbucket Server {{4.11.0}}. |
Description |
Original:
h3. Issue
A {{NoClassDefFoundError}} is being thrown when a plugin tries to register a license listener using the {{PluginLicenseEventRegistry}}. {code:java}java.lang.NoClassDefFoundError: com/atlassian/plugin/eventlistener/descriptors/EventListenerModuleDescriptor {code} h3. Cause In Bitbucket Server {{4.11.0}}, the {{atlassian-event}} version was bumped from {{3.0.0}} to {{3.1.3}}. Version {{3.1.3}} requires {{EventListenerModuleDescriptor}}, which is exported in {{atlassian-plugins-core}} from version {{4.4.0}} onward. However, {{EventListenerModuleDescriptor}} is not exported in {{atlassian-plugins-core}} version {{4.2.4}}, which is being used by Bitbucket Server {{4.11.0}}. |
New:
h3. Issue
A {{NoClassDefFoundError}} is being thrown when a plugin tries to register a license listener using the {{PluginLicenseEventRegistry}}. {code:java}java.lang.NoClassDefFoundError: com/atlassian/plugin/eventlistener/descriptors/EventListenerModuleDescriptor {code} h3. Cause In Bitbucket Server {{4.11.0}}, the {{atlassian-event}} version was bumped from {{3.0.0}} to {{3.1.3}}. Version {{3.1.3}} requires {{EventListenerModuleDescriptor}}, which is exported in {{atlassian-plugins-core}} from version {{4.4.0}} onward. However, {{EventListenerModuleDescriptor}} is not exported in {{atlassian-plugins-core}} version {{4.2.4}}, which is being used by Bitbucket Server {{4.11.0}}. h3. Fixes Either: * Downgrade {{atlassian-events}} to a version that doesn't need {{EventListenerModuleDescriptor}} * Upgrade plugin framework (to a version which includes {{EventListenerModuleDescriptor}}) * Add a dependency on {{atlassian-plugins-eventlistener}} |
+1, this is preventing the compatibility update for ScriptRunner for BB too.