org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 3: unexpected token: dd3afb84-7f74-4a47-b9da-1cd5ed1cfc59 @ line 3, column 34. CustomStep 'dd3afb84-7f74-4a47-b9da-1cd5ed1cfc59' ^ 1 error

Google Groups | Unknown author | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Adding pipeline compatabilty to jenkins plugin

    Google Groups | 9 months ago | Unknown author
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 3: unexpected token: dd3afb84-7f74-4a47-b9da-1cd5ed1cfc59 @ line 3, column 34. CustomStep 'dd3afb84-7f74-4a47-b9da-1cd5ed1cfc59' ^ 1 error
  2. 0

    Jenkins pipeline: cannot get jobs to run in pipeline with propagate

    Stack Overflow | 1 month ago | Amos Bordowitz
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 8: expecting '}', found ',' @ line 8, column 49. ild job 'Knowledge Unit Tests', propagat ^ 1 error
  3. 0

    [JIRA] [workflow-plugin] (JENKINS-32508) Workflow does not support the standard Groovy JSON parser: JsonSlurper

    Google Groups | 1 year ago | cleclerc@cloudbees.com (JIRA)
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 5: unable to resolve class JsonSlurper @ line 5, column 19. def jsonSlurper = new JsonSlurper() ^ 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Simply execute this code in Groovy script : node('MYNODE') { bat ''echo ON ''' } And it will loop infinitely (all I did is deleted a ' after the word bat by accident). Had to reboot server to end the task. Here is the output: Started by user anonymous ERROR: failed to start build org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 13: expecting ''', found '<EOF>' @ line 13, column 2. } ^ 1 error at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302) at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:149) at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:119) at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:131) at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:359) at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:137) at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:108) at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:236) at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:161) at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:846) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:550) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:526) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:503) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:302) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:281) at groovy.lang.GroovyShell.parseClass(GroovyShell.java:731) at groovy.lang.GroovyShell.parse(GroovyShell.java:743) at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:100) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:356) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:323) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:188) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374)

    Jenkins JIRA | 2 years ago | Martin B├ędard
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 13: expecting ''', found '<EOF>' @ line 13, column 2. } ^ 1 error
  6. 0

    Jenkins Workflow does not support the standard JSON parser of the Groovy Language: JsonSlurper. This makes it very cumbersome to parse the result of CLI calls such as AWS CLI... *Test case* {code} node { println "Parse JSON file as recommended in Groovy Reference Guide http://www.groovy-lang.org/json.html" def jsonSlurper = new JsonSlurper() def object = jsonSlurper.parseText ''' { "simple": 123, "fraction": 123.66, "exponential": 123e12 }''' println object } {code} *Error Message* {noformat} Started by user admin org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 5: unable to resolve class JsonSlurper @ line 5, column 19. def jsonSlurper = new JsonSlurper() ^ 1 error at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302) at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:861) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:550) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:499) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:302) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:281) at groovy.lang.GroovyShell.parseClass(GroovyShell.java:731) 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:362) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:329) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:208) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Finished: FAILURE {noformat}

    Jenkins JIRA | 1 year ago | Cyrille Le Clerc
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 5: unable to resolve class JsonSlurper @ line 5, column 19. def jsonSlurper = new JsonSlurper() ^ 1 error

  1. serious2monkeys 8 times, last 6 months ago
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. org.codehaus.groovy.control.MultipleCompilationErrorsException

    startup failed: WorkflowScript: 3: unexpected token: dd3afb84-7f74-4a47-b9da-1cd5ed1cfc59 @ line 3, column 34. CustomStep 'dd3afb84-7f74-4a47-b9da-1cd5ed1cfc59' ^ 1 error

    at org.codehaus.groovy.control.ErrorCollector.failIfErrors()
  2. Groovy
    GroovyShell.parse
    1. org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
    2. org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:150)
    3. org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:120)
    4. org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:132)
    5. org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:360)
    6. org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:145)
    7. org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:111)
    8. org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:237)
    9. org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:167)
    10. org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:931)
    11. org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:593)
    12. org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:569)
    13. org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:546)
    14. groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
    15. groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
    16. groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
    17. groovy.lang.GroovyShell.parse(GroovyShell.java:700)
    17 frames
  3. org.jenkinsci.plugins
    WorkflowRun.run
    1. org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:67)
    2. org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:410)
    3. org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:373)
    4. org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:213)
    4 frames
  4. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:98)
    2. hudson.model.Executor.run(Executor.java:410)
    2 frames