Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337369 - Most tests failed in JPA-SRG with eclipselink.weaving.internal setting false
Summary: Most tests failed in JPA-SRG with eclipselink.weaving.internal setting false
Status: CLOSED DUPLICATE of bug 343017
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 16:43 EST by Kevin Yuan CLA
Modified: 2022-06-09 10:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Yuan CLA 2011-02-16 16:43:52 EST
EclipseLink: trunk (2.3)
JDK: 1.6.0_23
DB: Oracle 11.1.0.7
When set "eclipselink.weaving.internal=false", and all other options keep
default level. Most tests in JPA-SRG
(org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite) failed with the following error:

Error message:
--------------
(class: org/eclipse/persistence/testing/models/jpa/complexaggregate/Name, method: setId signature: (I)V) Register 2 contains wrong type

java.lang.VerifyError: (class: org/eclipse/persistence/testing/models/jpa/complexaggregate/Name, method: setId signature: (I)V) Register 2 contains wrong type
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getClassForName(PrivilegedAccessHelper.java:93)
at org.eclipse.persistence.mappings.AggregateMapping.convertClassNamesToClasses(AggregateMapping.java:353)
at org.eclipse.persistence.descriptors.ClassDescriptor.convertClassNamesToClasses(ClassDescriptor.java:1496)
at org.eclipse.persistence.sessions.Project.convertClassNamesToClasses(Project.java:367)
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:339)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:185)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:242)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:230)
at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.getServerSession(JUnitTestCase.java:393)
at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testSetup(EntityManagerJUnitTestSuite.java:414)
at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:503)
Comment 1 Kevin Yuan CLA 2011-04-26 11:16:34 EDT

*** This bug has been marked as a duplicate of bug 343017 ***
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:23:19 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink