openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject test errors
Date Wed, 20 Oct 2010 20:19:35 GMT
Hi!

While compiling the latest 2.0.x branch, I got the following test errors on openjpa-xmlstore:

Tests in error: 
  testQuery(org.apache.openjpa.xmlstore.simple.TestPersistence)
  testNewDeleteNew(org.apache.openjpa.xmlstore.simple.TestPersistence)

    <error type="&lt;openjpa-2.0.2-SNAPSHOT-r422266:1023072">&lt;openjpa-2.0.2-SNAPSHOT-r422266:1023072
fatal store error&gt; org.apache.openjpa.persistence.RollbackException: null
        at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:584)
        at org.apache.openjpa.xmlstore.simple.TestPersistence.testQuery(TestPersistence.java:65)
        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.openjpa.persistence.test.AbstractPersistenceTestCase.runTest(AbstractPersistenceTestCase.java:516)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:503)
        at org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:479)

...
Caused by: java.lang.NullPointerException
        at org.apache.openjpa.xmlstore.XMLFileHandler$ObjectDataHandler.endElement(XMLFileHandler.java:435)
        at org.apache.openjpa.xmlstore.XMLFileHandler$ObjectDataHandler.endElement(XMLFileHandler.java:407)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:331)
        at org.apache.openjpa.xmlstore.XMLFileHandler.read(XMLFileHandler.java:106)
        at org.apache.openjpa.xmlstore.XMLFileHandler.load(XMLFileHandler.java:89)


2nd one is almost the same.

LieGrue,
strub







      

Mime
View raw message