java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/plugins/openid/OpenIdExtension

Jenkins JIRA | Félix Belzunce Arcos | 1 year ago
  1. 0

    If you disable a plugin which has a hard dependency with another plugin, Jenkins doesn't report anything or suggest you to disable/delete the dependencies. At the end, you can end up with stacktraces like: {code:java} WARNING: Failed to scout com.cloudbees.opscenter.client.plugin.ClusterSessionClientExtensionHandler java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/plugins/openid/OpenIdExtension at net.java.sezpoz.IndexItem.element(IndexItem.java:146) at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:666) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:354) at hudson.ExtensionList.load(ExtensionList.java:300) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:253) at hudson.ExtensionList.iterator(ExtensionList.java:143) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:353) at hudson.ExtensionList.load(ExtensionList.java:300) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:253) at hudson.ExtensionList.size(ExtensionList.java:162) at java.util.AbstractCollection.toArray(AbstractCollection.java:136) at java.util.ArrayList.addAll(ArrayList.java:559) at {code} Jenkins should not allow you to disable a plugin when there is such kind of dependency. It should instead maybe give you also the tree of dependencies so you can uninstall all of them if you want. A Warning can be also an option saying that it is not possible to remove/disable because there is a dependency with another plugin. I don't like too much this option because you end up with a lot of manual work.

    Jenkins JIRA | 1 year ago | Félix Belzunce Arcos
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/plugins/openid/OpenIdExtension
  2. 0

    If you disable a plugin which has a hard dependency with another plugin, Jenkins doesn't report anything or suggest you to disable/delete the dependencies. At the end, you can end up with stacktraces like: {code:java} WARNING: Failed to scout com.cloudbees.opscenter.client.plugin.ClusterSessionClientExtensionHandler java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/plugins/openid/OpenIdExtension at net.java.sezpoz.IndexItem.element(IndexItem.java:146) at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:666) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:354) at hudson.ExtensionList.load(ExtensionList.java:300) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:253) at hudson.ExtensionList.iterator(ExtensionList.java:143) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:353) at hudson.ExtensionList.load(ExtensionList.java:300) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:253) at hudson.ExtensionList.size(ExtensionList.java:162) at java.util.AbstractCollection.toArray(AbstractCollection.java:136) at java.util.ArrayList.addAll(ArrayList.java:559) at {code} Jenkins should not allow you to disable a plugin when there is such kind of dependency. It should instead maybe give you also the tree of dependencies so you can uninstall all of them if you want. A Warning can be also an option saying that it is not possible to remove/disable because there is a dependency with another plugin. I don't like too much this option because you end up with a lot of manual work.

    Jenkins JIRA | 1 year ago | Félix Belzunce Arcos
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/plugins/openid/OpenIdExtension
  3. 0

    Jenkins JBehave Plugin Installation failed ClassNotFoundException dtkit.. TestTypeDescriptor

    Stack Overflow | 2 years ago | user3173807
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: com/thalesgroup/dtkit/metrics/hudson/api/descriptor/TestTypeDescriptor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins dev - Request for new p4workflow plugin

    nabble.com | 1 year ago
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/steps/AbstractStepDescriptorImpl
  6. 0

    Request for new p4workflow plugin

    Google Groups | 1 year ago | pallen
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/steps/AbstractStepDescriptorImpl

    1 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.InstantiationException

      java.lang.NoClassDefFoundError: hudson/plugins/openid/OpenIdExtension

      at net.java.sezpoz.IndexItem.element()
    2. SezPoz
      IndexItem.element
      1. net.java.sezpoz.IndexItem.element(IndexItem.java:146)
      1 frame
    3. Hudson
      ExtensionList.size
      1. hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:666)
      2. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:354)
      3. hudson.ExtensionList.load(ExtensionList.java:300)
      4. hudson.ExtensionList.ensureLoaded(ExtensionList.java:253)
      5. hudson.ExtensionList.iterator(ExtensionList.java:143)
      6. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:353)
      7. hudson.ExtensionList.load(ExtensionList.java:300)
      8. hudson.ExtensionList.ensureLoaded(ExtensionList.java:253)
      9. hudson.ExtensionList.size(ExtensionList.java:162)
      9 frames
    4. Java RT
      ArrayList.addAll
      1. java.util.AbstractCollection.toArray(AbstractCollection.java:136)
      2. java.util.ArrayList.addAll(ArrayList.java:559)
      2 frames