Hi, I am trying to run example from GWT Elemental sitehttp://tinyurl.com/7oo2jmv. I have made appropriate changes to compile the same (getWindow().setTimeout(new TimeoutHandler() and xhr.setOnload and package name change for xml http request). The problem I face it is when I add a listner to any of the element it throws the exception. For example Below is the exception which I have got.
In short when I add listner to any element I get a error which is put below. Is there any problem? Ray can you throw some light on it. Regards, Allahbaksh 16:07:55.836 [ERROR] [gwt_elemental] Unable to load module entry point class com.infy.elemental.client.ElementalExample (see associated exception for details) com.google.gwt.core.client.JavaScriptException: (String) : Invoking an instance method on a null instance at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.google.gwt.dev.shell.ModuleSpace.createJavaScriptException(ModuleSpace.java: 79) at com.google.gwt.dev.shell.ModuleSpace.createJavaScriptException(ModuleSpace.java: 63) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:60) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java: 338) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 219) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 570) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 278) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at elemental.js.dom.JsElementalMixinBase$.addEventListener$ (JsElementalMixinBase.java) at com.google.gwt.core.client.JavaScriptObject $.elemental_html_ButtonElement_addEventListener(JavaScriptObject.java) at com.infy.elemental.client.ElementalExample.onModuleLoad(ElementalExample.java: 52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 405) 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(Unknown Source) -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.