db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (JDO-208) Unexpected error during precommit -- java.util.NoSuchElementException
Date Thu, 10 Nov 2005 06:55:04 GMT
     [ http://issues.apache.org/jira/browse/JDO-208?page=all ]

Andy Jefferson reassigned JDO-208:
----------------------------------

    Assign To: Michelle Caisse  (was: Andy Jefferson)

This is now fixed in JPOX CVS - builds dated 11/11/2005 or later will have it. 
It brings us on to the next issue which seems to be in the schema. It inserts the row in the
main table HASHMAPSTRINGVALUE_COLLECTIONS, and then tries to insert into HASHMAP_BIG_DECIMAL45_STR
and throws a FK error (the FK back to the owner object). Is the "IDENTIFIER" join table column
being FK'd back to the main table "IDENTIFIER" column ?

> Unexpected error during precommit -- java.util.NoSuchElementException
> ---------------------------------------------------------------------
>
>          Key: JDO-208
>          URL: http://issues.apache.org/jira/browse/JDO-208
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michelle Caisse
>     Assignee: Michelle Caisse

>
> Tests affected:
>   TestHashMapStringValueCollections
>   TestHashtableStringValueCollections
>   TestTreeMapStringValueCollections
>   TestMapStringValueCollections
> test(org.apache.jdo.tck.models.fieldtypes.TestHashMapStringValueCollections)javax.jdo.JDOException:
Unexpected error during precommit
> 	at org.jpox.AbstractPersistenceManager.preCommit(AbstractPersistenceManager.java:3048)
> 	at org.jpox.NonmanagedTransaction.commit(NonmanagedTransaction.java:420)
> 	at org.apache.jdo.tck.models.fieldtypes.TestHashMapStringValueCollections.runTest(TestHashMapStringValueCollections.java:100)
> 	at org.apache.jdo.tck.models.fieldtypes.TestHashMapStringValueCollections.test(TestHashMapStringValueCollections.java:71)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> 	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
> 	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)
> NestedThrowablesStackTrace:
> java.util.NoSuchElementException
> 	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:785)
> 	at java.util.HashMap$KeyIterator.next(HashMap.java:818)
> 	at org.jpox.sco.HashMap.setValueFrom(HashMap.java:194)
> 	at org.jpox.sco.SCOUtils.newSCOInstance(SCOUtils.java:87)
> 	at org.jpox.state.StateManagerImpl.newSCOInstance(StateManagerImpl.java:2938)
> 	at org.jpox.state.StateManagerImpl.replaceSCOField(StateManagerImpl.java:2955)
> 	at org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:135)
> 	at org.jpox.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:2462)
> 	at org.apache.jdo.tck.pc.fieldtypes.HashMapStringValueCollections.jdoProvideField(HashMapStringValueCollections.java)
> 	at org.apache.jdo.tck.pc.fieldtypes.HashMapStringValueCollections.jdoProvideFields(HashMapStringValueCollections.java)
> 	at org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:2799)
> 	at org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:209)
> 	at org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:1931)
> 	at org.jpox.store.StoreManager.update(StoreManager.java:780)
> 	at org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:4336)
> 	at org.jpox.state.StateManagerImpl.runReachability(StateManagerImpl.java:3099)
> 	at org.jpox.AbstractPersistenceManager.preCommit(AbstractPersistenceManager.java:3001)
> 	at org.jpox.NonmanagedTransaction.commit(NonmanagedTransaction.java:420)
> 	at 
> org.apache.jdo.tck.models.fieldtypes.TestHashMapStringValueCollections.runTest(TestHashMapStringValueCollections.java:100)
> 	at org.apache.jdo.tck.models.fieldtypes.TestHashMapStringValueCollections.test(TestHashMapStringValueCollections.java:71)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> 	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
> 	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message