Community
Participate
Working Groups
Build ID: M20080911-1700 Steps To Reproduce: Run Provided MyTestSuite.java More information: This issue was originally filed as a metalink sr #6705142.993. The issue was fixed for Toplink v.10x. If required, I can copy the original sr request if you cannot access it directly.
Created attachment 130867 [details] please see README.txt in zip root
I looked into this bug from the referenced metalink support case. All the changes made at that time appear to be in EclipseLink. Please run on the latest nightly on 1.1 and see if you can reproduce. Also, to debug I put together a version of ExpressionBuilder that included an Exception dump in setSession(). Like this: public void setSession(Session session) { if (session instanceof UnitOfWork) { new RuntimeException("Unit Of Work set on the ExpressionBuilder").printStackTrace(); } this.session = session; } You can try that and see if you get any exceptions.
Hi Peter, thanks for looking into this. I grabbed the latest nightly build but still see the same error as previously described. Thanks (In reply to comment #2) > I looked into this bug from the referenced metalink support case. > > All the changes made at that time appear to be in EclipseLink. > > Please run on the latest nightly on 1.1 and see if you can reproduce. > > Also, to debug I put together a version of ExpressionBuilder that included an > Exception dump in setSession(). Like this: > > public void setSession(Session session) { > if (session instanceof UnitOfWork) > { > new RuntimeException("Unit Of Work set on the > ExpressionBuilder").printStackTrace(); > } > this.session = session; > } > > You can try that and see if you get any exceptions. >
Hi Peter, I had no success running the MyTestSuite tests (included in the attachment with a README.txt file) with the latest nightly build from Monday night. Did you have success running our tests? I'm feeling under the gun here. I'm about two weeks away from a "go/no go" decision about upgrading to Eclipselink. Currently, we are in the "no go" status for our upcoming major release. Thanks. (In reply to comment #3) > Hi Peter, > thanks for looking into this. > > I grabbed the latest nightly build but still see the same error as previously > described. > > Thanks > > > (In reply to comment #2) > > I looked into this bug from the referenced metalink support case. > > > > All the changes made at that time appear to be in EclipseLink. > > > > Please run on the latest nightly on 1.1 and see if you can reproduce. > > > > Also, to debug I put together a version of ExpressionBuilder that included an > > Exception dump in setSession(). Like this: > > > > public void setSession(Session session) { > > if (session instanceof UnitOfWork) > > { > > new RuntimeException("Unit Of Work set on the > > ExpressionBuilder").printStackTrace(); > > } > > this.session = session; > > } > > > > You can try that and see if you get any exceptions. > > >
Please try the debug work around I suggested. It will tell you if this is the same issue as earlier or not. I have also built and send you by email a debug version of the jar.
Created attachment 133161 [details] proposed patch
Checked in the patch suggested by Lindsay into both 1.1.1 and trunk. Reviewed by Peter.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink