org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1.groovy: iso88592 1 error

Jenkins JIRA | anthavio | 7 years ago
  1. 0

    Setting Solaris 2.9 locale like this export LC_ALL=cs_CZ.ISO8859-2 makes Hudson fail org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1.groovy: iso88592 1 error at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296) at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:143) at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:255) at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:160) at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:801) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:466) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:281) at groovy.lang.GroovyShell.parseClass(GroovyShell.java:590) at groovy.lang.GroovyShell.parse(GroovyShell.java:602) at groovy.lang.GroovyShell.parse(GroovyShell.java:582) at groovy.lang.GroovyShell.parse(GroovyShell.java:641) at hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:133) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.createSecurityComponents(ActiveDirectorySecurityRealm.java:60) at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:340) at hudson.security.HudsonFilter.reset(HudsonFilter.java:125) at hudson.model.Hudson.setSecurityRealm(Hudson.java:1649) at hudson.model.Hudson.load(Hudson.java:2068) at hudson.model.Hudson.(Hudson.java:562) at hudson.WebAppMain$2.run(WebAppMain.java:190)

    Jenkins JIRA | 7 years ago | anthavio
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1.groovy: iso88592 1 error
  2. 0

    There is an outstanding issue with Grails on certain environments (see: http://jira.codehaus.org/browse/GRAILS-4295) where parameters are not parsed correctly. The work around is to surround the parameter in double quotes so for example: grails maven-deploy "--repository=snapshot" The problem lies in that you can't escape the inner quotes in the Target field when building a Hudson project so: "grails maven-deploy \"--repository=snapshot\"" Throws the following error when the project is next built: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1.groovy: 1: expecting EOF, found 'repository' @ line 1, column 12. 1 error at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296) at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:143) at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:113) at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:125) at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:353) at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:92) at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:59) at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:249) at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:160) at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:801) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:466) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:281) at groovy.lang.GroovyShell.parseClass(GroovyShell.java:590) at groovy.lang.GroovyShell.parse(GroovyShell.java:602) at groovy.lang.GroovyShell.parse(GroovyShell.java:582) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:560) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:536) at com.g2one.hudson.grails.GrailsBuilder.evalTarget(GrailsBuilder.java:212) at com.g2one.hudson.grails.GrailsBuilder.perform(GrailsBuilder.java:168) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:600) at hudson.model.Build$RunnerImpl.build(Build.java:174) at hudson.model.Build$RunnerImpl.doRun(Build.java:138) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1244) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122)

    Jenkins JIRA | 6 years ago | scheeser
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1.groovy: 1: expecting EOF, found 'repository' @ line 1, column 12. 1 error
  3. 0

    Jenkins - Email-ext plugin - Templates

    Stack Overflow | 2 years ago | Costas Papanicolaou
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 1: unexpected token: < @ line 1, column 1. <STYLE> ^ 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [groovy-user] Evaluating expression defined in XML file...

    Google Groups | 8 years ago | John Sanabria
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1.groovy: 1: unexpected token: $ @ line 1, column 1. 1 error

    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, Script1.groovy: iso88592 1 error

      at org.codehaus.groovy.control.ErrorCollector.failIfErrors()
    2. Groovy
      ErrorCollector.failIfErrors
      1. org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296)
      1 frame