java.io.IOException: Failed to dynamically deploy this plugin

Jenkins JIRA | René de Groot | 1 year ago
  1. 0

    The marked as optional dependency seems to be a required dependency. Install fails without the Maven plugin installed but succeeds after installation. From the updateCenter/ page: Android Lint Plugin Failure - java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1322) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1121) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Failed to install android-lint plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:473) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1318) ... 5 more Caused by: java.io.IOException: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:439) at hudson.PluginManager.dynamicLoad(PluginManager.java:464) ... 6 more Caused by: java.lang.NoClassDefFoundError: hudson/maven/AggregatableAction at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:796) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44) at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86) at hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:674) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at jenkins.util.AntClassLoader.findBaseClass(AntClassLoader.java:1397) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1074) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:796) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.jenkinsci.plugins.android_lint.LintPlugin.start(LintPlugin.java:13) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:447) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:436) ... 7 more Caused by: java.lang.ClassNotFoundException: hudson.maven.AggregatableAction at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 37 more Maven Integration plugin Success Android Lint Plugin Success

    Jenkins JIRA | 1 year ago | René de Groot
    java.io.IOException: Failed to dynamically deploy this plugin
  2. 0

    The marked as optional dependency seems to be a required dependency. Install fails without the Maven plugin installed but succeeds after installation. From the updateCenter/ page: Android Lint Plugin Failure - java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1322) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1121) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Failed to install android-lint plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:473) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1318) ... 5 more Caused by: java.io.IOException: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:439) at hudson.PluginManager.dynamicLoad(PluginManager.java:464) ... 6 more Caused by: java.lang.NoClassDefFoundError: hudson/maven/AggregatableAction at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:796) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44) at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86) at hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:674) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at jenkins.util.AntClassLoader.findBaseClass(AntClassLoader.java:1397) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1074) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:796) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.jenkinsci.plugins.android_lint.LintPlugin.start(LintPlugin.java:13) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:447) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:436) ... 7 more Caused by: java.lang.ClassNotFoundException: hudson.maven.AggregatableAction at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 37 more Maven Integration plugin Success Android Lint Plugin Success

    Jenkins JIRA | 1 year ago | René de Groot
    java.io.IOException: Failed to dynamically deploy this plugin
  3. 0

    Jenkins build failing with java.lang.NoClassDefFoundError: jenkins/tasks/SimpleBuildStep

    Stack Overflow | 2 years ago | Rajesh Shanmugam
    java.lang.NoClassDefFoundError: jenkins/tasks/SimpleBuildStep
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins build failing with java.lang.NoClassDefFoundError: jenkins/tasks/SimpleBuildStep

    tagwith.com | 1 year ago
    java.lang.NoClassDefFoundError: jenkins/tasks/SimpleBuildStep
  6. 0

    Jenkins build failing with java.lang.NoClassDefFoundError: jenkins/tasks/SimpleBuildStep

    programwith.com | 1 year ago
    java.lang.NoClassDefFoundError: jenkins/tasks/SimpleBuildStep

  1. davidvanlaatum 1 times, last 4 months ago
  2. poroszd 1 times, last 1 month ago
22 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.ClassNotFoundException

    hudson.maven.AggregatableAction

    at jenkins.util.AntClassLoader.findClassInComponents()
  2. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375)
    2. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
    3. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
    3 frames
  3. Java RT
    ClassLoader.defineClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    2. java.lang.ClassLoader.defineClass1(Native Method)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    3 frames
  4. jenkins.util
    AntClassLoader.defineClassFromData
    1. jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138)
    1 frame
  5. Hudson
    ClassicPluginStrategy$AntClassLoader2.defineClassFromData
    1. hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:796)
    1 frame
  6. jenkins.util
    AntClassLoader.findClass
    1. jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309)
    2. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
    3. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    3 frames
  8. jenkins
    ClassLoaderReflectionToolkit._findClass
    1. jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44)
    2. jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86)
    2 frames
  9. Hudson
    ClassicPluginStrategy$DependencyClassLoader.findClass
    1. hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:674)
    1 frame
  10. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    2 frames
  11. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.findBaseClass(AntClassLoader.java:1397)
    2. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1074)
    2 frames
  12. Java RT
    ClassLoader.defineClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    2. java.lang.ClassLoader.defineClass1(Native Method)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    3 frames
  13. jenkins.util
    AntClassLoader.defineClassFromData
    1. jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138)
    1 frame
  14. Hudson
    ClassicPluginStrategy$AntClassLoader2.defineClassFromData
    1. hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:796)
    1 frame
  15. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309)
    2. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
    3. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
    4. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
    4 frames
  16. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    1 frame
  17. org.jenkinsci.plugins
    LintPlugin.start
    1. org.jenkinsci.plugins.android_lint.LintPlugin.start(LintPlugin.java:13)
    1 frame
  18. Hudson
    UpdateCenter$DownloadJob.run
    1. hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:447)
    2. hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:436)
    3. hudson.PluginManager.dynamicLoad(PluginManager.java:464)
    4. hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1318)
    5. hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1121)
    5 frames
  19. Java RT
    FutureTask.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2 frames
  20. Hudson :: Remoting Layer
    AtmostOneThreadExecutor$Worker.run
    1. hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
    1 frame
  21. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame