You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Jeremy Bauer (JIRA)" <ji...@apache.org> on 2008/12/02 20:16:44 UTC

[jira] Updated: (OPENJPA-810) ArgumentException thrown during query compilation in multithreaded application

     [ https://issues.apache.org/jira/browse/OPENJPA-810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Bauer updated OPENJPA-810:
---------------------------------

    Attachment: OPENJPA-810_trace.zip

Attaching surefire reports which include trace.

> ArgumentException thrown during query compilation in multithreaded application
> ------------------------------------------------------------------------------
>
>                 Key: OPENJPA-810
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-810
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Jeremy Bauer
>         Attachments: OPENJPA-810_trace.zip
>
>
> This problem was reported on the user mailing list by several users.   It appeared to be an enhancement related problem similar to OPENJPA-234, but I was able to reproduce the problem (using a test app provided by Yann [1] via direct email) with classes that were enhanced with the PCEnhancer.  Based on the trace, it appears that the metadata repository is being accessed concurrently by multiple threads and some persistent classes are not yet loaded while threads attempt to access them.  The problem occurs more frequently when a) the persistent class list is large and b) trace is enabled.
> [1] http://n2.nabble.com/ArgumentException-%28Incomplete-initialisation-of-EntityManager%29-tc1577196.html#none

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.