Announcement

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

    SmartGwtDebug - $wnd.isc.SelectItem.addProperties is not a function

    Hi,
    After SmartGWT upgrade from svn 1307 to /builds/SmartGWT/2.x/LGPL/2010-08-22
    I see the following error on the GWT Development Console when trying to debug my application:
    Code:
    00:00:19,272 [ERROR] Unable to load module entry point class pl.com.tech.sgwt.plan9000.client.MainEntryPoint (see associated exception for details)
    com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd.isc.SelectItem.addProperties is not a function  fileName: http://localhost:8080  lineNumber: 133  stack: ([object GWTJavaObject])@http://localhost:8080:133 @:0 (null,262161)@http://localhost:8080/SmartGWTplan9000/hosted.html?pl_com_tech_sgwt_plan9000_plan9000:56 ()@http://localhost:8080:66 connect("http://localhost:8080/SmartGWTplan9000/?gwt.codesvr=127.0.0.1:9997","aEX7EB2FQ^-i_-QF","127.0.0.1:9997","pl.com.tech.sgwt.plan9000.plan9000","2.0")@:0 ((void 0),"pl.com.tech.sgwt.plan9000.plan9000","http://localhost:8080/SmartGWTplan9000/")@http://localhost:8080/SmartGWTplan9000/hosted.html?pl_com_tech_sgwt_plan9000_plan9000:264 z()@http://localhost:8080/SmartGWTplan9000/pl.com.tech.sgwt.plan9000.plan9000.nocache.js:2 (-6)@http://localhost:8080/SmartGWTplan9000/pl.com.tech.sgwt.plan9000.plan9000.nocache.js:11  	at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:195) 	at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120) 	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507) 	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:284) 	at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) 	at com.smartgwt.client.util.I18nUtil.initMessages(I18nUtil.java) 	at com.smartgwt.client.util.I18nUtil.init(I18nUtil.java:32) 	at com.smartgwt.client.core.JsObject.initialize(JsObject.java:39) 	at com.smartgwt.client.core.JsObject.<clinit>(JsObject.java:32) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 	at java.lang.reflect.Method.invoke(Method.java:597) 	at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) 	at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) 	at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) 	at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1714) 	at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165) 	at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120) 	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507) 	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:284) 	at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) 	at com.smartgwt.client.widgets.BaseWidget.init(BaseWidget.java) 	at com.smartgwt.client.widgets.BaseWidget.<clinit>(BaseWidget.java:46) 	at pl.com.tech.sgwt.plan9000.client.MainEntryPoint.onModuleLoad(MainEntryPoint.java:91) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 	at java.lang.reflect.Method.invoke(Method.java:597) 	at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:369) 	at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:185) 	at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:380) 	at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222) 	at java.lang.Thread.run(Thread.java:619)
    The browser (FF-3.5.8) shows "GWT Code Server Disconnected" message.
    This only happens when com.smartgwt.debug.SmartGwtDebug is used in the gwt.xml - mayby some includes are missing ?

    Thanks,
    MichalG

    #2
    I'll look into it, thanks.

    Comment


      #3
      It should be fixed. Can you confirm with the latest build?

      Thanks,
      Sanjiv

      Comment


        #4
        I have just checked against 2010-09-11 build and yes, it is fixed.
        Thanks,
        MichalG

        Comment

        Working...
        X