Tuesday, January 29, 2013

GWT app does not work in IE 8

I am working on a GWT application developed using MVP Architecture.

The application works fine on firefox in Development Mode, but throws an AttachDetachException in IE.

Please help me identify what I am doing wrong?

The IDE is Eclipse indigo, GWT version 2.4 and IE version 8.

Caused by: com.google.gwt.user.client.ui.AttachDetachException: One or more exceptions caught, see full set in UmbrellaException#getCauses  at com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:87)  at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:170)  at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)  at com.google.gwt.user.client.ui.Composite.onAttach(Composite.java:170)  at com.google.gwt.user.client.ui.Widget.setParent(Widget.java:475)  at com.google.gwt.user.client.ui.Panel.adopt(Panel.java:127)  at com.google.gwt.user.client.ui.SimplePanel.setWidget(SimplePanel.java:160)  at com.google.gwt.user.client.ui.SimplePanel.setWidget(SimplePanel.java:129)  at com.google.gwt.activity.shared.ActivityManager.showWidget(ActivityManager.java:202)  at com.google.gwt.activity.shared.ActivityManager.access$2(ActivityManager.java:200)  at com.google.gwt.activity.shared.ActivityManager$ProtectedDisplay.setWidget(ActivityManager.java:51)  at com.myapp.mysearch.client.activity.MySearchActivity.start(MySearchActivity.java:89)  at com.google.gwt.activity.shared.ActivityManager.tryStart(ActivityManager.java:214)  at com.google.gwt.activity.shared.ActivityManager.onPlaceChange(ActivityManager.java:141)  at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:70)  at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:1)  at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)  at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)  at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)  at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)  at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:52)  at com.google.gwt.place.shared.PlaceController.goTo(PlaceController.java:156)  at com.google.gwt.place.shared.PlaceHistoryHandler.handleHistoryToken(PlaceHistoryHandler.java:192)  at com.google.gwt.place.shared.PlaceHistoryHandler.handleCurrentHistory(PlaceHistoryHandler.java:118)  at com.myapp.mysearch.client.MyEntryPoint.onModuleLoad(MyEntryPoint.java:56)    Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): Object doesn't support this property or method  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.invokeNativeVoid(ModuleSpace.java:289)  at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)  at com.google.gwt.user.client.impl.DOMImpl.setEventListener(DOMImpl.java)  at com.google.gwt.user.client.DOM.setEventListener(DOM.java:1161)  at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:339)  at com.google.gwt.user.client.ui.AttachDetachException$1.execute(AttachDetachException.java:34)  at com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:74)  at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:170)  at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)  at com.github.gwtbootstrap.client.ui.base.IconAnchor.onAttach(IconAnchor.java:258)  at com.google.gwt.user.client.ui.AttachDetachException$1.execute(AttachDetachException.java:34)  at com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:74)  at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:170)  at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)  at com.google.gwt.user.client.ui.AttachDetachException$1.execute(AttachDetachException.java:34)  at com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:74)  at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:170)  at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)  at com.google.gwt.user.client.ui.AttachDetachException$1.execute(AttachDetachException.java:34)  at com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:74)  at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:170)  at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)  at com.google.gwt.user.client.ui.AttachDetachException$1.execute(AttachDetachException.java:34)  at com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:74)  at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:170)  at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)  at com.google.gwt.user.client.ui.AttachDetachException$1.execute(AttachDetachException.java:34)  at com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:74)  at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:170)  at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)  at com.google.gwt.user.client.ui.Composite.onAttach(Composite.java:170)  at com.google.gwt.user.client.ui.Widget.setParent(Widget.java:475)  at com.google.gwt.user.client.ui.Panel.adopt(Panel.java:127)  at com.google.gwt.user.client.ui.SimplePanel.setWidget(SimplePanel.java:160)  at com.google.gwt.user.client.ui.SimplePanel.setWidget(SimplePanel.java:129)  at com.google.gwt.activity.shared.ActivityManager.showWidget(ActivityManager.java:202)  at com.google.gwt.activity.shared.ActivityManager.access$2(ActivityManager.java:200)  at com.google.gwt.activity.shared.ActivityManager$ProtectedDisplay.setWidget(ActivityManager.java:51)  at com.myapp.mysearch.client.activity.MySearchActivity.start(MySearchActivity.java:89)  at com.google.gwt.activity.shared.ActivityManager.tryStart(ActivityManager.java:214)  at com.google.gwt.activity.shared.ActivityManager.onPlaceChange(ActivityManager.java:141)  at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:70)  at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:1)  at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)  at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)  at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)  at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)  at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:52)  at com.google.gwt.place.shared.PlaceController.goTo(PlaceController.java:156)  at com.google.gwt.place.shared.PlaceHistoryHandler.handleHistoryToken(PlaceHistoryHandler.java:192)  at com.google.gwt.place.shared.PlaceHistoryHandler.handleCurrentHistory(PlaceHistoryHandler.java:118)  at com.myapp.mysearch.client.MyEntryPoint.onModuleLoad(MyEntryPoint.java:56)

Also, I debugged it in IE8 using Developer Tools and getting "Object expected" at

var ret = $entry(__gwt_makeTearOff(null, 131154, 1))(cmd);

Please help.



--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment