db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michelle Caisse (JIRA)" <j...@apache.org>
Subject [jira] Created: (JDO-536) Exception during TearDown: org.jpox.sco.HashMap cannot be cast to org.jpox.sco.Map
Date Fri, 28 Sep 2007 18:14:50 GMT
Exception during TearDown: org.jpox.sco.HashMap cannot be cast to org.jpox.sco.Map
----------------------------------------------------------------------------------

                 Key: JDO-536
                 URL: https://issues.apache.org/jira/browse/JDO-536
             Project: JDO
          Issue Type: Bug
          Components: tck2
    Affects Versions: JDO 2 maintenance release 1
            Reporter: Michelle Caisse
            Assignee: Andy Jefferson


Exception on teardown in companyAnnotatedAllRelationshipsPCConcrete.conf, datastore identity
only, causes succeeding tests to fail.

10:48:14,609 (main) INFO  [org.apache.jdo.tck] - Exception during setUp or runtest: 
java.lang.ArrayIndexOutOfBoundsException: 0
	at org.jpox.state.AbstractStateManager.replacingLongField(AbstractStateManager.java:850)
	at org.apache.jdo.tck.pc.company.Address.jdoReplaceField(Address.java)
	at org.jpox.state.JDOStateManagerImpl.replaceField(JDOStateManagerImpl.java:2521)
	at org.jpox.state.JDOStateManagerImpl.replaceField(JDOStateManagerImpl.java:2400)
	at org.jpox.store.mapping.EmbeddedMapping.getObject(EmbeddedMapping.java:499)
	at org.jpox.store.rdbms.fieldmanager.ResultSetGetter.fetchObjectField(ResultSetGetter.java:111)
	at org.jpox.state.AbstractStateManager.replacingObjectField(AbstractStateManager.java:898)
	at org.apache.jdo.tck.pc.companyAnnotatedPC.PCDSCompany.jdoReplaceField(PCDSCompany.java)
	at org.apache.jdo.tck.pc.companyAnnotatedPC.PCDSCompany.jdoReplaceFields(PCDSCompany.java)
	at org.jpox.state.JDOStateManagerImpl.replaceFields(JDOStateManagerImpl.java:2606)
	at org.jpox.state.JDOStateManagerImpl.replaceFields(JDOStateManagerImpl.java:2625)
	at org.jpox.store.rdbms.request.FetchRequest.execute(FetchRequest.java:238)
	at org.jpox.store.rdbms.table.ClassTable.fetch(ClassTable.java:2772)
	at org.jpox.store.MappedStoreManager.fetchObject(MappedStoreManager.java:218)
	at org.jpox.state.JDOStateManagerImpl.loadSpecifiedFields(JDOStateManagerImpl.java:1415)
	at org.jpox.state.JDOStateManagerImpl.isLoaded(JDOStateManagerImpl.java:1759)
	at org.apache.jdo.tck.pc.companyAnnotatedPC.PCDSCompany.getAddress(PCDSCompany.java)
	at org.apache.jdo.tck.pc.company.Company.deepCompareFields(Company.java:225)
	at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:109)
	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:597)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
	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 junit.textui.TestRunner.doRun(TestRunner.java:116)
	at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)
10:48:14,703 (main) INFO  [org.apache.jdo.tck] - Exception during localTearDown: 
javax.jdo.JDOUserException: One or more instances could not be deleted
	at org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:766)
	at org.apache.jdo.tck.JDO_Test.deleteTearDownClasses(JDO_Test.java:436)
	at org.apache.jdo.tck.JDO_Test.localTearDown(JDO_Test.java:358)
	at org.apache.jdo.tck.JDO_Test.tearDown(JDO_Test.java:325)
	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:268)
	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 junit.textui.TestRunner.doRun(TestRunner.java:116)
	at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)
NestedThrowablesStackTrace:
java.lang.ClassCastException: org.jpox.sco.HashMap cannot be cast to org.jpox.sco.Map
	at org.jpox.store.mapping.MapMapping.preDelete(MapMapping.java:269)
	at org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:158)
	at org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2831)
	at org.jpox.store.MappedStoreManager.deleteObject(MappedStoreManager.java:290)
	at org.jpox.state.JDOStateManagerImpl.internalDeletePersistent(JDOStateManagerImpl.java:3946)
	at org.jpox.state.JDOStateManagerImpl.deletePersistent(JDOStateManagerImpl.java:3915)
	at org.jpox.ObjectManagerImpl.deleteObjectInternal(ObjectManagerImpl.java:1292)
	at org.jpox.ObjectManagerImpl.deleteObject(ObjectManagerImpl.java:1231)
	at org.jpox.AbstractPersistenceManager.jdoDeletePersistent(AbstractPersistenceManager.java:711)
	at org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:757)
	at org.apache.jdo.tck.JDO_Test.deleteTearDownClasses(JDO_Test.java:436)
	at org.apache.jdo.tck.JDO_Test.localTearDown(JDO_Test.java:358)
	at org.apache.jdo.tck.JDO_Test.tearDown(JDO_Test.java:325)
	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:268)
	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 junit.textui.TestRunner.doRun(TestRunner.java:116)
	at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)
java.lang.ClassCastException: org.jpox.sco.HashMap cannot be cast to org.jpox.sco.Map
	at org.jpox.store.mapping.MapMapping.preDelete(MapMapping.java:269)
	at org.jpox.store.rdbms.request.DeleteRequest.execute(DeleteRequest.java:158)
	at org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java:2831)
	at org.jpox.store.MappedStoreManager.deleteObject(MappedStoreManager.java:290)
	at org.jpox.state.JDOStateManagerImpl.internalDeletePersistent(JDOStateManagerImpl.java:3946)
	at org.jpox.state.JDOStateManagerImpl.deletePersistent(JDOStateManagerImpl.java:3915)
	at org.jpox.ObjectManagerImpl.deleteObjectInternal(ObjectManagerImpl.java:1292)
	at org.jpox.ObjectManagerImpl.deleteObject(ObjectManagerImpl.java:1231)
	at org.jpox.AbstractPersistenceManager.jdoDeletePersistent(AbstractPersistenceManager.java:711)
	at org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:757)
	at org.apache.jdo.tck.JDO_Test.deleteTearDownClasses(JDO_Test.java:436)
	at org.apache.jdo.tck.JDO_Test.localTearDown(JDO_Test.java:358)
	at org.apache.jdo.tck.JDO_Test.tearDown(JDO_Test.java:325)
	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:268)
	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 junit.textui.TestRunner.doRun(TestRunner.java:116)
	at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message