Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
BUG! exception in phase 'canonicalization' in source unit 'WorkflowScript' unexpected NullpointerException
22 at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1060)
23 at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:591)
24 at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:569)
25 at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:546)
26 at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
27 at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
28 at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
29 at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
30 at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:67)
31 at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:429)
32 at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:392)
33 at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:221)
34 at hudson.model.ResourceController.execute(ResourceController.java:98)
35 at hudson.model.Executor.run(Executor.java:410)
36 Caused by: java.lang.NullPointerException
37 at org.jenkinsci.plugins.structs.SymbolLookup$Key.hashCode(SymbolLookup.java:144)
38 at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
39 at org.jenkinsci.plugins.structs.SymbolLookup.find(SymbolLookup.java:47)
40 at org.jenkinsci.plugins.structs.SymbolLookup$find$0.call(Unknown Source)
41 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
42 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
43 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
44 at org.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidatorImpl.validateElement(ModelValidatorImpl.groovy:146)
45 at org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildCondition.validate(ModelASTBuildCondition.java:27)
46 at org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildConditionsContainer.validate(ModelASTBuildConditionsContainer.java:40)
47 at org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostBuild.validate(ModelASTPostBuild.java:31)
48 at org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef.validate(ModelASTPipelineDef.java:72)
49 at org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef$validate.call(Unknown Source)
50 at org.jenkinsci.plugins.pipeline.modeldefinition.parser.ModelParser.parse(ModelParser.groovy:207)
51 at org.jenkinsci.plugins.pipeline.modeldefinition.parser.ModelParser$parse$0.callCurrent(Unknown Source)
52 at org.jenkinsci.plugins.pipeline.modeldefinition.parser.ModelParser.parse(ModelParser.groovy:108)
53 at org.jenkinsci.plugins.pipeline.modeldefinition.parser.GroovyShellDecoratorImpl$1.call(GroovyShellDecoratorImpl.java:38)
54 at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1055)
55 ... 13 more
56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.