Hi Erik,The reason I thought the error to be strange is that the assertion seems to be reversed. Instead of assertIsUnmodifiable, I'd think the assertion would be assertIsModifiable, since we're trying to modify the query.
I'll do some more testing and see if I can reliably reproduce the error. Craig On Mar 1, 2006, at 1:25 AM, [EMAIL PROTECTED] wrote:
Yes, sometimes. This exception is used for internal sanity test. Is this a newtest case? Quoting Craig L Russell <[EMAIL PROTECTED]>:Anyone seen this before? [java] 1) testPositive(org.apache.jdo.tck.query.api.ChangeQuery) javax.jdo.JDOUserException: This query is in an unmodifiable state. It's structure cannot be changed [java] at org.jpox.store.query.Query.assertIsUnmodifiable (Query.java:702)[java] at org.jpox.store.query.Query.setResult (Query.java:599)[java] at org.apache.jdo.tck.query.api.ChangeQuery.testPositive (ChangeQuery.java:64) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)[java] at org.apache.jdo.tck.JDO_Test.runBare (JDO_Test.java:204) [java] at org.apache.jdo.tck.util.BatchTestRunner.start (BatchTestRunner.java:120) [java] at org.apache.jdo.tck.util.BatchTestRunner.main (BatchTestRunner.java:95) Craig Craig RussellArchitect, Sun Java Enterprise System http://java.sun.com/products/ jdo408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
