groovy.lang.GroovyRuntimeException: Failed to create Script instance for class: class WorkflowScript. Reason: java.lang.NullPointerException

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 Jenkins JIRA by Jesse Glick, 1 year ago
Failed to create Script instance for class: class WorkflowScript. Reason: java.lang.NullPointerException
via Google Groups by jgl...@cloudbees.com (JIRA), 1 year ago
Failed to create Script instance for class: class WorkflowScript. Reason: java.lang.NullPointerException
via Google Groups by artur.t...@gmail.com (JIRA), 1 year ago
Failed to create Script instance for class: class WorkflowScript. Reason: java.lang.NullPointerException
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 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
java.lang.NullPointerException:
at org.jenkinsci.plugins.workflow.cps.CpsScript.$build(CpsScript.java:137)
at org.jenkinsci.plugins.workflow.cps.CpsScript.$buildNoException(CpsScript.java:148)
at org.jenkinsci.plugins.workflow.cps.CpsScript.getProperty(CpsScript.java:125)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:47)

Users with the same issue

You are the first who have seen this exception.

Write tip

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