Friday, October 31, 2014

Re: Unexpected internal compiler error when trying out 2.7.0-RC1

I just found out in the GWT Contributers group that you can try to turn off assertions to have the compiler continue. In my case it takes a long time and the compiler is unable to continue afterwards but it's worth a try.

Op vrijdag 31 oktober 2014 14:21:24 UTC+1 schreef Arlo O'Keeffe:
I have the same error.

On Thursday, October 30, 2014 4:39:03 PM UTC+1, Martijn Wijns wrote:
When trying out 2.7.0-RC1 I get the following error after a page refresh:

         [ERROR] Unexpected internal compiler error
java.lang.AssertionError
at com.google.gwt.dev.jjs.impl.UnifyAst.instantiate(UnifyAst.java:1407)
at com.google.gwt.dev.jjs.impl.UnifyAst.instantiate(UnifyAst.java:1414)
at com.google.gwt.dev.jjs.impl.UnifyAst.instantiate(UnifyAst.java:1414)
at com.google.gwt.dev.jjs.impl.UnifyAst.fullFlowIntoType(UnifyAst.java:1186)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1020)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1733)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1747)
at com.google.gwt.dev.jjs.impl.UnifyAst.flowInto(UnifyAst.java:1226)
at com.google.gwt.dev.jjs.impl.UnifyAst.fullFlowIntoType(UnifyAst.java:1191)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1020)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1733)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1747)
at com.google.gwt.dev.jjs.impl.UnifyAst.flowInto(UnifyAst.java:1226)
at com.google.gwt.dev.jjs.impl.UnifyAst.fullFlowIntoType(UnifyAst.java:1191)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1020)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1733)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1747)
at com.google.gwt.dev.jjs.impl.UnifyAst.flowInto(UnifyAst.java:1206)
at com.google.gwt.dev.jjs.impl.UnifyAst.fullFlowIntoType(UnifyAst.java:1188)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1020)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1556)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:733)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1289)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1036)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:953)
at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:38)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:286)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:206)
at com.google.gwt.dev.codeserver.Recompiler.doCompile(Recompiler.java:323)
at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:164)
at com.google.gwt.dev.codeserver.Recompiler.recompile(Recompiler.java:121)
at com.google.gwt.dev.codeserver.Outbox.recompile(Outbox.java:128)
at com.google.gwt.dev.codeserver.JobRunner.recompile(JobRunner.java:60)
at com.google.gwt.dev.codeserver.JobRunner.access$100(JobRunner.java:31)
at com.google.gwt.dev.codeserver.JobRunner$1.run(JobRunner.java:52)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
      [ERROR] Compiler returned false
      [WARN] recompile failed
      [WARN] continuing to serve previous version

Any ideas on how to solve this or investigate what is happening?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment