Announcement

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

    Dev Mode Issue with newer NBs

    Hi Iso,

    tried to check newer NBs but get this error:
    Code:
    12:34:37.303 [ERROR] [wsgwttest] Unable to load module entry point class com.egr.wsgwttest.client.WSGWTTEST (see associated exception for details)
    com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd.isc.ClassFactory.getNextGlobalIDForClass is not a function
     fileName: http://localhost:8888
     lineNumber: 155
     stack: ("com.smartgwt.client.widgets.Button")@http://localhost:8888:155
    connect("http://localhost:8888/index.html?gwt.codesvr=localhost:9997","XsZ{v9[h\\aBg}t=;","localhost:9997","wsgwttest","2.0")@:0
    ((void 0),"wsgwttest","http://localhost:8888/wsgwttest/")@http://localhost:8888/wsgwttest/hosted.html?wsgwttest:264
    z()@http://localhost:8888/wsgwttest/wsgwttest.nocache.js:2
    (-10)@http://localhost:8888/wsgwttest/wsgwttest.nocache.js:9
        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.invokeNativeObject(ModuleSpace.java:264)
        at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
        at com.smartgwt.client.util.SC.generateID(SC.java)
        at com.smartgwt.client.widgets.BaseWidget.<init>(BaseWidget.java:103)
        at com.smartgwt.client.widgets.Canvas.<init>(Canvas.java:73)
        at com.smartgwt.client.widgets.StatefulCanvas.<init>(StatefulCanvas.java:74)
        at com.smartgwt.client.widgets.Button.<init>(Button.java:81)
        at com.egr.wsgwttest.client.WSGWTTEST.onModuleLoad(WSGWTTEST.java:21)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        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)
    1150 still works, 1199 doesn't. What do you suggest? Trying to find the last NB that works and (implicitly) the first that doesn't?

    Ekki

    * GWT Rocks! * SmartGWT Rocks Even Harder! * SmartGWT PRO 2.1
    Build 1139, GWT 2.0.3, Jetty 7.0.0, Eclipse 3.5.1, JRE 1.6.0_18 *

    #2
    This indicates new SmartGWT code mixed with older SmartClient code. Always follow the installation procedure in it's entirety; never skip steps or attempt to update only some resources.

    Comment


      #3
      It seems I have had a general misunderstanding about the way how to incorporate (Client) NB's. Sorry to bother you with an obvious non-issue. As an apologize I want to mention that update of Client NB's worked so far leading me to the wrong opinion I'm doing it the right way...

      Ekki

      Comment


        #4
        The problem with wnd.isc.ClassFactory.getNextGlobalIDForClass can also happen when the old version is still in the browser cache.

        Comment


          #5
          Browser cache is the killer. Clear the cache, clear it as often as possible.
          Disable it if you can :)

          Comment

          Working...
          X