[OS-JIRA] Created: (CAY-496) RemoteIncrementalFaultList used in paginated client queries throws CayenneRuntimeException when list size is equal to page isze

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Fri Apr 07 2006 - 03:24:49 EDT

  • Next message: Andrus Adamchik (JIRA): "[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 CayenneRuntimeException when list size is equal to page isze
    -------------------------------------------------------------------------------------------------------------------------------

             Key: CAY-496
             URL: http://objectstyle.org/jira/browse/CAY-496
         Project: Cayenne
            Type: Bug
      Components: Cayenne Core Library
        Versions: 1.2 [BETA]
        Reporter: Andrus Adamchik
     Assigned to: Andrus Adamchik
         Fix For: 1.2 [BETA]

    org.objectstyle.cayenne.CayenneRuntimeException: [v..AYENNE_VERSION@ @CAYENNE_BUILD_DATE@] Expected org.objectstyle.cayenne.util.IncrementalListResponse response for paginated query. Got: org.objectstyle.cayenne.util.GenericResponse@dee1b4
            at org.objectstyle.cayenne.remote.RemoteIncrementalFaultList.<init>(RemoteIncrementalFaultList.java:150)
            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.testIteratorPageSize25(RemoteIncrementalFaultListTst.java:133)
            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:25 EDT