Announcement

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

    $wnd.isc.ToolStripButton is undefined

    Hi, I have updated to the latest nightbuild (downloaded on Apr 7th 2011) of smartGWT 2.5, I use firefox 3.6
    After a start of my application I receive the following exception

    Code:
    === 2011-04-07 12:14:34,550 [l0-0] INFO  Compression - /helloworld/sc/modules/ISC_Core.js: 673881 -> 174862 bytes
    Uncaught JavaScript exception [isc.StatefulCanvas.$cd is undefined] in http://127.0.0.1:8888/helloworld/sc/modules/ISC_Foundation.js, line 677
    com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd.isc.ToolStripButton is undefined
     fileName: http://127.0.0.1:8888
     lineNumber: 3
     stack: ()@http://127.0.0.1:8888:3
    @:0
    ([object GWTJavaObject])@http://127.0.0.1:8888/helloworld/hosted.html?helloworld:57
    ((function (p0) {var result = __static(dispId, this, p0);if (result[0]) {throw result[1];} else {return result[1];}}),[object XPCCrossOriginWrapper],[object Object])@http://127.0.0.1:8888:28
    @:0
    (null,65630,(function (p0) {var result = __static(dispId, this, p0);if (result[0]) {throw result[1];} else {return result[1];}}),[object XPCCrossOriginWrapper],[object Object])@http://127.0.0.1:8888/helloworld/hosted.html?helloworld:56
    ([object GWTJavaObject])@http://127.0.0.1:8888:65
    (46)@http://127.0.0.1:8888:9
    
    	at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
    	at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
    	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    	at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    	at com.smartgwt.client.widgets.toolbar.ToolStripButton.create(ToolStripButton.java)
    	at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:361)
    	at com.smartgwt.client.widgets.layout.Layout.addMember(Layout.java:1086)
    	at com.smartgwt.client.widgets.toolbar.ToolStrip.addButton(ToolStrip.java:316)
    	at cz.bcom.client.tabs.UserManagementTab.Pane(UserManagementTab.java:109)
    	at cz.bcom.client.tabs.UserManagementTab.<init>(UserManagementTab.java:32)
    	at cz.bcom.client.HelloWorld.onModuleLoadTabTest(HelloWorld.java:96)
    	at cz.bcom.client.HelloWorld.access$0(HelloWorld.java:89)
    	at cz.bcom.client.HelloWorld$2.execute(HelloWorld.java:84)
    	at com.google.gwt.core.client.impl.SchedulerImpl$Task$.executeScheduled$(SchedulerImpl.java:50)
    	at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:229)
    	at com.google.gwt.core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:389)
    	at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78)
    	at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:139)
    	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.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
    	at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
    	at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
    	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    	at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    	at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
    	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.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
    	at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
    	at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    	at java.lang.Thread.run(Thread.java:662)

    #2
    You've got a mixture of new and old resources being loaded. Do a GWT compile and clear your browser cache (always do this when updating).

    Comment

    Working...
    X