RemoteIncrementalFaultList used in paginated client queries throws IllegalArgumentException when page size exceeds list size
----------------------------------------------------------------------------------------------------------------------------
Key: CAY-497
URL: http://objectstyle.org/jira/browse/CAY-497
Project: Cayenne
Type: Bug
Components: Cayenne Core Library
Versions: 1.2 [BETA]
Reporter: Andrus Adamchik
Assigned to: Andrus Adamchik
Fix For: 1.2 [BETA]
java.lang.IllegalArgumentException: Page size must be positive: 26
at org.objectstyle.cayenne.remote.RemoteIncrementalFaultList.<init>(RemoteIncrementalFaultList.java:145)
at org.objectstyle.cayenne.remote.RemoteIncrementalFaultListTst.prepareList(RemoteIncrementalFaultListTst.java:109)
at org.objectstyle.cayenne.remote.RemoteIncrementalFaultListTst.testIterator(RemoteIncrementalFaultListTst.java:247)
at org.objectstyle.cayenne.remote.RemoteIncrementalFaultListTst.testIteratorPageSize26(RemoteIncrementalFaultListTst.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://objectstyle.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Fri Apr 07 2006 - 03:29:32 EDT