Mike,

I think I have an openJPA test case for this issue.
I will update the JIRA with openJPA specific test case , as soon as I find it.

Regards,
Ravi.

-----Original Message-----
From: Michael Dick [mailto:[email protected]] 
Sent: Wednesday, May 27, 2009 8:21 AM
To: [email protected]
Subject: Re: NullPointerException in pcReplaceField

Hi Ravi and Udi

This is interesting, the issue referenced mentions JDOHelper (not part of
OpenJPA) and Kodo 4.4. I wouldn't have been sure it applied to OpenJPA.

Do either of you have a testcase that reproduces the issue without JDO?

-mike

On Wed, May 27, 2009 at 8:13 AM, Ravi Palacherla <[email protected]
> wrote:

> Sorry, I do not have a proper resolution for this.
>
> The following JIRA was already opened for this:
> http://issues.apache.org/jira/browse/OPENJPA-453
>
> It is currently unassigned.
>
> I think the cause of the issue is, if you have multithreaded environment
> and when transactions begin and end, all
> references to embedded objects become invalid. Reacquiring the reference
> from owning persistent object is the
> only workaround that I know of.
>
> Regards,
> Ravi.
>
> -----Original Message-----
> From: Udi [mailto:[email protected]]
> Sent: Wednesday, May 27, 2009 6:27 AM
> To: [email protected]
> Subject: RE: NullPointerException in pcReplaceField
>
>
> Hey Ravi,
> Thanks for the comment. "Tree" is indeed an embedded object...
> What did you do with this exception?
> --
> View this message in context:
> http://n2.nabble.com/NullPointerException-in-pcReplaceField-tp2979657p2980726.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
>

Reply via email to