Tuesday, August 5, 2014

Re: Window.confirm() on Chrome 16 throws an exception.

I have the same problem on GWT 2.6. Any news on this?

In Super Dev Mode in Chrome I get the following message, but no stack trace:

Exception caught: (TypeError) : Cannot read property 'element' of null

On Thursday, November 10, 2011 1:16:42 PM UTC+1, Stefano Ciccarelli wrote:
I'm using GWT 2.4.

On Chrome 16 (beta) when I call Window.confirm I get an exception.
The stack trace is:
Caused by: java.lang.Throwable: (TypeError): Cannot read property 'hasPort' of undefined
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean(ModuleSpace.java:184)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:35)
at com.google.gwt.user.client.Window.confirm(Window.java)
at it.indacosoftware.yap.client.forms.home.HomePresenter.processEvent(HomePresenter.java:1133)

The dialog is correctly displayed then when I click Ok or Cancel I get the exception.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment