Announcement

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

    FormEnableDisableSample crashes in development mode with SmartGWT 3.0

    It seems as if ClickHandlers on ButtonItem would crash with SmartGWT 3.0 when running in development mode:
    Uncaught exception escaped: java.lang.ClassCastException
    null

    It can easily be reproduced with the FormEnableDisableSample.
    If the ClickHandler is removed, there is no exception (but of course also no action :-(

    I started migrating a bigger project from 2.5 to 3.0. I saw that exception, read about upgrade problems, and so I created a new project on a new PC that never saw any other SmartGWT version before. I ended up trying various samples from the ShowCase. The examples with DynamicForm and IButtons do not crash.

    So far I have not found a workaround besides replacing the ButtonItems with IButtons - which does not work too well with my form layout.

    I will have no internet access for the next week, so I cannot answer any questions before April, 10th.

    1. SmartClient Version: v8.2p_2012-03-29/LGPL Development Only (built 2012-03-29)

    2. IE 9.0.8112.16421 (but also 8.0.7601.17514)

    5.
    09:56:24.015 [ERROR] [riacsc] Uncaught exception escaped

    java.lang.ClassCastException: null
    at java.lang.Class.cast(Unknown Source)
    at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:163)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:57)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    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:213)
    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.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:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Unknown Source)

    6. FormEnableDisableSample from the SmartGTW ShowCase

    #2
    This issue should now be resolved

    Comment


      #3
      The problem is resolved, thank you.

      Comment

      Working...
      X