Hi,
It seems that calling listGrid.getRecords() throws an ArrayStoreException if not all records in the ListGrid are loaded when the method is called:
20111028-12:57:38 FATAL (ServerLogImplLog4J.java:72) [btpool0-2] : Uncaught Exception:
com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses
at Unknown.$fillInStackTrace(StackTraceCreator.java:168)
at Unknown.fillInStackTrace(StackTraceCreator.java:421)
at Unknown.RuntimeException_1(Throwable.java:46)
at Unknown.UmbrellaException_1(UmbrellaException.java:37)
at Unknown.UmbrellaException_2(UmbrellaException.java:26)
at Unknown.$fireEvent(UmbrellaException.java:56)
at Unknown.$fireEvent_0(BaseWidget.java:67)
at Unknown.fireEvent_0(BaseWidget.java:65)
at Unknown.anonymous(ListGrid.java:9636)
at Unknown.apply(Impl.java:168)
at Unknown.entry0(Impl.java:213)
at Unknown.anonymous(Impl.java:57)
Caused by: java.lang.ArrayStoreException
at Unknown.$fillInStackTrace(StackTraceCreator.java:168)
at Unknown.fillInStackTrace(StackTraceCreator.java:421)
at Unknown.ArrayStoreException_0(Throwable.java:46)
at Unknown.setCheck(Array.java:191)
at Unknown.toArray(JSOHelper.java:347)
at Unknown.convertToListGridRecordArray(ListGrid.java:11345)
at Unknown.$getRecords(ListGrid.java:10704)
I’m not certain but I think this issue was only introduced recently (I upgraded to the 2011-10-28 nightly build) and was not there before. Please let me know if this is a known bug or if you require a standalone test case.
Thanks