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

132 views
Skip to first unread message

Stefano Ciccarelli

unread,
Nov 10, 2011, 7:16:42 AM11/10/11
to google-we...@googlegroups.com
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.

Reinhard Stein

unread,
Aug 5, 2014, 7:29:21 AM8/5/14
to google-we...@googlegroups.com
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

Eugene Labonarsky

unread,
Jan 27, 2015, 4:22:08 AM1/27/15
to google-we...@googlegroups.com
I have the same problem on GWT 2.6.1 Any news on this?

вторник, 5 августа 2014 г., 14:29:21 UTC+3 пользователь Reinhard Stein написал:
Reply all
Reply to author
Forward
0 new messages