java.lang.NoClassDefFoundError: com/atlassian/plugin/webresource/condition/SimpleUrlReadingCondition

Atlassian JIRA | Monique Cardino | 5 months ago
  1. 0

    h4. PROBLEM: - When updating HipChat for JIRA plugin in JIRA 6.2.7, it throws an error: !hipchat_1.png|thumbnail! {noformat} 2016-07-13 23:33:09,391 UpmAsynchronousTaskManager:thread-2 ERROR admin 1412x215x1 ysxboq 10.60.2.234 /rest/plugins/1.0/ [atlassian.plugin.manager.DefaultPluginManager] There was$ java.lang.NoClassDefFoundError: com/atlassian/plugin/webresource/condition/SimpleUrlReadingCondition at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1829) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716) 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(ClassLoader.java:358) at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:634) at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1594) at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887) at com.atlassian.plugin.osgi.util.BundleClassLoaderAccessor.loadClass(BundleClassLoaderAccessor.java:46) at com.atlassian.plugin.osgi.factory.OsgiPluginInstalledHelper.loadClass(OsgiPluginInstalledHelper.java:63) at com.atlassian.plugin.osgi.factory.OsgiPlugin.loadClass(OsgiPlugin.java:204) at com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper.loadCondition(JiraWebFragmentHelper.java:45) at com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor$1.create(AbstractWebFragmentModuleDescriptor.java:169) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditionImplementation(ConditionElementParser.java:86) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditionImplementation(ConditionElementParser.java:29) at com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser.makeCondition(AbstractConditionElementParser.java:116) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeCondition(ConditionElementParser.java:73) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeCondition(ConditionElementParser.java:29) at com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser.makeConditions(AbstractConditionElementParser.java:100) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditions(ConditionElementParser.java:65) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditions(ConditionElementParser.java:29) at com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser.makeConditions(AbstractConditionElementParser.java:57) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditions(ConditionElementParser.java:57) at com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor.makeConditions(AbstractWebFragmentModuleDescriptor.java:72) at com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor.enabled(AbstractWebFragmentModuleDescriptor.java:128) at com.atlassian.plugin.web.descriptors.DefaultWebItemModuleDescriptor.enabled(DefaultWebItemModuleDescriptor.java:72) ... Caused by: java.lang.ClassNotFoundException: com.atlassian.plugin.webresource.condition.SimpleUrlReadingCondition at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672) at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99) at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345) 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(ClassLoader.java:358) {noformat} According to [Version History|https://marketplace.atlassian.com/plugins/com.atlassian.labs.hipchat.hipchat-for-jira-plugin/versions], HipChat 7.8.1 is still supported in at least JIRA 6.2.5. h4. STEPS TO REPRODUCE: - Go to Manage Add-ons - Update HipChat for JIRA plugin (i) Cannot reproduce in JIRA 7.1.8 h4. EXPECTED RESULT: HipChat will be updated with no issue as it is still supported in JIRA 6.2.7. h4. ACTUAL RESULT: - HipChat is updated to 7.8.1 but disabled in Manage add ons page. Enabling it shows the error again !hipchat_2.png|thumbnail!

    Atlassian JIRA | 5 months ago | Anna Cardino
    java.lang.NoClassDefFoundError: com/atlassian/plugin/webresource/condition/SimpleUrlReadingCondition
  2. 0

    h4. PROBLEM: - When updating HipChat for JIRA plugin in JIRA 6.2.7, it throws an error: !hipchat_1.png|thumbnail! {noformat} 2016-07-13 23:33:09,391 UpmAsynchronousTaskManager:thread-2 ERROR admin 1412x215x1 ysxboq 10.60.2.234 /rest/plugins/1.0/ [atlassian.plugin.manager.DefaultPluginManager] There was$ java.lang.NoClassDefFoundError: com/atlassian/plugin/webresource/condition/SimpleUrlReadingCondition at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1829) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716) 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(ClassLoader.java:358) at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:634) at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1594) at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887) at com.atlassian.plugin.osgi.util.BundleClassLoaderAccessor.loadClass(BundleClassLoaderAccessor.java:46) at com.atlassian.plugin.osgi.factory.OsgiPluginInstalledHelper.loadClass(OsgiPluginInstalledHelper.java:63) at com.atlassian.plugin.osgi.factory.OsgiPlugin.loadClass(OsgiPlugin.java:204) at com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper.loadCondition(JiraWebFragmentHelper.java:45) at com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor$1.create(AbstractWebFragmentModuleDescriptor.java:169) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditionImplementation(ConditionElementParser.java:86) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditionImplementation(ConditionElementParser.java:29) at com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser.makeCondition(AbstractConditionElementParser.java:116) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeCondition(ConditionElementParser.java:73) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeCondition(ConditionElementParser.java:29) at com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser.makeConditions(AbstractConditionElementParser.java:100) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditions(ConditionElementParser.java:65) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditions(ConditionElementParser.java:29) at com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser.makeConditions(AbstractConditionElementParser.java:57) at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditions(ConditionElementParser.java:57) at com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor.makeConditions(AbstractWebFragmentModuleDescriptor.java:72) at com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor.enabled(AbstractWebFragmentModuleDescriptor.java:128) at com.atlassian.plugin.web.descriptors.DefaultWebItemModuleDescriptor.enabled(DefaultWebItemModuleDescriptor.java:72) ... Caused by: java.lang.ClassNotFoundException: com.atlassian.plugin.webresource.condition.SimpleUrlReadingCondition at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672) at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99) at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345) 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(ClassLoader.java:358) {noformat} According to [Version History|https://marketplace.atlassian.com/plugins/com.atlassian.labs.hipchat.hipchat-for-jira-plugin/versions], HipChat 7.8.1 is still supported in at least JIRA 6.2.5. h4. STEPS TO REPRODUCE: - Go to Manage Add-ons - Update HipChat for JIRA plugin (i) Cannot reproduce in JIRA 7.1.8 h4. EXPECTED RESULT: HipChat will be updated with no issue as it is still supported in JIRA 6.2.7. h4. ACTUAL RESULT: - HipChat is updated to 7.8.1 but disabled in Manage add ons page. Enabling it shows the error again !hipchat_2.png|thumbnail!

    Atlassian JIRA | 5 months ago | Monique Cardino
    java.lang.NoClassDefFoundError: com/atlassian/plugin/webresource/condition/SimpleUrlReadingCondition
  3. 0

    JIRA java.lang.NoClassDefFoundError for AbstractJiraContextProvider

    Stack Overflow | 3 years ago
    java.lang.NoClassDefFoundError: com/atlassian/jira/plugin/webfragment/contextproviders/AbstractJiraContextProvider
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoClassDefFoundError org/w3c/dom/ranges/DocumentRange - Atlassian Documentation

    atlassian.com | 5 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [bundle://85.0:0/META-INF/spring/atlassian-plugins-components.xml]; nested exception is java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange
  6. 0

    JMS J2EE server and Windows 2000

    Oracle Community | 1 decade ago | 843830
    java.lang.NoClassDefFoundError: org/omg/CosNaming/NamingContextOperations

  1. davidvanlaatum 1 times, last 4 months ago
  2. DannyDBag 12 times, last 6 months ago
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    com/atlassian/plugin/webresource/condition/SimpleUrlReadingCondition

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.defineClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    2 frames
  3. Apache Felix Framework
    ModuleImpl$ModuleClassLoader.loadClass
    1. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1829)
    2. org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716)
    3. org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
    4. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)
    4 frames
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    1 frame
  5. Apache Felix Framework
    BundleImpl.loadClass
    1. org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:634)
    2. org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1594)
    3. org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887)
    3 frames
  6. com.atlassian.plugin
    OsgiPlugin.loadClass
    1. com.atlassian.plugin.osgi.util.BundleClassLoaderAccessor.loadClass(BundleClassLoaderAccessor.java:46)
    2. com.atlassian.plugin.osgi.factory.OsgiPluginInstalledHelper.loadClass(OsgiPluginInstalledHelper.java:63)
    3. com.atlassian.plugin.osgi.factory.OsgiPlugin.loadClass(OsgiPlugin.java:204)
    3 frames
  7. com.atlassian.jira
    JiraWebFragmentHelper.loadCondition
    1. com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper.loadCondition(JiraWebFragmentHelper.java:45)
    1 frame
  8. com.atlassian.plugin
    DefaultWebItemModuleDescriptor.enabled
    1. com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor$1.create(AbstractWebFragmentModuleDescriptor.java:169)
    2. com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditionImplementation(ConditionElementParser.java:86)
    3. com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditionImplementation(ConditionElementParser.java:29)
    4. com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser.makeCondition(AbstractConditionElementParser.java:116)
    5. com.atlassian.plugin.web.descriptors.ConditionElementParser.makeCondition(ConditionElementParser.java:73)
    6. com.atlassian.plugin.web.descriptors.ConditionElementParser.makeCondition(ConditionElementParser.java:29)
    7. com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser.makeConditions(AbstractConditionElementParser.java:100)
    8. com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditions(ConditionElementParser.java:65)
    9. com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditions(ConditionElementParser.java:29)
    10. com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser.makeConditions(AbstractConditionElementParser.java:57)
    11. com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditions(ConditionElementParser.java:57)
    12. com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor.makeConditions(AbstractWebFragmentModuleDescriptor.java:72)
    13. com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor.enabled(AbstractWebFragmentModuleDescriptor.java:128)
    14. com.atlassian.plugin.web.descriptors.DefaultWebItemModuleDescriptor.enabled(DefaultWebItemModuleDescriptor.java:72)
    14 frames