Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 23024 invoked from network); 2 Dec 2008 19:09:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Dec 2008 19:09:46 -0000 Received: (qmail 14521 invoked by uid 500); 2 Dec 2008 19:09:57 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 14501 invoked by uid 500); 2 Dec 2008 19:09:57 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 14490 invoked by uid 99); 2 Dec 2008 19:09:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 11:09:57 -0800 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 19:08:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3F068234C289 for ; Tue, 2 Dec 2008 11:08:46 -0800 (PST) Message-ID: <1918126342.1228244926243.JavaMail.jira@brutus> Date: Tue, 2 Dec 2008 11:08:46 -0800 (PST) From: "Jeremy Bauer (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-810) ArgumentException thrown during query compilation in multithreaded application MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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.