Announcement

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

    JavaScriptException: (null): null on adding records to TreeGrid

    Hello,

    We are using Smartgwt SC_SNAPSHOT-2012-02-23_v8.2p.

    Since downloading this version we have been having problems with our Trees.

    Even though the tree is set to be editable double clicking on a node now has no effect, we can't edit any of our tree.

    On adding a record we get the following error:
    Code:
    00:46:25.172 [ERROR] Uncaught exception escaped
    com.google.gwt.core.client.JavaScriptException: (null): null 	
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237) 	
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132) 	
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) 	
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289) 	
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) 	
    at com.smartgwt.client.data.DataSource.processResponse(DataSource.java) 	
    at com.icentricApp.client.data.GenericGwtRpcDataSource$2.onSuccess(GenericGwtRpcDataSource.java:225) 	
    at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232
    If we use exactly the same datasource and data a ListGrid works perfectly.

    The record is added and the database is updated it fails here
    Code:
    finally {
          Object returned = (caught == null) ? result : caught;
          boolean toss = statsContext.isStatsAvailable()
              && statsContext.stats(statsContext.timeStat(methodName, returned, "end"));
        }
    in the onResponseReceived method of the RequestCallbackAdapter class resulting in the exception.

    If you have any ideas or pointers as to why our trees are no longer working we would be very grateful.

    Kind Regards
    Jeni
Working...
X