I often get the following error starting my application in debug mode (standard Dev Mode not SDM). Why would GWT sometimes have a deferred binding error but not always? The message (did you forget to inherit a required module) makes no sense to me as if I didn't have GXT referenced it seems it would never work.
SEVERE: Deferred binding failed for 'com.sencha.gxt.widget.core.client.grid.GridView$GridAppearance' (did you forget to inherit a required module?) java.lang.RuntimeException: Deferred binding failed for 'com.sencha.gxt.widget.core.client.grid.GridView$GridAppearance' (did you forget to inherit a required module?): at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53) com.google.gwt.core.shared.GWT.create(GWT.java:72) com.google.gwt.core.client.GWT.create(GWT.java:86) com.sencha.gxt.widget.core.client.grid.GridView.<init>(GridView.java:416) com.sencha.gxt.widget.core.client.grid.Grid.<init>(Grid.java:373) com.trafficsoftware.adloader.ui.gwt.client.triads.mainappmodules.loadads.loadadsclean.panel.grid.view.CleanGridView.<init>(CleanGridView.java:73) com.trafficsoftware.adloader.ui.gwt.client.triads.mainappmodules.loadads.loadadsclean.panel.grid.CleanGridTriadFactory.createTriad(CleanGridTriadFactory.java:33) com.trafficsoftware.adloader.ui.gwt.client.AdLoaderEntryPoint.onModuleLoadImpl(AdLoaderEntryPoint.java:423) com.trafficsoftware.adloader.ui.gwt.client.AdLoaderEntryPoint.onModuleLoad(AdLoaderEntryPoint.java:219) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:411) com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200) com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526) com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) java.lang.Thread.run(Thread.java:724) Also sometimes I get this error instead: SEVERE: Something other than a Java object was returned from JSNI method '@com.google.gwt.dom.client.DOMImpl::eventGetCurrentTarget(Lcom/google/gwt/dom/client/NativeEvent;)': JS value of type boolean, expected java.lang.Object java.lang.IllegalArgumentException: Something other than a Java object was returned from JSNI method '@com.google.gwt.dom.client.DOMImpl::eventGetCurrentTarget(Lcom/google/gwt/dom/client/NativeEvent;)': JS value of type boolean, expected java.lang.Object: at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:178) com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:286) com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) com.google.gwt.dom.client.DOMImpl.eventGetCurrentTarget(DOMImpl.java) com.google.gwt.dom.client.NativeEvent$.getCurrentEventTarget$(NativeEvent.java:119) com.google.gwt.user.client.impl.DOMImplStandard.dispatchUnhandledEvent(DOMImplStandard.java:343) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338) com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219) com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576) com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284) com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) com.google.gwt.core.client.impl.Impl.apply(Impl.java) What might be causing this? It's making it impossible to debug. My app's onModuleLoad is quite large as I have a lot of initial objects created before the app starts to display anything, it's during this time that the errors occur. Is there some limit to the amount of 'work' that can be done before the first widget is displayed? (This initial objects/work is the initial object graph for my application which is IoC based but perhaps I need to defer the creation of some objects until needed later in the app?) -- 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+unsubscr...@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. For more options, visit https://groups.google.com/d/optout.