ActiveXObject is not defined on Linux

432 views
Skip to first unread message

Joe

unread,
May 23, 2008, 8:53:08 AM5/23/08
to Google Web Toolkit
Hello all,

I have a problem with GWT project on Linux.
When I start hosted mode and try to call some remote method, I got

[WARN] Exception thrown into JavaScript
com.google.gwt.core.client.JavaScriptException: JavaScript
ReferenceError exception: ActiveXObject is not defined
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
481)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean(ModuleSpace.java:
184)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:
49)
at
com.google.gwt.user.client.impl.HTTPRequestImpl.asyncPostImpl(HTTPRequestImpl.java:
84)
at
com.google.gwt.user.client.impl.HTTPRequestImpl.asyncPost(HTTPRequestImpl.java:
49)
at
com.google.gwt.user.client.impl.HTTPRequestImpl.asyncPost(HTTPRequestImpl.java:
44)
at com.google.gwt.user.client.HTTPRequest.asyncPost(HTTPRequest.java:
65)
at [removed]_Proxy.login(transient source for [removed]_Proxy:199)
at [removed]$1.onClick([removed].java:65)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)

My team is mostly developing on Windows. Under Windows the app run
without any problem. However, when ported to Linux it has the above
exception. I have already replaced all reference to GWT lib with GWT
for Linux lib.

FYI, I'm running on Ubuntu 7.10, gwt-linux 1.4.61 and gwt-ext 2.0.3.

Thank you in advance,
Joe

Peter Blazejewicz

unread,
May 23, 2008, 5:59:16 PM5/23/08
to Google Web Toolkit
hi Joe,

it looks like incorrect binding class is used on your linux (one that
depends on ActiveX available only within IE),
have you searched issue list for similar topic(s)?
http://code.google.com/p/google-web-toolkit/issues/list

regards,
Peter
Reply all
Reply to author
Forward
0 new messages