java.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/flow/FlowExecution

Jenkins JIRA | John Ament | 9 months ago
  1. 0

    I received this stracktrace after installing Pipeline. I am on Jenkins 1.650 From log: {code} Mar 06, 2016 11:14:41 PM org.jvnet.hudson.annotation_indexer.Index$2$1 fetch WARNING: Failed to load org.jenkinsci.plugins.workflow.cps.CpsFlowExecution java.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/flow/FlowExecution at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at sun.reflect.GeneratedMethodAccessor5.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.PluginManager$UberClassLoader.findClass(PluginManager.java:1209) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.jvnet.hudson.annotation_indexer.Index$2$1.fetch(Index.java:98) at org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext(Index.java:72) at org.jvnet.hudson.annotation_indexer.SubtypeIterator.fetch(SubtypeIterator.java:18) at org.jvnet.hudson.annotation_indexer.SubtypeIterator.hasNext(SubtypeIterator.java:28) at hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:56) at hudson.init.TerminatorFinder.discoverTasks(TerminatorFinder.java:8) at hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:32) at org.jvnet.hudson.reactor.Reactor.<init>(Reactor.java:151) at org.jvnet.hudson.reactor.Reactor.<init>(Reactor.java:156) at jenkins.model.Jenkins.cleanUp(Jenkins.java:2818) at hudson.WebAppMain$3.run(WebAppMain.java:241) Caused by: java.lang.ClassNotFoundException: org.jenkinsci.plugins.workflow.flow.FlowExecution at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 26 more {code} In the browser: {code} hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.WebAppMain$3.run(WebAppMain.java:237) Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:935) at jenkins.model.Jenkins.<init>(Jenkins.java:816) at hudson.model.Hudson.<init>(Hudson.java:83) at hudson.model.Hudson.<init>(Hudson.java:79) at hudson.WebAppMain$3.run(WebAppMain.java:225) Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:924) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106) ... 8 more Caused by: java.lang.NullPointerException at hudson.plugins.git.GitSCM.onLoaded(GitSCM.java:1659) ... 13 more {code}

    Jenkins JIRA | 9 months ago | John Ament
    java.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/flow/FlowExecution
  2. 0

    I received this stracktrace after installing Pipeline. I am on Jenkins 1.650 From log: {code} Mar 06, 2016 11:14:41 PM org.jvnet.hudson.annotation_indexer.Index$2$1 fetch WARNING: Failed to load org.jenkinsci.plugins.workflow.cps.CpsFlowExecution java.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/flow/FlowExecution at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at sun.reflect.GeneratedMethodAccessor5.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.PluginManager$UberClassLoader.findClass(PluginManager.java:1209) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.jvnet.hudson.annotation_indexer.Index$2$1.fetch(Index.java:98) at org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext(Index.java:72) at org.jvnet.hudson.annotation_indexer.SubtypeIterator.fetch(SubtypeIterator.java:18) at org.jvnet.hudson.annotation_indexer.SubtypeIterator.hasNext(SubtypeIterator.java:28) at hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:56) at hudson.init.TerminatorFinder.discoverTasks(TerminatorFinder.java:8) at hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:32) at org.jvnet.hudson.reactor.Reactor.<init>(Reactor.java:151) at org.jvnet.hudson.reactor.Reactor.<init>(Reactor.java:156) at jenkins.model.Jenkins.cleanUp(Jenkins.java:2818) at hudson.WebAppMain$3.run(WebAppMain.java:241) Caused by: java.lang.ClassNotFoundException: org.jenkinsci.plugins.workflow.flow.FlowExecution at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 26 more {code} In the browser: {code} hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.WebAppMain$3.run(WebAppMain.java:237) Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:935) at jenkins.model.Jenkins.<init>(Jenkins.java:816) at hudson.model.Hudson.<init>(Hudson.java:83) at hudson.model.Hudson.<init>(Hudson.java:79) at hudson.WebAppMain$3.run(WebAppMain.java:225) Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:924) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106) ... 8 more Caused by: java.lang.NullPointerException at hudson.plugins.git.GitSCM.onLoaded(GitSCM.java:1659) ... 13 more {code}

    Jenkins JIRA | 9 months ago | John Ament
    java.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/flow/FlowExecution
  3. 0

    Jenkins throws error while loading - Failed to load RunConditionTimeoutStrategy

    Google Groups | 2 years ago | Maneesh M P
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/plugins/build_timeout/BuildTimeOutStrategy
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-22363] Upgrade of copy-project-link from v1.1 to v1.2 fails - Jenkins JIRA

    jenkins-ci.org | 8 months ago
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: com/cloudbees/hudson/plugins/folder/TransientFolderActionFactory
  6. 0

    Jenkins issues - [JIRA] (JENKINS-15792) jnidispatch (/com/sun/jna/linux-ppc64/libjnidispatch.so) not found in resource path

    nabble.com | 6 months ago
    java.lang.InstantiationException: java.lang.NoClassDefFoundError: hudson/model/Run$StatusSummarizer

  1. davidvanlaatum 1 times, last 5 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

    org.jenkinsci.plugins.workflow.flow.FlowExecution

    at jenkins.util.AntClassLoader.findClassInComponents()
  2. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
    2. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
    3. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
    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:1139)
    1 frame
  5. Hudson
    ClassicPluginStrategy$AntClassLoader2.defineClassFromData
    1. hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802)
    1 frame
  6. jenkins.util
    AntClassLoader.findClass
    1. jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
    2. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
    3. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor5.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
    PluginManager$UberClassLoader.findClass
    1. hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:1209)
    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. annotation-indexer
    SubtypeIterator.hasNext
    1. org.jvnet.hudson.annotation_indexer.Index$2$1.fetch(Index.java:98)
    2. org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext(Index.java:72)
    3. org.jvnet.hudson.annotation_indexer.SubtypeIterator.fetch(SubtypeIterator.java:18)
    4. org.jvnet.hudson.annotation_indexer.SubtypeIterator.hasNext(SubtypeIterator.java:28)
    4 frames
  12. Hudson
    TaskMethodFinder.discoverTasks
    1. hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:56)
    2. hudson.init.TerminatorFinder.discoverTasks(TerminatorFinder.java:8)
    3. hudson.init.TaskMethodFinder.discoverTasks(TaskMethodFinder.java:32)
    3 frames
  13. init
    Reactor.<init>
    1. org.jvnet.hudson.reactor.Reactor.<init>(Reactor.java:151)
    2. org.jvnet.hudson.reactor.Reactor.<init>(Reactor.java:156)
    2 frames
  14. jenkins.model
    Jenkins.cleanUp
    1. jenkins.model.Jenkins.cleanUp(Jenkins.java:2818)
    1 frame
  15. Hudson
    WebAppMain$3.run
    1. hudson.WebAppMain$3.run(WebAppMain.java:241)
    1 frame