Community
Participate
Working Groups
The following exceptions are occurred during running WAS6.1 with testVersionUpdateWithIncorrectValue and testVersionUpdateWithNullValue: updating object version with wrong value threw a wrong exception: javax.transaction.RollbackException junit.framework.AssertionFailedError: updating object version with wrong value threw a wrong exception: javax.transaction.RollbackException at org.eclipse.persistence.testing.tests.jpa.fieldaccess.advanced.OptimisticConcurrencyJUnitTestSuite.testVersionUpdateWithIncorrectValue(OptimisticConcurrencyJUnitTestSuite.java:173) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBareServer(JUnitTestCase.java:391) at org.eclipse.persistence.testing.framework.server.TestRunnerBean.runTest(TestRunnerBean.java:87) at org.eclipse.persistence.testing.framework.server.EJSRemote0SLTestRunner_ed643271.runTest(EJSRemote0SLTestRunner_ed643271.java) at org.eclipse.persistence.testing.framework.server._EJSRemote0SLTestRunner_ed643271_Tie.runTest(_EJSRemote0SLTestRunner_ed643271_Tie.java) at org.eclipse.persistence.testing.framework.server._EJSRemote0SLTestRunner_ed643271_Tie._invoke(_EJSRemote0SLTestRunner_ed643271_Tie.java) at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:621) at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:474) at com.ibm.rmi.iiop.ORB.process(ORB.java:503) at com.ibm.CORBA.iiop.ORB.process(ORB.java:1571) at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2701) at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2575) at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62) at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) ============ employee2.setVersion(null) threw a wrong exception: javax.transaction.RollbackException junit.framework.AssertionFailedError: employee2.setVersion(null) threw a wrong exception: javax.transaction.RollbackException at org.eclipse.persistence.testing.tests.jpa.fieldaccess.advanced.OptimisticConcurrencyJUnitTestSuite.testVersionUpdateWithNullValue(OptimisticConcurrencyJUnitTestSuite.java:204) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBareServer(JUnitTestCase.java:391) at org.eclipse.persistence.testing.framework.server.TestRunnerBean.runTest(TestRunnerBean.java:87) at org.eclipse.persistence.testing.framework.server.EJSRemote0SLTestRunner_ed643271.runTest(EJSRemote0SLTestRunner_ed643271.java) at org.eclipse.persistence.testing.framework.server._EJSRemote0SLTestRunner_ed643271_Tie.runTest(_EJSRemote0SLTestRunner_ed643271_Tie.java) at org.eclipse.persistence.testing.framework.server._EJSRemote0SLTestRunner_ed643271_Tie._invoke(_EJSRemote0SLTestRunner_ed643271_Tie.java) at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:621) at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:474) at com.ibm.rmi.iiop.ORB.process(ORB.java:503) at com.ibm.CORBA.iiop.ORB.process(ORB.java:1571) at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2701) at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2575) at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62) at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Created attachment 141228 [details] patch for the bug Remove an wrapping exceptions such as rollback, runtime, etc. to get nested exception in Server, here should be OptimisticLocakException.
Checked in both 2.0 and 1.1 branch. Code reviewed by Edwin Tang. Revision in 2.0: 4636
Mass update to change fixed in target.
The two tests still failed on GlassFish, so the fix needs to be revisited.
defer to 2.0 - the initial target of 1.2 was due to the initial test going into 1.2. The issue that caused reopening is a candiate for 2.0.
This bug fix did not make the cut off for 2.0.0. We are deferring the bugs to Future where we can properly sort them all together based on community votes and severity. We will then assign them accordingly to future patch sets and releases.
Changing the priority of the bugs that have been recently triaged to future. Targetting them to P2 will differentiate them from the P3s that have been triaged into future earlier.
Already fixed on all branch. Verified on both Glassfish v2 and v3.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink