From dev-return-20427-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Fri Apr 27 10:03:44 2012 Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 561A99E91 for ; Fri, 27 Apr 2012 10:03:44 +0000 (UTC) Received: (qmail 26898 invoked by uid 500); 27 Apr 2012 10:03:44 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 26805 invoked by uid 500); 27 Apr 2012 10:03:44 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 26795 invoked by uid 99); 27 Apr 2012 10:03:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2012 10:03:44 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.82.109.195] (HELO nm24-vm4.bullet.mail.ird.yahoo.com) (212.82.109.195) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 27 Apr 2012 10:03:35 +0000 Received: from [77.238.189.56] by nm24.bullet.mail.ird.yahoo.com with NNFMP; 27 Apr 2012 10:03:14 -0000 Received: from [212.82.108.248] by tm9.bullet.mail.ird.yahoo.com with NNFMP; 27 Apr 2012 10:03:14 -0000 Received: from [127.0.0.1] by omp1013.mail.ird.yahoo.com with NNFMP; 27 Apr 2012 10:03:14 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 169461.18793.bm@omp1013.mail.ird.yahoo.com Received: (qmail 31856 invoked by uid 60001); 27 Apr 2012 10:03:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1335520994; bh=emIQ40txI27dTR/vLk/Ey3xeFFpxfcuVnat7mpQwI0E=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XHJygImRWAO6sjZXZ5ru+lwY0Tl3GEty8V/ExXuPtgJmnNwnK01wMe4q9g++AV+UKMP18oAVkv1Wck+jsF5A8uM1MkfYoD9xO2PWqWlS6s2oOx5KRmy60vASxj0Oy051GjVEOwTYsBQ3sm7fjIrRkWeT/eALuKft4Nd5PFqRnnY= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=RS6a9mbjjFq8qifqtEmm+g5AQGgiSL32lxOTx2SVsHPquzZCAGMA/x0NMPeWjzSDbzwjckhTOjG4kL9VLufd3xAXX1+sgClQv4BSRW4seD3Rpl0lGAurjlUyZRwWVYWxN9vG4l95TqFAFFp7XwClWkGcXlIyiZ45Y0oudEi/Wug=; X-YMail-OSG: s3ebPfEVM1l2fe0Bkry9GssiPepmJcPP7FHMRmxs_RWUPTj L.QXp0prWVP6.IxxW5hylGBEuSM1zhf2j6GEbfa9Ro51A_CJm0cM2wQZHgH5 kq2NufeHEfp.NjeBy9injZvBpwvpOSNUFE23nu8mXcRCOc3LBPwdwUFIFR3m YAq.8BKqa_Tlml.T5Bx4MSTzVchEQgKt2VveIVr8LQ4QplkRCVL0_8qm0i_q kePPf4poo_CPjE2j8wgdeHf7OAAzj5.ponczGHPcMmPR6b9StrbskJ1U06pX XA_WJPq0IFlKWxFFEPZ041cfRC1SFnud7zGfKHCwpbNEzU5t3TQawaymUcXy Gua4dAT98vKevBeMcQN4qga0zEKzi3_95OBgq.LPEDDVoe711lNlSPq1OkcZ XcRzsoc54biwjfkaXQTveOx_hpskrdQMceSU3 Received: from [80.108.122.184] by web171504.mail.ir2.yahoo.com via HTTP; Fri, 27 Apr 2012 11:03:13 BST X-Mailer: YahooMailWebService/0.8.117.340979 References: <1335518734.90398.YahooMailNeo@web171503.mail.ir2.yahoo.com> Message-ID: <1335520993.29881.YahooMailNeo@web171504.mail.ir2.yahoo.com> Date: Fri, 27 Apr 2012 11:03:13 +0100 (BST) From: Mark Struberg Reply-To: Mark Struberg Subject: Re: compile error on jdk7/linux or stochastic error? To: "dev@openjpa.apache.org" In-Reply-To: <1335518734.90398.YahooMailNeo@web171503.mail.ir2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org well, it reproducibly crashes...=0A=0AWill now switch back to jdk 1.6 and t= ry to compile again.=0A=0ALieGrue,=0Astrub=0A=0A=0A=0A----- Original Messag= e -----=0A> From: Mark Struberg =0A> To: openjpa-dev =0A> Cc: =0A> Sent: Friday, April 27, 2012 11:25 AM=0A= > Subject: compile error on jdk7/linux or stochastic error?=0A> =0A> Hi!=0A= > =0A> Not yet sure if this is a random build error or a problem under jdk7= . But =0A> openjpa-persistence-jdbc (clean from trunk) blew up with the fol= lowing test =0A> error:=0A> =0A> =0A> Tests in error: =0A> =A0 =0A> testDir= tyRefreshWithoutDataCacheAlwaysHitsDatabase(org.apache.openjpa.persistence.= datacache.TestDataCacheBehavesIdentical)=0A> =A0 =0A> testCleanRefreshWitho= utDataCacheDoesNotHitDatabase(org.apache.openjpa.persistence.datacache.Test= DataCacheBehavesIdentical)=0A> =A0 =0A> testDeleteIsDetectedOnCleanRefreshW= ithoutLockWithoutDataCache(org.apache.openjpa.persistence.datacache.TestDat= aCacheBehavesIdentical)=0A> =A0 =0A> testDeleteIsDetectedOnCleanRefreshWith= LockWithoutDataCache(org.apache.openjpa.persistence.datacache.TestDataCache= BehavesIdentical)=0A> =0A> =0A> =0A> =0A> Here is one of the detailed logs:= =0A> =0A> =A0 classname=3D"org.apache.openjpa= .persistence.datacache.TestDataCacheBehavesIdentical" =0A> name=3D"testDirt= yRefreshWithoutDataCacheAlwaysHitsDatabase">=0A> =A0=A0=A0 nested exceptions= for details on the errors that occurred." =0A> type=3D"<openjpa-2.3.0-S= NAPSHOT-r422266"><openjpa-2.3.0-SNAPSHOT-r422266:1331053 =0A> fatal stor= e error> org.apache.openjpa.persistence.RollbackException: The =0A> tran= saction has been rolled back.=A0 See the nested exceptions for details on t= he =0A> errors that occurred.=0A> FailedObject: =0A> org.apache.openjpa.per= sistence.datacache.common.apps.PObject@3fc25500=0A> =A0=A0=A0=A0=A0=A0=A0 a= t =0A> org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManage= rImpl.java:594)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.persis= tence.datacache.TestDataCacheBehavesIdentical.verifyRefresh(TestDataCacheBe= havesIdentical.java:320)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openj= pa.persistence.datacache.TestDataCacheBehavesIdentical.testDirtyRefreshWith= outDataCacheAlwaysHitsDatabase(TestDataCacheBehavesIdentical.java:438)=0A> = =A0=A0=A0=A0=A0=A0=A0 at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ= e Method)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> sun.reflect.NativeMethodAccesso= rImpl.invoke(NativeMethodAccessorImpl.java:57)=0A> =A0=A0=A0=A0=A0=A0=A0 at= =0A> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:43)=0A> =A0=A0=A0=A0=A0=A0=A0 at java.lang.reflect.Method.invo= ke(Method.java:601)=0A> =A0=A0=A0=A0=A0=A0=A0 at junit.framework.TestCase.r= unTest(TestCase.java:154)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.open= jpa.persistence.test.AbstractPersistenceTestCase.runTest(AbstractPersistenc= eTestCase.java:579)=0A> =A0=A0=A0=A0=A0=A0=A0 at junit.framework.TestCase.r= unBare(TestCase.java:127)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.open= jpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenc= eTestCase.java:566)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.pe= rsistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestC= ase.java:542)=0A> =A0=A0=A0=A0=A0=A0=A0 at junit.framework.TestResult$1.pro= tect(TestResult.java:106)=0A> =A0=A0=A0=A0=A0=A0=A0 at junit.framework.Test= Result.runProtected(TestResult.java:124)=0A> =A0=A0=A0=A0=A0=A0=A0 at junit= .framework.TestResult.run(TestResult.java:109)=0A> =A0=A0=A0=A0=A0=A0=A0 at= junit.framework.TestCase.run(TestCase.java:118)=0A> =A0=A0=A0=A0=A0=A0=A0 = at =0A> org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.run= (AbstractPersistenceTestCase.java:206)=0A> =A0=A0=A0=A0=A0=A0=A0 at junit.f= ramework.TestSuite.runTest(TestSuite.java:208)=0A> =A0=A0=A0=A0=A0=A0=A0 at= junit.framework.TestSuite.run(TestSuite.java:203)=0A> =A0=A0=A0=A0=A0=A0= =A0 at sun.reflect.GeneratedMethodAccessor196.invoke(Unknown Source)=0A> = =A0=A0=A0=A0=A0=A0=A0 at =0A> sun.reflect.DelegatingMethodAccessorImpl.invo= ke(DelegatingMethodAccessorImpl.java:43)=0A> =A0=A0=A0=A0=A0=A0=A0 at java.= lang.reflect.Method.invoke(Method.java:601)=0A> =A0=A0=A0=A0=A0=A0=A0 at = =0A> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java= :213)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.maven.surefire.suite.Abs= tractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)= =0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.maven.surefire.suite.Abstract= DirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)=0A> =A0=A0= =A0=A0=A0=A0=A0 at org.apache.maven.surefire.Surefire.run(Surefire.java:180= )=0A> =A0=A0=A0=A0=A0=A0=A0 at sun.reflect.NativeMethodAccessorImpl.invoke0= (Native Method)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> sun.reflect.NativeMethodA= ccessorImpl.invoke(NativeMethodAccessorImpl.java:57)=0A> =A0=A0=A0=A0=A0=A0= =A0 at =0A> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:43)=0A> =A0=A0=A0=A0=A0=A0=A0 at java.lang.reflect.Metho= d.invoke(Method.java:601)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.mave= n.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350= )=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.maven.surefire.booter.Surefi= reBooter.main(SurefireBooter.java:1021)=0A> Caused by: <openjpa-2.3.0-SN= APSHOT-r422266:1331053 fatal store =0A> error> org.apache.openjpa.persis= tence.EntityExistsException: The =0A> transaction has been rolled back.=A0 = See the nested exceptions for details on the =0A> errors that occurred.=0A>= FailedObject: =0A> org.apache.openjpa.persistence.datacache.common.apps.PO= bject@3fc25500=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.kernel.= BrokerImpl.newFlushException(BrokerImpl.java:2339)=0A> =A0=A0=A0=A0=A0=A0= =A0 at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2176)=0A>= =A0=A0=A0=A0=A0=A0=A0 at org.apache.openjpa.kernel.BrokerImpl.flushSafe(Br= okerImpl.java:2074)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.ke= rnel.BrokerImpl.beforeCompletion(BrokerImpl.java:1992)=0A> =A0=A0=A0=A0=A0= =A0=A0 at =0A> org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalMa= nagedRuntime.java:81)=0A> =A0=A0=A0=A0=A0=A0=A0 at org.apache.openjpa.kerne= l.BrokerImpl.commit(BrokerImpl.java:1516)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A>= org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:93= 3)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.persistence.EntityM= anagerImpl.commit(EntityManagerImpl.java:570)=0A> =A0=A0=A0=A0=A0=A0=A0 ...= 31 more=0A> Caused by: <openjpa-2.3.0-SNAPSHOT-r422266:1331053 fatal st= ore =0A> error> org.apache.openjpa.persistence.EntityExistsException: Th= e =0A> statement was aborted because it would have caused a duplicate key v= alue in a =0A> unique or primary key constraint or unique index identified = by =0A> 'SQL120427103931820' defined on =0A> 'L2_POBJECT&apo= s;. {prepstmnt 268651183 INSERT INTO L2_PObject (id, =0A> name, version) VA= LUES (?, ?, ?)} [code=3D20000, state=3D23505]=0A> FailedObject: =0A> org.ap= ache.openjpa.persistence.datacache.common.apps.PObject@3fc25500=0A> =A0=A0= =A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBD= ictionary.java:4910)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.j= dbc.sql.DBDictionary.newStoreException(DBDictionary.java:4885)=0A> =A0=A0= =A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(= SQLExceptions.java:136)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjp= a.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:78)=0A> =A0=A0=A0=A0= =A0=A0=A0 at =0A> org.apache.openjpa.jdbc.kernel.PreparedStatementManagerIm= pl.flushAndUpdate(PreparedStatementManagerImpl.java:143)=0A> =A0=A0=A0=A0= =A0=A0=A0 at =0A> org.apache.openjpa.jdbc.kernel.PreparedStatementManagerIm= pl.flushInternal(PreparedStatementManagerImpl.java:99)=0A> =A0=A0=A0=A0=A0= =A0=A0 at =0A> org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.= flush(PreparedStatementManagerImpl.java:87)=0A> =A0=A0=A0=A0=A0=A0=A0 at = =0A> org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(Constrain= tUpdateManager.java:550)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openj= pa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:1= 06)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.jdbc.kernel.Abstra= ctUpdateManager.flush(AbstractUpdateManager.java:103)=0A> =A0=A0=A0=A0=A0= =A0=A0 at =0A> org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(A= bstractUpdateManager.java:76)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.= openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:735)=0A> = =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.kernel.DelegatingStoreMana= ger.flush(DelegatingStoreManager.java:131)=0A> =A0=A0=A0=A0=A0=A0=A0 ... 38= more=0A> Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: The= statement was =0A> aborted because it would have caused a duplicate key va= lue in a unique or =0A> primary key constraint or unique index identified b= y =0A> 'SQL120427103931820' defined on =0A> 'L2_POBJECT&apos= ;. {prepstmnt 268651183 INSERT INTO L2_PObject (id, =0A> name, version) VAL= UES (?, ?, ?)} [code=3D20000, state=3D23505]=0A> =A0=A0=A0=A0=A0=A0=A0 at = =0A> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingCon= nectionDecorator.java:219)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.ope= njpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.ja= va:195)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.lib.jdbc.Loggi= ngConnectionDecorator.access$1000(LoggingConnectionDecorator.java:59)=0A> = =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.lib.jdbc.LoggingConnection= Decorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(LoggingC= onnectionDecorator.java:1134)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.= openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPrepar= edStatement.java:272)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.= jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate(JDBCStor= eManager.java:1763)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.jd= bc.kernel.PreparedStatementManagerImpl.executeUpdate(PreparedStatementManag= erImpl.java:267)=0A> =A0=A0=A0=A0=A0=A0=A0 at =0A> org.apache.openjpa.jdbc.= kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManager= Impl.java:118)=0A> =A0=A0=A0=A0=A0=A0=A0 ... 46 more=0A> =0A> =0A> = =0A> =0A> I'll re-run the build and see if I get this each time or if it ha= s been =0A> stochastic (which would be even worse imo).=0A> =0A> LieGrue,= =0A> strub=0A>