db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <mbo.t...@spree.de>
Subject Patch to comment out interface definitions (was: Minutes: JDO TCK Conference Call Friday, Mar 10, 9 am PST)
Date Sat, 11 Mar 2006 11:44:35 GMT
Hi,

> 1. Test status (Michelle) 1218 tests run, 25 failures 400 errors.  
> This is a regression from last week due to the metadata interface  
> element not being parsed correctly. Without this error, 1218 tests,  
> 21 failures, 32 errors.
> These numbers reflect the additional test cases completed this week.  
> AI Michael: send a patch to jdo-dev alias that comments out the  
> interface definitions in the metadata files.

attached you find a patch metadata-interface.patch that comments out the 
interface elements in the .jdo and .orm metadata of the company model. 
W/o the patch tests using the company model run into an exception (see 
below). The patch is only for temporary use until JPOX has fixed the 
issue with parsing the interface elements in the JDO metadata.

Regards Michael

1) 
testPositive(org.apache.jdo.tck.query.api.ChangeQuery)javax.jdo.JDOUserException: 
One or more instances could not be made persistent
    at 
org.jpox.AbstractPersistenceManager.makePersistentAll(AbstractPersistenceManager.java:1217)
    at 
org.apache.jdo.tck.query.QueryTest.makePersistentAll(QueryTest.java:225)
    at 
org.apache.jdo.tck.query.QueryTest.loadAndPersistCompanyModel(QueryTest.java:201)
    at 
org.apache.jdo.tck.query.api.ChangeQuery.localSetUp(ChangeQuery.java:102)
    at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:199)
    at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:215)
    at 
org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:92)
    at 
org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:129)
    at 
org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:104)
NestedThrowablesStackTrace:
javax.jdo.JDOException: Cannot read the JDO Meta-Data file "<input 
stream> java.lang.NullPointerException"
    at 
org.jpox.metadata.MetaDataParser.parseMetaDataStream(MetaDataParser.java:174)
    at 
org.jpox.metadata.MetaDataParser.parseMetaData(MetaDataParser.java:107)
    at 
org.jpox.metadata.MetaDataManager.parseFile(MetaDataManager.java:1131)
    at 
org.jpox.metadata.MetaDataManager.loadMetaDataForClass(MetaDataManager.java:1319)
    at 
org.jpox.metadata.MetaDataManager.getMetaDataForClassOrInterface(MetaDataManager.java:503)
    at 
org.jpox.metadata.MetaDataManager.getMetaDataForClassInternal(MetaDataManager.java:464)
    at 
org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:353)
    at 
org.jpox.AbstractPersistenceManager.hasMetaDataForPersistenceCapableClass(AbstractPersistenceManager.java:3887)
    at 
org.jpox.AbstractPersistenceManager.assertPersistenceCapable(AbstractPersistenceManager.java:3935)
    at 
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1045)
    at 
org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1167)
    at 
org.jpox.AbstractPersistenceManager.makePersistentAll(AbstractPersistenceManager.java:1207)
    at 
org.apache.jdo.tck.query.QueryTest.makePersistentAll(QueryTest.java:225)
    at 
org.apache.jdo.tck.query.QueryTest.loadAndPersistCompanyModel(QueryTest.java:201)
    at 
org.apache.jdo.tck.query.api.ChangeQuery.localSetUp(ChangeQuery.java:102)
    at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:199)
    at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:215)
    at 
org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:92)
    at 
org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:129)
    at 
org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:104)
NestedThrowablesStackTrace:
java.lang.NullPointerException
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
    at 
org.jpox.metadata.MetaDataParser.parseMetaDataStream(MetaDataParser.java:162)
    at 
org.jpox.metadata.MetaDataParser.parseMetaData(MetaDataParser.java:107)
    at 
org.jpox.metadata.MetaDataManager.parseFile(MetaDataManager.java:1131)
    at 
org.jpox.metadata.MetaDataManager.loadMetaDataForClass(MetaDataManager.java:1319)
    at 
org.jpox.metadata.MetaDataManager.getMetaDataForClassOrInterface(MetaDataManager.java:503)
    at 
org.jpox.metadata.MetaDataManager.getMetaDataForClassInternal(MetaDataManager.java:464)
    at 
org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:353)
    at 
org.jpox.AbstractPersistenceManager.hasMetaDataForPersistenceCapableClass(AbstractPersistenceManager.java:3887)
    at 
org.jpox.AbstractPersistenceManager.assertPersistenceCapable(AbstractPersistenceManager.java:3935)
    at 
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1045)
    at 
org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1167)
    at 
org.jpox.AbstractPersistenceManager.makePersistentAll(AbstractPersistenceManager.java:1207)
    at 
org.apache.jdo.tck.query.QueryTest.makePersistentAll(QueryTest.java:225)
    at 
org.apache.jdo.tck.query.QueryTest.loadAndPersistCompanyModel(QueryTest.java:201)
    at 
org.apache.jdo.tck.query.api.ChangeQuery.localSetUp(ChangeQuery.java:102)
    at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:199)
    at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:215)
    at 
org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:92)
    at 
org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:129)
    at 
org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:104)



-- 
Michael Bouschen		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66			
Fax.:++49/30/2175 2012		D-10783 Berlin			


Mime
View raw message