
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
11/Nov/05 08:40 AM
|
|
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)
|
|
Description
|
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) |
Show » |
|
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 ?