https://code.google.com/p/google-web-toolkit/issues/detail?id=7481
https://code.google.com/p/google-web-toolkit/issues/detail?id=7842
It (apparently) works well in SuperDevMode.
On Monday, December 31, 2012 5:58:30 PM UTC+1, Bademus ᵗʰᵉ wrote:
-- On Monday, December 31, 2012 5:58:30 PM UTC+1, Bademus ᵗʰᵉ wrote:
Hello.
Is it possible use Elemental with c.g.gwt.user.User?
The problem is after using Elemental and c.g.gwt.user.User in the project (Debug\Run) I got an Exception
At the same time project compiles normaly but with only one permutation.
Exception:17:50:46.736 [ERROR] [MyProject] Unable to load module entry point class net.MyProject.site.client.MyProject (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:893) at com.google.gwt.dev.js.ast.JsReturn.traverse(JsReturn. java:49) 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.generateJavaScriptForHostedMod e(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: 1387) 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: 247) at com.google.gwt.user.client.DOM.appendChild(DOM.java:66) at com.google.gwt.user.client.ui.CellPanel.<init>(CellPanel. java:76) at com.google.gwt.user.client.ui.VerticalPanel.<init>( VerticalPanel.java:37) at net.MyProject.site.client.MyProject.onModuleLoad( MyProject.java:14) at sun.reflect.NativeMethodAccessorImpl. invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl. invoke( NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl. invoke( DelegatingMethodAccessorImpl. java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad( ModuleSpace.java:406) 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:662) Caused by: java.lang.IndexOutOfBoundsException: Index: 11, Size: 11 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at com.google.gwt.dev.shell.CompilingClassLoader$ DispatchClassInfoOracle. getClassInfoByDispId( CompilingClassLoader.java:123) at com.google.gwt.dev.shell.CompilingClassLoader. getClassInfoByDispId( CompilingClassLoader.java: 1021) at com.google.gwt.dev.shell.Jsni$JsSourceGenWithJsniIdentFixup. visit(Jsni.java:177) 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:893) at com.google.gwt.dev.js.ast.JsReturn.traverse(JsReturn. java:49) 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.generateJavaScriptForHostedMod e(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: 1387) 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: 247) at com.google.gwt.user.client.DOM.appendChild(DOM.java:66) at com.google.gwt.user.client.ui.CellPanel.<init>(CellPanel. java:76) at com.google.gwt.user.client.ui.VerticalPanel.<init>( VerticalPanel.java:37) at net.MyProject.site.client.MyProject.onModuleLoad( MyProject.java:14) at sun.reflect.NativeMethodAccessorImpl. invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl. invoke( NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl. invoke( DelegatingMethodAccessorImpl. java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad( ModuleSpace.java:406) 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:662)
myproject.gwt.xml:
...<inherits name="com.google.gwt.user.User" /> <inherits name="elemental.Elemental" />...
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/-/HCfCemVM4X0J.
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