After changing a lot of my code today and running tests in "hosted
mode" working fine,
I tried to compile with the 1.1.0 compiler and get the following stack
trace.
Anyone has an idea why this happens?
C:\>C:\eclipse32rc\workspace\info.bliki.wiki\Wi
ki-compile.cmd
Output will be written into
C:\eclipse32rc\workspace\info.bliki.wiki\www\info.bl
iki.wiki.Wiki
Analyzing permutation #1
[ERROR] Unexpected internal compiler error
com.google.gwt.dev.jjs.impl.InternalCompilerException: Error during
dispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processMethod(GenerateJavaAST.java:1094)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processType(GenerateJavaAST.java:253)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST.exec(GenerateJavaAST.java
:1814)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compile(JavaToJavaScr
iptCompiler.java:267)
at
com.google.gwt.dev.GWTCompiler.realizePermutation(GWTCompiler.java:59
0)
at
com.google.gwt.dev.GWTCompiler.compilePermutations(GWTCompiler.java:3
38)
at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:287)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:621)
at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:189)
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1172)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1311)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 10 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1342)
at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 17 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1172)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 23 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatements(GenerateJavaAST.java:1351)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1294)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 29 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1254)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 36 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1172)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 42 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1172)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1311)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 48 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatements(GenerateJavaAST.java:1351)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1294)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 55 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1254)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 62 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1172)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 68 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1254)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 74 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessStatement(GenerateJavaAST.java:318)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1172)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 80 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessExpression(GenerateJavaAST.java:304)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processStatement(GenerateJavaAST.java:1271)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 86 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessExpression(GenerateJavaAST.java:304)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processExpression(GenerateJavaAST.java:827)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 92 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException: Error
during d
ispatch
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:286)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispProcessExpression(GenerateJavaAST.java:304)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processBinaryOperation(GenerateJavaAST.java:1744)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processExpression(GenerateJavaAST.java:676)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 98 more
Caused by: com.google.gwt.dev.jjs.impl.InternalCompilerException:
Unexpected ope
rator for unary expression
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
processExpression(GenerateJavaAST.java:1034)
at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.jjs.impl.GenerateJavaAST$JavaASTGenerationVisitor.
dispatch(GenerateJavaAST.java:274)
... 105 more
[ERROR] Build failed
I'm pretty surprised by this bug, I could have sworn I was handling all
of the valid unary operators. There's -, !, and ~. Did I forget one?
If you can send me your project, I'd really like to figure this one
out.
Thanks!
Scott
x = +y;
D'OH! I can't believe I missed this case. Actually, I guess I can
since the operator doesn't actually *do* anything.
--red-faced Scott
Thanks.
--
Axel Kramer
Blog: http://groovy-news.org/e/page/axelclk