PDA

View Full Version : PagingToolbar throws exceptions



connysvensson
26 May 2008, 1:38 AM
I'm using a paging table with a paging toolbar wrapped in a contentpanel. When hovering over the arrows in the paging toolbar GWT/GXT throws exceptions in the console.


[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (RangeError): com.google.gwt.dev.shell.HostedModeException: Calling method 'newInstance': attempt to use JavaScript 'undefined' as a value, expected int
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:51)
at com.google.gwt.dev.shell.ie.SwtOleGlue.convertVariantsToObjects(SwtOleGlue.java:57)
at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:119)
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.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:67)
message: com.google.gwt.dev.shell.HostedModeException: Calling method 'newInstance': attempt to use JavaScript 'undefined' as a value, expected int
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:51)
at com.google.gwt.dev.shell.ie.SwtOleGlue.convertVariantsToObjects(SwtOleGlue.java:57)
at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:119)
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.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:67)
number: -2146828279
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:487)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:255)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:105)
at com.extjs.gxt.ui.client.XDOM.getViewportSize(XDOM.java:188)
at com.extjs.gxt.ui.client.core.El.getConstrainToXY(El.java:2377)
at com.extjs.gxt.ui.client.core.El.adjustForConstraints(El.java:170)
at com.extjs.gxt.ui.client.widget.tips.Tip.showAt(Tip.java:144)
at com.extjs.gxt.ui.client.widget.tips.ToolTip.showAt(ToolTip.java:145)
at com.extjs.gxt.ui.client.widget.tips.Tip.showAt(Tip.java:154)
at com.extjs.gxt.ui.client.widget.tips.ToolTip.show(ToolTip.java:139)