Friday, November 18, 2011

GWT compile error- AsyncFragmentLoader.onLoad

Hi,
I posted this some where else, but not sure if it was in the right
place. Sorry if this qualifies as cross-posting, but I really need to
solve this problem.

I have created a GWT project in Eclipse. It compiles fine from
Eclipse, but on GWT compile, I get

[ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Unable to locate
index method: AsyncFragmentLoader.onLoad
at com.google.gwt.dev.jjs.ast.JProgram.getIndexedMethod(JProgram.java:
767)
at
com.google.gwt.dev.jjs.impl.ControlFlowAnalyzer.<init>(ControlFlowAnalyzer.java:
858)
at com.google.gwt.dev.jjs.impl.Pruner.execImpl(Pruner.java:600)
at com.google.gwt.dev.jjs.impl.Pruner.exec(Pruner.java:489)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.optimizeLoop(JavaToJavaScriptCompiler.java:
830)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.optimize(JavaToJavaScriptCompiler.java:
745)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
684)
at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
33)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
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)


I would be so grateful for some help. I have looked at the classpath,
there are no duplicates.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate