Announcement

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

    showTabContextMenu Exception in smartGWTPower showcase

    hi,

    I get the exception when I click with the right mouse button on the Tabset (downloaded - power showcase).
    regards,
    timo

    used: smartGWT Power Build from 2011/01/28

    Code:
         00:01:04,341 [ERROR] 18:52:22.198:CXT2:WARN:Log:TypeError: Result of expression '_9.showTabContextMenu' [undefined] is not a function.
    com.smartgwt.client.core.JsObject$SGWT_WARN: 18:52:22.198:CXT2:WARN:Log:TypeError: Result of expression '_9.showTabContextMenu' [undefined] is not a function.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
    	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:680)

    #2
    You've got stale files in your project. Clear browser caches, do a GWT compile, and redo the installation procedure if that doesn't fix it.

    Comment


      #3
      negativ.

      1) Clear browser caches = carried out successfully
      2) GWT compile = carried out successfully

      3) redo the installation procedure if that doesn't fix it. = I have your Showcase launched directly from Eclipse. (without modification)

      In this case, NO installation is necessary.

      Please look in the Developer Console screenshot on the version. (is actually not stale)

      Log from Eclipse:
      === 2011-03-04 19:30:24,163 [main] INFO ISCInit - Isomorphic SmartClient Framework (SC_SNAPSHOT-2011-01-28/PowerEdition Deployment 2011-01-28) - Initialization Complete

      I tried development mode and hosted mode.

      regards,
      timo
      Attached Files
      Last edited by tmoes; 4 Mar 2011, 10:48.

      Comment


        #4
        The staleness you appear to have is older SmartGWT Java code combined with newer SmartGWT .js code. Did you do something like try to upgrade by just replacing certain .jars? Use the full procedure under SgwtEESetup in the docs instead.

        Comment


          #5
          hi Isomorphic,

          to make sure I have not made a mistake, I've just tried the following steps:

          download:
          1) http://www.smartclient.com/builds/SmartGWT/2.x/PowerEdition/2011-03-03/smartgwtpower-2.5.zip
          2) http://apachemirror.3gforphones.com/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.tar.gz
          3) Opera Browser (this was never installed on my Mac, because of cache problem)

          Install:
          1) tar xvfz apache-tomcat-6.0.32.tar.gz
          2) copy showcase.war to /apache-tomcat-6.0.32/webapps

          run:
          /apache-tomcat-6.0.32/bin/catalina.sh run

          look:
          In the screenshot you can see that I get after clicking the browser's menu instead of the showcase menu.

          Again I used only your showcase, not a separate project.

          Regards,
          Timo
          Attached Files

          Comment


            #6
            This issue should now be resolved
            Please try the next nightly build and let us know if you continue to hit this

            Thanks and Regards
            Isomorphic Software

            Comment


              #7
              Are there problems with the build, I can't find anything from 08/03/2011?

              Comment


                #8
                solved, thanks

                Comment

                Working...
                X