When using LiveGridView and the result set returned is empty, a java.lang.AssertionError in StoreAddEvent occurs because items.size() = 0.
The exception does not occur as long as the result set returned has at least one item
This is an issue in applications where the source for the result set may not always be populated with data.
Occurs in when deployed to Tomcat (web mode), and when running under Eclipse (dev mode).
Steps to Reproduce
The attached java class file (ExampleServiceImpl.txt) can be used to demonstrate the problem.
This is the java class that is used for returning result sets to the Live Grid demo in the Sencha Explorer application. The class was modified on lines 127 thru 136 so that on every 3rd GWT RPC call an empty result set is returned.
Replace the same class in the Sencha Explorer application with the attached java class file (ExampleServiceImpl.txt) and launch Explorer.
Use the Navigation tree on the left to invoke the Live Grid demo.
You will encounter the exception by moving the scroll button on the right of the Live Grid up or down 3 times or more to initiate GWT RPC calls to the modified version of ExampleServiceImpl.
Please let me know if I am doing anything wrong in the code in the attached file or if there is a work around.