You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@objectstyle.org> on 2006/04/07 09:26:49 UTC

[OS-JIRA] Created: (CAY-497) RemoteIncrementalFaultList used in paginated client queries throws IllegalArgumentException when page size exceeds list size

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