Announcement

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

    Scollbar - com.google.gwt.core.client.JavaScriptException: (TypeError) @com.smartgwt.

    Hi,
    I'm on latest official downloadable SmartGWT 4.0p LGPL edition. Incriminated code (full functional until official 4.0p library upgrade):

    Code:
    Scrollbar scrollBar = new Scrollbar();
    scrollBar.setEndThumbOverlap(10);
    scrollBar.setStartThumbOverlap(10);
    Scrollbar.setDefaultProperties(scrollBar);
    and this is the console exception:

    Code:
    com.google.gwt.core.client.JavaScriptException: (TypeError) @com.smartgwt.client.widgets.Scrollbar::setDefaultProperties(Lcom/smartgwt/client/widgets/Scrollbar;)([Java object: com.smartgwt.client.widgets.Scrollbar@11401451]): 'proeprties' non è definito
        at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
        at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:299)
        at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
        at com.smartgwt.client.widgets.Scrollbar.setDefaultProperties(Scrollbar.java)
        at it.onetech.demaster.client.DEManager.onModuleLoad(DEManager.java:111)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:406)
        at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
        at java.lang.Thread.run(Thread.java:724)
    (may library class defined "proeprties" typo be the problem?)

    Regards,

    Luca.

    #2
    Thanks for pointing out that typo - it occurred during a code merge. The fix will be in the next nightly build of SGWT 4.0p.

    Comment


      #3
      You're welcome! I'll wait for next release :)

      Regards, Luca.

      Comment

      Working...
      X