org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Spec expression: 1: expecting '}', found '' @ line 1, column 298. t{new Random()}?.take(1)[0]) } ^ 1 error

Stack Overflow | Mahbub Rahman | 4 months ago
  1. 0

    Spock: Iterating a navigator's each element got error for size = 0

    Stack Overflow | 4 months ago | Mahbub Rahman
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Spec expression: 1: expecting '}', found '' @ line 1, column 298. t{new Random()}?.take(1)[0]) } ^ 1 error
  2. 0

    Spock Framework - .with closure inside a then: block does not execute

    nabble.com | 6 months ago
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Spec expression: 1: unexpected token: assert @ line 1, column 71.   Name == RuntimeException.name assert mes                                 ^ 1 error
  3. 0

    Implicit assertions in withNewWinow closure within "then" block of geb spec arent evaluated

    GitHub | 2 years ago | geb-bot
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Spec expression: 1: expecting '}', found 'accountTerms' @ line 1, column 128. == 'GitHub Terms of Service' accountTer ^ 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Parsing issue with some specs

    GitHub | 1 year ago | anshbansal
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Spec expression: 1: expecting '}', found 'minute' @ line 1, column 125. lendar().get(Calendar.MINUTE) minute != ^ 1 error
  6. 0

    .with closure inside a then: block does not execute

    Google Groups | 5 years ago | Howard Lewis Ship
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Spec expression: 1: unexpected token: assert @ line 1, column 71. Name == RuntimeException.name assert mes ^ 1 error

  1. johnxfly 8 times, last 3 weeks ago
1 unregistered visitors
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: Spec expression: 1: expecting '}', found '' @ line 1, column 298. t{new Random()}?.take(1)[0]) } ^ 1 error

    at org.codehaus.groovy.control.ErrorCollector.failIfErrors()
  2. Groovy
    SourceUnit.parse
    1. org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
    2. org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:107)
    3. org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:149)
    4. org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:120)
    5. org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:132)
    6. org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:360)
    7. org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:145)
    8. org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:111)
    9. org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:237)
    9 frames
  3. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    1 frame
  4. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
    5 frames