From dev-return-5724-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Tue Aug 21 02:17:19 2007 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 78064 invoked from network); 21 Aug 2007 02:17:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Aug 2007 02:17:17 -0000 Received: (qmail 75289 invoked by uid 500); 21 Aug 2007 02:17:15 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 75143 invoked by uid 500); 21 Aug 2007 02:17:14 -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 75134 invoked by uid 99); 21 Aug 2007 02:17:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2007 19:17:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of plinskey@gmail.com designates 64.233.166.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Aug 2007 02:17:12 +0000 Received: by py-out-1112.google.com with SMTP id f31so2280875pyh for ; Mon, 20 Aug 2007 19:16:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eAwbHvB5DYKN+uz2kl6Pl00Qt/jkoUwIvwTpA+n77VuQupnpH3rjNNU465QNOXqsaLwDX4wgpPcYZ3fs3uvp1JjOqwSeqy+VPXEUA7pEsMJjGBLyrsvX/mBVB/+jwFBwZYzJ5sorp8H7EjWcUgOEhPAN28QQglVFr8A4cMqexEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QbxoXW6PFlD/dz3+ypuBKNu/giESbS9QF0QUI/lxcIWJivm8zQyUD0gMhgTCg7/7auoyssFfzSgHbNlP6wmZWgsICa6ZGTaJorogY4T9LnlWr8iPxwYl/hHL1E8L37JlyupSOvAvNIEqKdXrnE1RXwj7oB48feYQt6xJ6463uQE= Received: by 10.35.75.15 with SMTP id c15mr8162521pyl.1187662610548; Mon, 20 Aug 2007 19:16:50 -0700 (PDT) Received: by 10.35.8.4 with HTTP; Mon, 20 Aug 2007 19:16:50 -0700 (PDT) Message-ID: <7262f25e0708201916l5264790cxf7a4f8c5117ccd5b@mail.gmail.com> Date: Mon, 20 Aug 2007 19:16:50 -0700 From: "Patrick Linskey" To: dev@openjpa.apache.org Subject: Re: Test failures In-Reply-To: <89c0c52c0708201915k2de1eb5du1a29ff57f91cf8e9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <89c0c52c0708201834h4d947be9k2d23b07c40f6fa7@mail.gmail.com> <7262f25e0708201847s552bf934yb91f77efbbaede69@mail.gmail.com> <89c0c52c0708201915k2de1eb5du1a29ff57f91cf8e9@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Update again. It's fixed in head. -Patrick On 8/20/07, Kevin Sutter wrote: > Thanks! Much better, but now I am failing in openjpa-persistence-jdbc. > Errors are similar to the following: > > > org.apache.openjpa.persistence.ArgumentException: This configuration > disallows runtime optimization, but the following listed types were not > enhanced at build time or at class load time with a javaagent: "[class > org.apache.openjpa.enhance.UnenhancedFieldAccessPrimitiveWrapperSubclass, > class org.apache.openjpa.enhance.UnenhancedFieldAccessPrimitiveWrapper]". > at > org.apache.openjpa.enhance.ManagedClassSubclasser.prepareUnenhancedClasses( > ManagedClassSubclasser.java:87) > at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at > org.apache.openjpa.kernel.AbstractBrokerFactory.loadPersistentTypes( > AbstractBrokerFactory.java:287) > at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker( > AbstractBrokerFactory.java:197) > at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker( > DelegatingBrokerFactory.java:142) > at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager( > EntityManagerFactoryImpl.java:192) > at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager( > EntityManagerFactoryImpl.java:145) > at org.apache.openjpa.enhance.AbstractUnenhancedClassTest.setUp( > AbstractUnenhancedClassTest.java:54) > at junit.framework.TestCase.runBare(TestCase.java:125) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at org.apache.maven.surefire.junit.JUnitTestSet.execute( > JUnitTestSet.java:210) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet( > AbstractDirectoryTestSuite.java:135) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute( > AbstractDirectoryTestSuite.java:122) > at org.apache.maven.surefire.Surefire.run(Surefire.java:129) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:64) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess( > SurefireBooter.java:225) > at org.apache.maven.surefire.booter.SurefireBooter.main( > SurefireBooter.java:747) > > testListenersOnUserDefinedInstance( > org.apache.openjpa.enhance.TestUnenhancedFieldAccessPrimitiveWrapper) Time > elapsed: 0.031 sec <<< ERROR! > > More ideas? :-) > > Kevin > > On 8/20/07, Patrick Linskey wrote: > > > > Oops, that was my fault. Should be fixed with r567904. > > > > -Patrick > > > > On 8/20/07, Kevin Sutter wrote: > > > Hi, > > > I'm hitting errors similar to the following when testing openjpa-kernel: > > > > > > ------------------------------------------------------- > > > T E S T S > > > ------------------------------------------------------- > > > Running org.apache.openjpa.ee.TestWASManagedRuntime > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079sec > > > Running org.apache.openjpa.util.TestProxyManager > > > Tests run: 37, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.453sec > > > <<< FAILURE! > > > testCopyBeans(org.apache.openjpa.util.TestProxyManager) Time elapsed: > > > 0.016sec <<< ERROR! > > > java.lang.NullPointerException > > > at org.apache.openjpa.util.TestProxyManager.assertBeansEqual( > > > TestProxyManager.java:742) > > > at org.apache.openjpa.util.TestProxyManager.testCopyBeans( > > > TestProxyManager.java:716) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke( > > > NativeMethodAccessorImpl.java:64) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > > > DelegatingMethodAccessorImpl.java:43) > > > at java.lang.reflect.Method.invoke(Method.java:615) > > > at junit.framework.TestCase.runTest(TestCase.java:154) > > > at junit.framework.TestCase.runBare(TestCase.java:127) > > > at junit.framework.TestResult$1.protect(TestResult.java:106) > > > at junit.framework.TestResult.runProtected(TestResult.java:124) > > > at junit.framework.TestResult.run(TestResult.java:109) > > > at junit.framework.TestCase.run(TestCase.java:118) > > > at junit.framework.TestSuite.runTest(TestSuite.java:208) > > > at junit.framework.TestSuite.run(TestSuite.java:203) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke( > > > NativeMethodAccessorImpl.java:64) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > > > DelegatingMethodAccessorImpl.java:43) > > > at java.lang.reflect.Method.invoke(Method.java:615) > > > at org.apache.maven.surefire.junit.JUnitTestSet.execute( > > > JUnitTestSet.java:210) > > > at > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet( > > > AbstractDirectoryTestSuite.java:135) > > > at > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute( > > > AbstractDirectoryTestSuite.java:122) > > > at org.apache.maven.surefire.Surefire.run(Surefire.java:129) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke( > > > NativeMethodAccessorImpl.java:64) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > > > DelegatingMethodAccessorImpl.java:43) > > > at java.lang.reflect.Method.invoke(Method.java:615) > > > at > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess( > > > SurefireBooter.java:225) > > > at org.apache.maven.surefire.booter.SurefireBooter.main( > > > SurefireBooter.java:747) > > > > > > Do I have to wait until the changes settle down? Or, am I the only one > > > hitting these problems? > > > > > > Kevin > > > > > > > > > -- > > Patrick Linskey > > 202 669 5907 > > > -- Patrick Linskey 202 669 5907