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] Assigned: (JDO-227) ClassCastExcption on reading JDO metadata in TestMapStringValueCollections
Date Fri, 02 Dec 2005 17:18:30 GMT
     [ http://issues.apache.org/jira/browse/JDO-227?page=all ]

Michelle Caisse reassigned JDO-227:
-----------------------------------

    Assign To: Andy Jefferson  (was: Michelle Caisse)

> ClassCastExcption on reading JDO metadata in TestMapStringValueCollections
> --------------------------------------------------------------------------
>
>          Key: JDO-227
>          URL: http://issues.apache.org/jira/browse/JDO-227
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michelle Caisse
>     Assignee: Andy Jefferson

>
> This is strange because there is no error during enhancement.
> [java] 1) test(org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections)javax.jdo.JDOException:
Cannot read the JDO Meta-Data file "<input stream> java.lang.ClassCastException"
> [java]      at org.jpox.metadata.MetaDataParser.parseMetaDataStream(MetaDataParser.java:174)
> [java]      at org.jpox.metadata.MetaDataParser.parseMetaData(MetaDataParser.java:107)
> [java]      at org.jpox.metadata.MetaDataManager.parseFile(MetaDataManager.java:711)
> [java]      at org.jpox.metadata.MetaDataManager.loadMetaDataForClass(MetaDataManager.java:1371)
> [java]      at org.jpox.metadata.MetaDataManager.addORMDataToClass(MetaDataManager.java:894)
> [java]      at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:432)
> [java]      at org.jpox.metadata.MetaDataManager.populateClassesInFile(MetaDataManager.java:853)
> [java]      at org.jpox.metadata.MetaDataManager.loadMetaDataForClass(MetaDataManager.java:1377)
> [java]      at org.jpox.metadata.MetaDataManager.getFileMetaDataForClass(MetaDataManager.java:529)
> [java]      at org.jpox.metadata.MetaDataManager.getMetaDataForClassOrInterface(MetaDataManager.java:467)
> [java]      at org.jpox.metadata.MetaDataManager.getClassMetaData(MetaDataManager.java:432)
> [java]      at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:347)
> [java]      at org.jpox.AbstractPersistenceManager.hasMetaDataForPersistenceCapableClass(AbstractPersistenceManager.java:3754)
> [java]      at org.jpox.AbstractPersistenceManager.assertPersistenceCapable(AbstractPersistenceManager.java:3802)
> [java]      at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:983)
> [java]      at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1099)
> [java]      at org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections.runTest(TestMapStringValueCollections.java:105)
> [java]      at org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections.test(TestMapStringValueCollections.java:76)
> [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
> [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)
> [java] NestedThrowablesStackTrace:
> [java] java.lang.ClassCastException
> [java]      at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:658)
> [java]      at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
> [java]      at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
> [java]      at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> [java]      at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
> [java]      at org.jpox.metadata.MetaDataParser.parseMetaDataStream(MetaDataParser.java:162)
> [java]      at org.jpox.metadata.MetaDataParser.parseMetaData(MetaDataParser.java:107)
> [java]      at org.jpox.metadata.MetaDataManager.parseFile(MetaDataManager.java:711)
> [java]      at org.jpox.metadata.MetaDataManager.loadMetaDataForClass(MetaDataManager.java:1371)
> [java]      at org.jpox.metadata.MetaDataManager.addORMDataToClass(MetaDataManager.java:894)
> [java]      at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:432)
> [java]      at org.jpox.metadata.MetaDataManager.populateClassesInFile(MetaDataManager.java:853)
> [java]      at org.jpox.metadata.MetaDataManager.loadMetaDataForClass(MetaDataManager.java:1377)
> [java]      at org.jpox.metadata.MetaDataManager.getFileMetaDataForClass(MetaDataManager.java:529)
> [java]      at org.jpox.metadata.MetaDataManager.getMetaDataForClassOrInterface(MetaDataManager.java:467)
> [java]      at org.jpox.metadata.MetaDataManager.getClassMetaData(MetaDataManager.java:432)
> [java]      at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:347)
> [java]      at org.jpox.AbstractPersistenceManager.hasMetaDataForPersistenceCapableClass(AbstractPersistenceManager.java:3754)
> [java]      at org.jpox.AbstractPersistenceManager.assertPersistenceCapable(AbstractPersistenceManager.java:3802)
> [java]      at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:983)
> [java]      at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1099)
> [java]      at org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections.runTest(TestMapStringValueCollections.java:105)
> [java]      at org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections.test(TestMapStringValueCollections.java:76)
> [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
> [java]      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