db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Watzek <mwa.t...@spree.de>
Subject Re: JPOX bug in nightly build ?
Date Tue, 18 Oct 2005 08:36:53 GMT
Hi Erik,

today's rebuild has the following results: 22 of 28 configurations failed.

The results on alltests.conf are:

derby-app-alltests-junit.txt:
     ** Tests run: 413, Time: 236 seconds. Failures: 8, Errors: 75

derby-dsid-alltests-junit.txt:
     ** Tests run: 413, Time: 231 seconds. Failures: 7, Errors: 91

Did you you include the missing file in the latest JPOX build?

Regards,
Michael

> There is one file missing in the build. I will take a look later tonight
> 
> Quoting Michael Watzek <mwa.tech@spree.de>:
> 
> 
>>Hi Erik, Andy,
>>
>>when I run the TCK using the nightly build (10/17) the I get an
>>exception during pm.makePersistent (see below). Is the latest build
>>corrupt ?
>>
>>Regards,
>>Michael
>>
>>1)
>>test(org.apache.jdo.tck.mapping.CompletenessTest)javax.jdo.JDOUserException:
>>One or more instances could not be made persistent
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.makePersistentAll(AbstractPersistenceManager.java:1158)
> 
>>     at
>>
> 
> org.apache.jdo.tck.mapping.CompletenessTest.localSetUp(CompletenessTest.java:80)
> 
>>     at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:187)
>>     at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
>>     at
>>org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
>>     at
>>org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)
>>NestedThrowablesStackTrace:
>>javax.jdo.JDOUserException
>>     at
>>
> 
> org.jpox.store.rdbms.mapping.RDBMSMappingManager.initialise(RDBMSMappingManager.java:38)
> 
>>     at
>>
> 
> org.jpox.store.rdbms.mapping.CloudscapeRDBMSMappingManager.initialise(CloudscapeRDBMSMappingManager.java:25)
> 
>>     at
>>
> 
> org.jpox.store.AbstractDatastoreAdapter.getMappingManager(AbstractDatastoreAdapter.java:103)
> 
>>     at
>>org.jpox.store.rdbms.table.ClassTable.initializePK(ClassTable.java:569)
>>     at
>>org.jpox.store.rdbms.table.ClassTable.preInitilize(ClassTable.java:226)
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTables(RDBMSManager.java:2240)
> 
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:2401)
> 
>>     at
>>org.jpox.store.rdbms.RDBMSManager$ClassAdder.execute(RDBMSManager.java:2060)
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:1933)
> 
>>     at org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:496)
>>     at org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:509)
>>     at
>>org.jpox.store.rdbms.RDBMSManager.getDatastoreClass(RDBMSManager.java:824)
>>     at
>>
> 
> org.jpox.state.StateManagerImpl.populateStrategyFields(StateManagerImpl.java:776)
> 
>>     at org.jpox.state.StateManagerImpl.<init>(StateManagerImpl.java:579)
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1045)
> 
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1101)
> 
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.makePersistentAll(AbstractPersistenceManager.java:1149)
> 
>>     at
>>
> 
> org.apache.jdo.tck.mapping.CompletenessTest.localSetUp(CompletenessTest.java:80)
> 
>>     at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:187)
>>     at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
>>     at
>>org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
>>     at
>>org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)
>>javax.jdo.JDOFatalInternalException: Failed to generate new Mapping of
>>type org.jpox.store.mapping.LongMapping for table
>>applicationidentity1.COMPANIES, field companyid, exception : null
>>java.lang.NullPointerException
>>     at
>>
> 
> org.jpox.store.rdbms.mapping.AbstractRDBMSMappingManager.getDatastoreMappingClass(AbstractRDBMSMappingManager.java:289)
> 
>>     at
>>
> 
> org.jpox.store.rdbms.mapping.AbstractRDBMSMappingManager.getDatastoreMapping(AbstractRDBMSMappingManager.java:474)
> 
>>     at
>>
> 
> org.jpox.store.mapping.SingleFieldMapping.prepareDatastoreMapping(SingleFieldMapping.java:78)
> 
>>     at
>>org.jpox.store.mapping.SingleFieldMapping.<init>(SingleFieldMapping.java:50)
>>     at org.jpox.store.mapping.LongMapping.<init>(LongMapping.java:41)
>>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>>Method)
>>     at
>>
> 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 
>>     at
>>
> 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 
>>     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>>     at
>>org.jpox.store.mapping.MappingFactory.createMapping(MappingFactory.java:102)
>>     at
>>
> 
> org.jpox.store.mapping.AbstractMappingManager.getMapping(AbstractMappingManager.java:287)
> 
>>     at
>>org.jpox.store.rdbms.table.ClassTable.initializePK(ClassTable.java:569)
>>     at
>>org.jpox.store.rdbms.table.ClassTable.preInitilize(ClassTable.java:226)
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTables(RDBMSManager.java:2240)
> 
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:2401)
> 
>>     at
>>org.jpox.store.rdbms.RDBMSManager$ClassAdder.execute(RDBMSManager.java:2060)
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:1933)
> 
>>     at org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:496)
>>     at org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:509)
>>     at
>>org.jpox.store.rdbms.RDBMSManager.getDatastoreClass(RDBMSManager.java:824)
>>     at
>>
> 
> org.jpox.state.StateManagerImpl.populateStrategyFields(StateManagerImpl.java:776)
> 
>>     at org.jpox.state.StateManagerImpl.<init>(StateManagerImpl.java:579)
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1045)
> 
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1101)
> 
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.makePersistentAll(AbstractPersistenceManager.java:1149)
> 
>>     at
>>
> 
> org.apache.jdo.tck.mapping.CompletenessTest.localSetUp(CompletenessTest.java:80)
> 
>>     at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:187)
>>     at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
>>     at
>>org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
>>     at
>>org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)
>>
>>     at
>>org.jpox.store.mapping.MappingFactory.createMapping(MappingFactory.java:115)
>>     at
>>
> 
> org.jpox.store.mapping.AbstractMappingManager.getMapping(AbstractMappingManager.java:287)
> 
>>     at
>>org.jpox.store.rdbms.table.ClassTable.initializePK(ClassTable.java:569)
>>     at
>>org.jpox.store.rdbms.table.ClassTable.preInitilize(ClassTable.java:226)
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTables(RDBMSManager.java:2240)
> 
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:2401)
> 
>>     at
>>org.jpox.store.rdbms.RDBMSManager$ClassAdder.execute(RDBMSManager.java:2060)
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:1933)
> 
>>     at org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:496)
>>     at org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:509)
>>     at
>>org.jpox.store.rdbms.RDBMSManager.getDatastoreClass(RDBMSManager.java:824)
>>     at
>>
> 
> org.jpox.state.StateManagerImpl.populateStrategyFields(StateManagerImpl.java:776)
> 
>>     at org.jpox.state.StateManagerImpl.<init>(StateManagerImpl.java:579)
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1045)
> 
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1101)
> 
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.makePersistentAll(AbstractPersistenceManager.java:1149)
> 
>>     at
>>
> 
> org.apache.jdo.tck.mapping.CompletenessTest.localSetUp(CompletenessTest.java:80)
> 
>>     at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:187)
>>     at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
>>     at
>>org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
>>     at
>>org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)
>>NestedThrowablesStackTrace:
>>java.lang.NullPointerException
>>     at
>>
> 
> org.jpox.store.rdbms.mapping.AbstractRDBMSMappingManager.getDatastoreMappingClass(AbstractRDBMSMappingManager.java:289)
> 
>>     at
>>
> 
> org.jpox.store.rdbms.mapping.AbstractRDBMSMappingManager.getDatastoreMapping(AbstractRDBMSMappingManager.java:474)
> 
>>     at
>>
> 
> org.jpox.store.mapping.SingleFieldMapping.prepareDatastoreMapping(SingleFieldMapping.java:78)
> 
>>     at
>>org.jpox.store.mapping.SingleFieldMapping.<init>(SingleFieldMapping.java:50)
>>     at org.jpox.store.mapping.LongMapping.<init>(LongMapping.java:41)
>>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>>Method)
>>     at
>>
> 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 
>>     at
>>
> 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 
>>     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>>     at
>>org.jpox.store.mapping.MappingFactory.createMapping(MappingFactory.java:102)
>>     at
>>
> 
> org.jpox.store.mapping.AbstractMappingManager.getMapping(AbstractMappingManager.java:287)
> 
>>     at
>>org.jpox.store.rdbms.table.ClassTable.initializePK(ClassTable.java:569)
>>     at
>>org.jpox.store.rdbms.table.ClassTable.preInitilize(ClassTable.java:226)
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTables(RDBMSManager.java:2240)
> 
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:2401)
> 
>>     at
>>org.jpox.store.rdbms.RDBMSManager$ClassAdder.execute(RDBMSManager.java:2060)
>>     at
>>
> 
> org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:1933)
> 
>>     at org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:496)
>>     at org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:509)
>>     at
>>org.jpox.store.rdbms.RDBMSManager.getDatastoreClass(RDBMSManager.java:824)
>>     at
>>
> 
> org.jpox.state.StateManagerImpl.populateStrategyFields(StateManagerImpl.java:776)
> 
>>     at org.jpox.state.StateManagerImpl.<init>(StateManagerImpl.java:579)
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1045)
> 
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1101)
> 
>>     at
>>
> 
> org.jpox.AbstractPersistenceManager.makePersistentAll(AbstractPersistenceManager.java:1149)
> 
>>     at
>>
> 
> org.apache.jdo.tck.mapping.CompletenessTest.localSetUp(CompletenessTest.java:80)
> 
>>     at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:187)
>>     at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
>>     at
>>org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
>>     at
>>org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)
>>--
>>-------------------------------------------------------------------
>>Michael Watzek                  Tech@Spree Engineering GmbH
>>mailto:mwa.tech@spree.de        Buelowstr. 66
>>Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
>>Fax.:  ++49/30/217 520 12       http://www.spree.de/
>>-------------------------------------------------------------------
>>
> 
> 
> 


-- 
-------------------------------------------------------------------
Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------

Mime
View raw message