openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sutter <kwsut...@gmail.com>
Subject Problem with 1.2.x testcase?
Date Fri, 17 Sep 2010 19:42:07 GMT
Hi,
I just hit this problem while running the 1.2.x test bucket...  Is anybody
else experiencing this or is it something in my environment?

testEnhancementOfAllPUsWithinAResource(org.apache.openjpa.enhance.TestEnhancementWithMultiplePUs)
Time elapsed: 7.859 sec  <<< ERROR!
<openjpa-1.2.3-SNAPSHOT-r422266:998216M nonfatal user error>
org.apache.openjpa.util.UserException: Type
"org.apache.openjpa.persistence.jdbc.annotations.UnenhancedMixedAccess"
attempts to use both field and property access. Only one access
 method is permitted. Field access is used on the following fields: [private
int org.apache.openjpa.persistence.jdbc.annotations.UnenhancedMixedAccess.id].
Property access is used on the following methods: [public java.lang.String
org.apache.openjpa.persistence.jdbc.annotations.UnenhancedMixedAccess.getStringField()].
        at
org.apache.openjpa.meta.AbstractMetaDataDefaults.populate(AbstractMetaDataDefaults.java:161)
        at
org.apache.openjpa.persistence.PersistenceMetaDataDefaults.populate(PersistenceMetaDataDefaults.java:227)
        at
org.apache.openjpa.meta.MetaDataRepository.addMetaData(MetaDataRepository.java:905)
        at
org.apache.openjpa.meta.MetaDataRepository.addMetaData(MetaDataRepository.java:891)
        at
org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser.getMetaData(AnnotationPersistenceMetaDataParser.java:660)
        at
org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser.parseClassAnnotations(AnnotationPersistenceMetaDataParser.java:480)
        at
org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser.parse(AnnotationPersistenceMetaDataParser.java:352)
        at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(PersistenceMetaDataFactory.java:229)
        at
org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:569)
        at
org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:379)
        at
org.apache.openjpa.meta.MetaDataRepository.getMetaDataLocking(MetaDataRepository.java:366)
        at
org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:360)
        at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:253)
        at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4568)
        at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4515)
        at org.apache.openjpa.enhance.PCEnhancer$1.run(PCEnhancer.java:4485)
        at
org.apache.openjpa.lib.conf.Configurations.launchRunnable(Configurations.java:708)
        at
org.apache.openjpa.lib.conf.Configurations.runAgainstAllAnchors(Configurations.java:698)
        at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4480)
        at
org.apache.openjpa.enhance.TestEnhancementWithMultiplePUs.testEnhancementOfAllPUsWithinAResource(TestEnhancementWithMultiplePUs.java:143)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        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
org.apache.openjpa.persistence.test.PersistenceTestCase.run(PersistenceTestCase.java:132)
        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:79)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
        at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message