GWT Application throws JavascriptException on Windows 7 & IE 8

已查看 105 次
跳至第一个未读帖子

Vibhas Zanpure

未读,
2012年2月28日 09:53:212012/2/28
收件人 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

未读,
2012年2月29日 00:11:442012/2/29
收件人 Google Web Toolkit
Guys, any workaround ?

Jens

未读,
2012年2月29日 04:30:242012/2/29
收件人 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.
回复全部
回复作者
转发
0 个新帖子