-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
OS: ubuntu 14.04 LTS 64 bit
Oracle JDK 1.8.0_40-b25
Jenkins 1.633, workflow-plugin 1.10
Steps to reproduce:
- Download Tomcat 8.0.27
- Start tomcat
- Download jenkins.war
- Copy jenkins.war to $TOMCAT_HOME/webapps
- Install workflow-aggregator plugin
- create a simple hello world workflow running in sandbox mode
- run build now
The build fails with the following exception:
groovy.lang.GroovyRuntimeException: Failed to create Script instance for class: class WorkflowScript. Reason: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.jenkinsci.plugins.workflow.cps.SandboxContinuable at org.codehaus.groovy.runtime.InvokerHelper.createScript(InvokerHelper.java:430) at groovy.lang.GroovyShell.parse(GroovyShell.java:743) at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:106) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:361) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:328) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:189) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.jenkinsci.plugins.workflow.cps.SandboxContinuable at org.kohsuke.asm5.ClassWriter.getCommonSuperClass(ClassWriter.java:1684) at org.kohsuke.asm5.ClassWriter.getMergedType(ClassWriter.java:1654) at org.kohsuke.asm5.Frame.merge(Frame.java:1426) at org.kohsuke.asm5.Frame.merge(Frame.java:1374) at org.kohsuke.asm5.MethodWriter.visitMaxs(MethodWriter.java:1475) at org.kohsuke.asm5.tree.MethodNode.accept(MethodNode.java:833) at org.kohsuke.asm5.commons.JSRInlinerAdapter.visitEnd(JSRInlinerAdapter.java:187) at org.kohsuke.asm5.MethodVisitor.visitEnd(MethodVisitor.java:877) at org.kohsuke.asm5.ClassReader.readMethod(ClassReader.java:1021) at org.kohsuke.asm5.ClassReader.accept(ClassReader.java:693) at org.kohsuke.asm5.ClassReader.accept(ClassReader.java:506) at org.jenkinsci.bytecode.Transformer.transform(Transformer.java:76) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:800) 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 jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.jenkinsci.plugins.workflow.cps.CpsScript.<init>(CpsScript.java:62) at WorkflowScript.<init>(WorkflowScript) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at java.lang.Class.newInstance(Class.java:433) at org.codehaus.groovy.runtime.InvokerHelper.createScript(InvokerHelper.java:408) ... 7 more Finished: FAILURE
- duplicates
-
JENKINS-30820 plugin failures after upgrade of bytecode-compatability-transformer
- Closed