GWT Application throws JavascriptException on Windows 7 & IE 8

105 views
Skip to first unread message

Vibhas Zanpure

unread,
Feb 28, 2012, 9:53:21 AM2/28/12
to Google Web Toolkit
Hello All,

We recently migrated from PCs having Windows XP to Windows 7 64-bit in
our organization.

My machine has Windows 7 64bit, IE 8 (both 32-bit and 64-bit) & GWT
2.4.0.

Our Application used to work perfectly on Windows XP (before
migration) and the app uses fair amount of GwtExt as well. However,
the same app is not working on Windows 7 in some strange situations.

E.g. In a panel, we have a close button (with a cross image) on the
panel header which closes the panel. When I click on this button, it
throws a Java script error in IE as follows :-

Error : "Object doesn't support this property or method"
File : hosted.html


Also, I get a weird JavascriptException thrown in the stacktrace of
GWT HostedMode screen as follows :-


00:02:45.090 [ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (Error): Unspecified
error. number: -2147467259 description: Unspecified error.
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
237) at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
129) at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561) at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269) at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at
com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at
sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43) at java.lang.reflect.Method.invoke(Method.java:601) at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71) at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
157) at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
281) at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
531) at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352) at java.lang.Thread.run(Thread.java:722)



I searched about this a lot on the net, found a few threads, but none
could help. I am using JDK 7 64-bit and IE 32 bit with GWTDevPluginx86
installed. I DON'T HAVE CHROME FRAME INSTALLED AS WELL.

Any help would be appreciated as this is an urgent issue. Thanks in
advance :)

Vibhas Zanpure

unread,
Feb 29, 2012, 12:11:44 AM2/29/12
to Google Web Toolkit
Guys, any workaround ?

Jens

unread,
Feb 29, 2012, 4:30:24 AM2/29/12
to google-we...@googlegroups.com
You cant provide a workaround if you don't know what the error causes.

You should add breakpoints and/or logging to your app to identify the code line that produces this error.

I would assume the error is caused by a call like widget.getElement().get/setProperty("propertyThatDoesNotExistInIE", value) or by calling a JSNI method that tries to access some undefined property/functions (probably by GwtExt).

-- J.
Reply all
Reply to author
Forward
0 new messages