Hi everybody
-- I applied the idea of Mr. Thomas Broyer (you can find it on this link; https://gist.github.com/tbroyer/3038878). This is the first time I'm using the code splitting feature in GWT. Since I did it, I'm facing a strange gwt compiler error. The stacktrace is below (the line in Bold is exactly where I call GWT.runAsync() )
What am I doing wrong here?
Thank you
[ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:109)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:120)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
at com.google.gwt.dev.jjs.ast.JRunAsync.traverseOnSuccess(JRunAsync.java:101)
at com.google.gwt.dev.jjs.impl.ControlFlowAnalyzer.traverseFromRunAsync(ControlFlowAnalyzer.java:1008)
at com.google.gwt.dev.jjs.impl.ControlFlowAnalyzer.traverseFromRunAsyncs(ControlFlowAnalyzer.java:1016)
at com.google.gwt.dev.jjs.impl.ControlFlowAnalyzer.traverseEverything(ControlFlowAnalyzer.java:977)
at com.google.gwt.dev.jjs.impl.Pruner.execImpl(Pruner.java:622)
at com.google.gwt.dev.jjs.impl.Pruner.exec(Pruner.java:497)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.optimizeLoop(JavaToJavaScriptCompiler.java:863)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.optimize(JavaToJavaScriptCompiler.java:778)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:714)
at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:278)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
Caused by: java.lang.NullPointerException
at com.google.gwt.dev.jjs.impl.ControlFlowAnalyzer$RescueVisitor.visit(ControlFlowAnalyzer.java:383)
at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:240)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:125)
... 21 more
[ERROR] at WarehouseActivityMapper.java(54): <source info not available>
com.google.gwt.dev.jjs.ast.JMethodCall
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment