groovy.lang.GroovyRuntimeException: Failed to create Script instance <span class="code-keyword" style="color: #000091">for</span> class: class WorkflowScript. Reason: java.lang.RuntimeException: java.lang.ClassNotFoundException: java.io.Serializable

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by gaiz...@gmail.com (JIRA), 1 year ago
Failed to create Script instance <span class="code-keyword" style="color: #000091">for</span> class: class WorkflowScript. Reason: java.lang.RuntimeException: java.lang.ClassNotFoundException: java.io.Serializable
via Jenkins JIRA by or gaizer, 1 year ago
Failed to create Script instance for class: class WorkflowScript. Reason: java.lang.RuntimeException: java.lang.ClassNotFoundException: java.io.Serializable
via Jenkins JIRA by Tobias Getrost, 1 year ago
Failed to create Script instance for class: class WorkflowScript. Reason: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.jenkinsci.plugins.workflow.cps.SandboxContinuable
via Jenkins JIRA by Tobias Getrost, 1 year ago
Failed to create Script instance for class: class WorkflowScript. Reason: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.jenkinsci.plugins.workflow.cps.SandboxContinuable
via jenkins-ci.org by Unknown author, 1 year ago
Failed to create Script instance for class: class WorkflowScript. Reason: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.jenkinsci.plugins.workflow.cps.SandboxContinuable
via Jenkins JIRA by Jesse Glick, 1 year ago
Failed to create Script instance for class: class WorkflowScript. Reason: java.lang.NullPointerException
groovy.lang.GroovyRuntimeException: Failed to create Script instance <span class="code-keyword" style="color: #000091">for</span> class: class WorkflowScript. Reason: java.lang.RuntimeException: java.lang.ClassNotFoundException: java.io.Serializable
at org.jenkinsci.bytecode.helper.ClassLoadingReferenceTypeHierachyReader.reader(ClassLoadingReferenceTypeHierachyReader.java:61)
at org.jenkinsci.bytecode.helper.TypeHierarchyReader.hierarchyOf(TypeHierarchyReader.java:176)
at org.jenkinsci.bytecode.helper.ClassLoadingReferenceTypeHierachyReader.hierarchyOf(ClassLoadingReferenceTypeHierachyReader.java:39)
at org.jenkinsci.bytecode.helper.TypeHierarchyReader$TypeHierarchy.isAssignableFrom(TypeHierarchyReader.java:321)
at org.jenkinsci.bytecode.helper.TypeHierarchyReader$TypeHierarchy.isAssignableFromAnyInterfaceImplementedBy(TypeHierarchyReader.java:329)
at org.jenkinsci.bytecode.helper.TypeHierarchyReader$TypeHierarchy.isAssignableFrom(TypeHierarchyReader.java:310)
at org.jenkinsci.bytecode.helper.TypeHierarchyReader.isAssignableFrom(TypeHierarchyReader.java:124)
at org.jenkinsci.bytecode.helper.ClassLoadingReferenceTypeHierachyReader.isAssignableFrom(ClassLoadingReferenceTypeHierachyReader.java:39)
at org.jenkinsci.bytecode.helper.TypeHierarchyReader.getCommonSuperClass(TypeHierarchyReader.java:131)
at org.jenkinsci.bytecode.helper.ClassLoadingReferenceTypeHierachyReader.getCommonSuperClass(ClassLoadingReferenceTypeHierachyReader.java:39)
at org.jenkinsci.bytecode.NonClassLoadingClassWriter.getCommonSuperClass(NonClassLoadingClassWriter.java:72)
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.jenkinsci.bytecode.Transformer$1$1.visitEnd(Transformer.java:109)
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:115)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.