After reading this I thought I'd give it a try, too and got the same error:
[ERROR] Unexpected internal compiler error [INFO] java.lang.IllegalStateException: Expected non-empty string. Reference node STRING Any hints? : ) Am Sonntag, 26. August 2012 23:59:09 UTC+2 schrieb Deepak Singh: > > enabling the closure compiler gives following exception (GWT2.5Rc1) > > [ERROR] Unexpected internal compiler error > java.lang.IllegalStateException: Expected non-empty string. Reference node > STRING > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:51) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.violation(AstValidator.java:763) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateNonEmptyString(AstValidator.java:328) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateObjectLiteralKeyName(AstValidator.java:739) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateObjectLitStringKey(AstValidator.java:726) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateObjectLitKey(AstValidator.java:683) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateObjectLit(AstValidator.java:670) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:252) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateObjectLitStringKey(AstValidator.java:727) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateObjectLitKey(AstValidator.java:683) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateObjectLit(AstValidator.java:670) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:252) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:603) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:219) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateVar(AstValidator.java:399) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:123) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:280) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:363) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:268) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateCall(AstValidator.java:377) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:260) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:476) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:126) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateBlock(AstValidator.java:280) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateFunctionStatement(AstValidator.java:355) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:102) > at > com.google.gwt.thirdparty.javascript.jscomp.AstValidator.validateScript(AstValidator.java:89) > at > com.google.gwt.dev.js.ClosureJsAstTranslator.translate(ClosureJsAstTranslator.java:127) > at > com.google.gwt.dev.js.ClosureJsRunner.createClosureJsAst(ClosureJsRunner.java:273) > at > com.google.gwt.dev.js.ClosureJsRunner.createClosureModule(ClosureJsRunner.java:284) > at > com.google.gwt.dev.js.ClosureJsRunner.createClosureModules(ClosureJsRunner.java:293) > at com.google.gwt.dev.js.ClosureJsRunner.compile(ClosureJsRunner.java:185) > at > com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.generateJavaScriptCode(JavaToJavaScriptCompiler.java:1035) > at > com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation(JavaToJavaScriptCompiler.java:462) > at > com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:134) > at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:195) > at > com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:49) > at > com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:73) > at java.lang.Thread.run(Thread.java:619) > [ERROR] Unrecoverable exception, shutting down > com.google.gwt.core.ext.UnableToCompleteException: (see previous log > entries) > at > com.google.gwt.dev.javac.CompilationProblemReporter.logAndTranslateException(CompilationProblemReporter.java:96) > at > com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation(JavaToJavaScriptCompiler.java:503) > at > com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:134) > at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:195) > at > com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:49) > at > com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:73) > at java.lang.Thread.run(Thread.java:619) > [ERROR] Not all permutation were compiled , completed (2/6) > > > On Mon, Aug 27, 2012 at 2:54 AM, Sergey <gwtuse...@gmail.com <javascript:> > > wrote: > >> use -XenableClosureCompiler option. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/google-web-toolkit/-/0eIURq10NvwJ. >> To post to this group, send email to >> google-we...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> google-web-toolkit+unsubscr...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> > > > > -- > Deepak Singh > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/sBYbQNIO1_gJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.