Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SmartGWT 1.2 to 2.1 upgrade while remaining on GWT 1.7 - EntryPoint error

    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)

    #2
    In order to use the Developer Console with Smart GWT 2.1 you need to inherit com.smartgwt.tools.SmartGwtTools in your module xml file. With 1.x the developer tool files were bundled with the distribution by default which increased the distribution size.

    Comment

    Working...
    X