I am getting below error while using GWT 2.5.0-rc1 for my existing GWT 2.4.0 application.
09:08:19.886 [ERROR] [config] Unable to load module entry point class null (see associated exception for details)
com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
at com.google.gwt.dev.js.ast.JsVisitor.translateException(JsVisitor.java:483)
at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:470)
at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)
at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)
at com.google.gwt.dev.js.JsToStringGenerationVisitor.visit(JsToStringGenerationVisitor.java:638)
at com.google.gwt.dev.js.ast.JsIf.traverse(JsIf.java:71)
at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468)
at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)
at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)
at com.google.gwt.dev.js.JsToStringGenerationVisitor.printJsBlock(JsToStringGenerationVisitor.java:1032)
at com.google.gwt.dev.js.JsSourceGenerationVisitor.visit(JsSourceGenerationVisitor.java:59)
at com.google.gwt.dev.js.ast.JsBlock.traverse(JsBlock.java:47)
at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468)
at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)
at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)
at com.google.gwt.dev.shell.Jsni.generateJavaScriptForHostedMode(Jsni.java:253)
at com.google.gwt.dev.shell.Jsni.getJavaScriptForHostedMode(Jsni.java:241)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.createNativeMethods(ModuleSpaceOOPHM.java:52)
at com.google.gwt.dev.shell.CompilingClassLoader.injectJsniMethods(CompilingClassLoader.java:1385)
at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1158)
at com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1203)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:663)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:353)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.VerifyError: (class: com/google/gwt/core/client/GWT, method: setBridge signature: (Lcom/google/gwt/core/client/GWTBridge;)V) Incompatible argument to function
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getDeclaredMethod(Class.java:1935)
at com.google.gwt.dev.shell.CompilingClassLoader.updateGwtClass(CompilingClassLoader.java:1422)
at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1169)
at com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1203)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getClassFromBinaryName(CompilingClassLoader.java:223)
at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getClassFromBinaryOrSourceName(CompilingClassLoader.java:257)
at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getClassInfoFromClassName(CompilingClassLoader.java:279)
at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getDispId(CompilingClassLoader.java:151)
at com.google.gwt.dev.shell.CompilingClassLoader.getDispId(CompilingClassLoader.java:1031)
at com.google.gwt.dev.shell.Jsni$JsSourceGenWithJsniIdentFixup.visit(Jsni.java:171)
at com.google.gwt.dev.js.ast.JsInvocation.traverse(JsInvocation.java:69)
at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468)
at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)
at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)
at com.google.gwt.dev.js.JsToStringGenerationVisitor.visit(JsToStringGenerationVisitor.java:638)
at com.google.gwt.dev.js.ast.JsIf.traverse(JsIf.java:71)
at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468)
at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)
at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)
at com.google.gwt.dev.js.JsToStringGenerationVisitor.printJsBlock(JsToStringGenerationVisitor.java:1032)
at com.google.gwt.dev.js.JsSourceGenerationVisitor.visit(JsSourceGenerationVisitor.java:59)
at com.google.gwt.dev.js.ast.JsBlock.traverse(JsBlock.java:47)
at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468)
at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)
at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)
at com.google.gwt.dev.shell.Jsni.generateJavaScriptForHostedMode(Jsni.java:253)
at com.google.gwt.dev.shell.Jsni.getJavaScriptForHostedMode(Jsni.java:241)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.createNativeMethods(ModuleSpaceOOPHM.java:52)
at com.google.gwt.dev.shell.CompilingClassLoader.injectJsniMethods(CompilingClassLoader.java:1385)
at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1158)
at com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1203)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:663)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:353)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:619)
Everything works properly if I use GWT version 2.4.0. But when change version to 2.5.0-rc1, I get this error. It would be great if I get some help.
Thanks,
-Vasu.
-- 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/-/dyRwiIc_-w0J.
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.
No comments:
Post a Comment