Hi all,
I get the following error while fetching data to get second page (first one is OK !).
This is the request content I get from restDatasource :
This is part of my response, displayed correctly :
Then I get this message as soon as I scroll down
This is the second request I get from RestDatasource :
So error occured before the second fetch request is send back to the server ! Any idea ?
I get the following error while fetching data to get second page (first one is OK !).
This is the request content I get from restDatasource :
Code:
_componentId=isc_OID_1 _sortBy=id _operationType=fetch _startRow=0 _endRow=20 _dataSource=contacts
Code:
<response>
<status>0</status>
<startRow>0</startRow>
<endRow>20</endRow>
<totalRows>809</totalRows>
<data>
<Record>
<id>1</id>
<FirstName>Francois</FirstName>
<LastName>Louis</LastName>
<Email>Christophe@yahoo.com</Email>
</Record>
<Record>
<id>2</id>
<FirstName>Ludivine</FirstName>
<LastName>Isabelle</LastName>
<Email>Kevin@yahoo.com</Email>
</Record>
[...]
<Record>
<id>21</id>
<FirstName>Gérard</FirstName>
<LastName>Francois</LastName>
<Email>Ludivine@yahoo.com</Email>
</Record>
</data>
</response>
Code:
java.lang.ClassCastException at java.lang.Class.cast(Unknown Source) at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:125) 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.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.GWTShell.pumpEventLoop(GWTShell.java:720) at com.google.gwt.dev.GWTShell.run(GWTShell.java:593) at com.google.gwt.dev.GWTShell.main(GWTShell.java:357) Uncaught JavaScript exception [java.lang.ClassCastException: null at java.lang.Class.cast(Unknown Source) at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:125) 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.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.GWTShell.pumpEventLoop(GWTShell.java:720) at com.google.gwt.dev.GWTShell.run(GWTShell.java:593) at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)] in http://localhost:8888/com
Code:
_componentId=isc_OID_1 _sortBy=id _operationType=fetch _startRow=21 _endRow=41 _dataSource=contacts
Comment