Using Smart GWT 3.0 nightly build. Power version.
Using hibernate-based data sources to populate my data grids.
My data grids are using paging with data page size = 50.
Based on selections in my UI, the grids are re-freshed (calling grid.fetchData). Many of my tables have less than 50 records and in Eclipse/Google Development tab I see a collection of WARN statements saying the endRows are being clamped at the total record size:
Exception:
Stack Trace:
I have two questions:
1) Why doesn't the Smart GWT backend just set endRows to the total record size and NOT write the WARN message? In my own custom DMI handlers, I set DSResponse.setEndRow so was wondering if Smart GWT backend does indeed do this and, if it does.
2) Will that WARN message affect production performance? And if so, is there any way to turn off the WARN messages.
Thanks in Advance!
Using hibernate-based data sources to populate my data grids.
My data grids are using paging with data page size = 50.
Based on selections in my UI, the grids are re-freshed (calling grid.fetchData). Many of my tables have less than 50 records and in Eclipse/Google Development tab I see a collection of WARN statements saying the endRows are being clamped at the total record size:
Exception:
Code:
[ERROR] [SNAP] - 19:15:54.208:XRP0:WARN:ResultSet:isc_ResultSet_7 (created by: isc_ListGrid_4):fetchData callback: dsResponse.endRow set to:35. dsResponse.totalRows set to:2. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (2).
Code:
com.smartgwt.client.core.JsObject$SGWT_WARN: 19:15:54.208:XRP0:WARN:ResultSet:isc_ResultSet_7 (created by: isc_ListGrid_4):fetchData callback: dsResponse.endRow set to:35. dsResponse.totalRows set to:2. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (2). 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.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(Thread.java:680)
1) Why doesn't the Smart GWT backend just set endRows to the total record size and NOT write the WARN message? In my own custom DMI handlers, I set DSResponse.setEndRow so was wondering if Smart GWT backend does indeed do this and, if it does.
2) Will that WARN message affect production performance? And if so, is there any way to turn off the WARN messages.
Thanks in Advance!
Comment