Tuesday, February 28, 2012

GWT Application throws JavascriptException on Windows 7 & IE 8

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 :)

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment