Announcement

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

    Warning in the console

    SmartClient Version: SC_SNAPSHOT-2011-01-06/PowerEdition Deployment (built 2011-01-06) / GWT 1.7.1

    Is there any way to get rid of this warning I see in the console:

    14:15:16.795:WARN:TreeGrid:isc_PivotTableTreeGrid_0:Field does not exist: nodeTitle

    [ERROR] 14:15:16.795:WARN:TreeGrid:isc_PivotTableTreeGrid_0:Field does not exist: nodeTitle
    com.smartgwt.client.core.JsObject$SGWT_WARN: 14:15:16.795:WARN:TreeGrid:isc_PivotTableTreeGrid_0:Field does not exist: nodeTitle
    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.ie.IDispatchImpl.callMethod(IDispatchImpl.java:126)
    at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:155)
    at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294)
    at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194)
    at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
    at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
    at org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
    at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:493)
    at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:417)
    at com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvokeOnWindow(ModuleSpaceIE6.java:68)
    at com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvoke(ModuleSpaceIE6.java:153)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:453)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:251)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
    at com.smartgwt.client.widgets.tree.TreeGrid.fetchData(TreeGrid.java)
    at com.ancerno.tz.client.PivotTable.view.PivotTableTreeGrid.fetchData(PivotTableTreeGrid.java:175)
    at com.ancerno.tz.client.PivotTable.view.PivotTableMediator.updatePivotTable(PivotTableMediator.java:32)
    at com.ancerno.tz.client.PivotTable.presentation.PivotTableWindow.showUI(PivotTableWindow.java:118)
    at com.ancerno.tz.client.PivotTable.presentation.PivotTableWindow.access$2(PivotTableWindow.java:115)
    at com.ancerno.tz.client.PivotTable.presentation.PivotTableWindow$1.onSuccess(PivotTableWindow.java:41)
    at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:215)
    at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:264)
    at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:236)
    at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:227)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:126)
    at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:155)
    at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294)
    at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194)
    at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
    at com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:264)
    at com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:557)
    at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
    at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

    #2
    This comes from attempting to sort on a field that doesn't actually exist in the grid. If you don't have any calls that seem like they should cause this issue, please explain how to reproduce the problem.

    Comment


      #3
      Thanks for that, I found the issue, I was calling

      treeGrid.setSortField(0);

      before my fields were set. And it wasn't sorting. Now I make that call after the fields are set, and everything is perfect.

      Comment

      Working...
      X