txs michael! I've seen the comment in the test and did a new build. And now it passed ;)
LieGrue, strub --- On Thu, 10/21/10, Michael Dick <[email protected]> wrote: > From: Michael Dick <[email protected]> > Subject: Re: test errors > To: [email protected] > Date: Thursday, October 21, 2010, 7:47 PM > Hi Mark, > > I've seen sporadic failures in the cache timeout tests > where an entity > hasn't been evicted by the time we check for it. We've > tried to minimize the > chances of hitting it, but apparently it's still there. > > Chances are good that it won't happen if you do another > build. > > Sorry for a vague answer, could you try again and let us > know if it > consistently fails? > > -mike > > On Thu, Oct 21, 2010 at 12:02 PM, Kevin Sutter <[email protected]> > wrote: > > > Hi, > > Just for another test, I just did a fresh svn update, > then ran "mvn clean > > install" and it all worked successfully. I am on > Windows XP with the IBM > > JDK 1.6 sr 8... Have you tried > refreshing from svn? I ran into a glitch > > a > > couple of weeks ago where my build didn't work just > because I refreshed at > > the "wrong time". Sorry, no other ideas at this > time. > > > > Kevin > > > > > > On Thu, Oct 21, 2010 at 3:11 AM, Mark Struberg <[email protected]> > wrote: > > > > > mvn clean install is now crashing with a > > > > > > Failed tests: > > > > testTimeouts1(org.apache.openjpa.persistence.datacache.TestSJVMCache) > > > > > > > > > [...@notenix 2.0.x]$ java -version > > > java version "1.6.0_21" > > > Java(TM) SE Runtime Environment (build > 1.6.0_21-b06) > > > Java HotSpot(TM) 64-Bit Server VM (build > 17.0-b16, mixed mode) > > > > > > <failure message="id 3 > > > > (org.apache.openjpa.persistence.datacache.common.apps.CacheObjectH-201) > > was > > > in cache; should not have been" > > > > > > type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: > > > id 3 > > > (org.apache.openjpa.persistence.datacache.common.apps.CacheObjectH-201) > > > was in cache; should not have been > > > at > junit.framework.Assert.fail(Assert.java:47) > > > at > junit.framework.Assert.assertTrue(Assert.java:20) > > > at > junit.framework.Assert.assertFalse(Assert.java:34) > > > at > > > > > > org.apache.openjpa.persistence.datacache.CacheTestHelper.checkCache(CacheTestHelper.java:44) > > > at > > > > > > org.apache.openjpa.persistence.datacache.CacheTest.checkCache(CacheTest.java:1374) > > > at > > > > > > org.apache.openjpa.persistence.datacache.CacheTest.timeoutsHelper(CacheTest.java:1057) > > > at > > > > > > org.apache.openjpa.persistence.datacache.CacheTest.timeoutsTest1(CacheTest.java:949) > > > at > > > > > > org.apache.openjpa.persistence.datacache.CacheTest.testTimeouts1(CacheTest.java:937) > > > > > > > > > LieGrue, > > > strub > > > > > > > > > --- On Wed, 10/20/10, Donald Woods <[email protected]> > wrote: > > > > > > > From: Donald Woods <[email protected]> > > > > Subject: Re: test errors > > > > To: [email protected] > > > > Date: Wednesday, October 20, 2010, 8:56 PM > > > > Which JDK? They're passing for > > > > me on Mac using 1.6.0_20. > > > > > > > > Do they still fail after running "mvn clean > install" to > > > > wipe the /target > > > > directory? > > > > > > > > > > > > -Donald > > > > > > > > > > > > On 10/20/10 4:19 PM, Mark Struberg wrote: > > > > > 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="<openjpa-2.0.2-SNAPSHOT-r422266:1023072"><openjpa-2.0.2-SNAPSHOT-r422266:1023072 > > > > fatal store error> > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
