You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Kevin Sutter <kw...@gmail.com> on 2007/08/21 03:34:57 UTC
Test failures
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.079 sec
Running org.apache.openjpa.util.TestProxyManager
Tests run: 37, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.453 sec
<<< 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
Re: Test failures
Posted by Kevin Sutter <kw...@gmail.com>.
All works now! Thanks, Patrick! Now, I'll try to get OPENJPA-321 done
before Marc's deadline... :-)
On 8/20/07, Patrick Linskey <pl...@gmail.com> wrote:
>
> Update again. It's fixed in head.
>
> -Patrick
>
> On 8/20/07, Kevin Sutter <kw...@gmail.com> wrote:
> > Thanks! Much better, but now I am failing in openjpa-persistence-jdbc.
> > Errors are similar to the following:
> >
> > <openjpa-0.0.0-r420667:567904 nonfatal user error>
> > 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 <pl...@gmail.com> wrote:
> > >
> > > Oops, that was my fault. Should be fixed with r567904.
> > >
> > > -Patrick
> > >
> > > On 8/20/07, Kevin Sutter <kw...@gmail.com> 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
>
Re: Test failures
Posted by Patrick Linskey <pl...@gmail.com>.
Update again. It's fixed in head.
-Patrick
On 8/20/07, Kevin Sutter <kw...@gmail.com> wrote:
> Thanks! Much better, but now I am failing in openjpa-persistence-jdbc.
> Errors are similar to the following:
>
> <openjpa-0.0.0-r420667:567904 nonfatal user error>
> 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 <pl...@gmail.com> wrote:
> >
> > Oops, that was my fault. Should be fixed with r567904.
> >
> > -Patrick
> >
> > On 8/20/07, Kevin Sutter <kw...@gmail.com> 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
Re: Test failures
Posted by Kevin Sutter <kw...@gmail.com>.
Thanks! Much better, but now I am failing in openjpa-persistence-jdbc.
Errors are similar to the following:
<openjpa-0.0.0-r420667:567904 nonfatal user error>
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 <pl...@gmail.com> wrote:
>
> Oops, that was my fault. Should be fixed with r567904.
>
> -Patrick
>
> On 8/20/07, Kevin Sutter <kw...@gmail.com> 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
>
Re: Test failures
Posted by Patrick Linskey <pl...@gmail.com>.
Oops, that was my fault. Should be fixed with r567904.
-Patrick
On 8/20/07, Kevin Sutter <kw...@gmail.com> 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.079 sec
> Running org.apache.openjpa.util.TestProxyManager
> Tests run: 37, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.453 sec
> <<< 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