I have the same problem with addEventListener with GWT 2.5-rc1
Also I found the following problem:
I wanted to test whether the problem was fixed in the trunk, but the Window
interface in the package elemental.html in the trunk, does not contain the
method newAudioContext(), this method is in version 2.5-rc1 gwt.
Any ideas?

*AUS. Cristian Rinaldi
Co-founder*
Mobile: (+54) 9 (342) 5 238 083
Email: [email protected]
Skype: csrinaldi
Site: www.logikas.com
Google Plus <https://plus.google.com/u/0/>
Logikas +Page <https://plus.google.com/u/0/b/114838406697164582224/>

______________________________

[image: eco] No me imprimas si no es necesario. PROTEJAMOS EL MEDIO AMBIENTE

AVISO LEGAL:

Esta informacion es privada y confidencial y está dirigida únicamente a su
destinatario. Si usted no es el destinatario original de este mensaje y por
este medio pudo acceder a dicha información por favor elimine el mensaje.
La distribución o copia de este mensaje está estrictamente prohibida.
Excepto que se haya establecido de otra forma, esta comunicación es sólo
para propósitos de información y no debe ser considerada como propuesta,
aceptación ni como una declaración de voluntad oficial de Logikas
"Conectando Ideas" . La transmisión de e-mails no garantiza que el correo
electrónico sea seguro o libre de error. Por consiguiente, no manifestamos
que esta información sea completa o precisa. Toda información está sujeta a
alterarse sin previo aviso.




2012/7/9 Allahbaksh <[email protected]>

> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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

<<image002.gif>>

Reply via email to