I'm seeing this error when going from SmartGWT 1.2 to 2.1 (while remaining on GWT 1.7). When I enable the Developer's Console, this error does not appear. When I comment out the code to enable the Developer's console, this error appears. This is happening at user login:
[ERROR] Unable to load module entry point class com.mydoman.client.MainEntryPoint (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (TypeError): Object expected
number: -2146823281
description: Object expected
at com.smartgwt.client.rpc.RPCManager.setLoginRequire dCallback(Native Method)
at com.mydomain.client.MainEntryPoint.onModuleLoad(MainEntryPoint.java:63)
[ERROR] Unable to load module entry point class com.mydoman.client.MainEntryPoint (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (TypeError): Object expected
number: -2146823281
description: Object expected
at com.smartgwt.client.rpc.RPCManager.setLoginRequire dCallback(Native Method)
at com.mydomain.client.MainEntryPoint.onModuleLoad(MainEntryPoint.java:63)
Comment