net.grinder.engine.common.EngineException

Error while initialize test runner

Solutions on the web5

  • via GitHub by pyogesh2
    , 10 months ago
    Error while initialize test runner
  • Error while initialize test runner
  • via GitHub by MeYoung
    , 10 months ago
    Error while initialize test runner
  • Stack trace

    • net.grinder.engine.common.EngineException: Error while initialize test runner at net.grinder.scriptengine.groovy.GroovyScriptEngine.<init>(GroovyScriptEngine.java:71)[ngrinder-groovy-3.4.jar:na] at net.grinder.scriptengine.groovy.GroovyScriptEngineService.createScriptEngine(GroovyScriptEngineService.java:109)[ngrinder-groovy-3.4.jar:na] at net.grinder.engine.process.ScriptEngineContainer.getScriptEngine(ScriptEngineContainer.java:105)[grinder-core-3.9.1.jar:na] at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:330)[ngrinder-runtime-3.4.jar:na] at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:87)[grinder-core-3.9.1.jar:na] at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:60)[grinder-core-3.9.1.jar:na] Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: ${NGRINDER_HOME}\script\admin\TestRunner.groovy: 46: unexpected token: & @ line 46, column 23. test = new GTest(1, &quot;www.baidu.com&quot;) ^ 1 error at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:309)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:149)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:119)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:131)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:359)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:142)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:108)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:236)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:162)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:912)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:574)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:550)[groovy-all-2.2.1.jar:2.2.1] at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:527)[groovy-all-2.2.1.jar:2.2.1] at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:279)[groovy-all-2.2.1.jar:2.2.1] at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:258)[groovy-all-2.2.1.jar:2.2.1] at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:244)[groovy-all-2.2.1.jar:2.2.1] at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:185)[groovy-all-2.2.1.jar:2.2.1] at net.grinder.scriptengine.groovy.GroovyScriptEngine.<init>(GroovyScriptEngine.java:62)[ngrinder-groovy-3.4.jar:na] ... 5 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 week ago
    Unknown user
    Once, 1 month ago
    3 times, 1 month ago
    Once, 3 months ago
    3 times, 4 months ago
    28 more bugmates