Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 13451 invoked from network); 10 Sep 2009 19:28:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Sep 2009 19:28:31 -0000 Received: (qmail 23822 invoked by uid 500); 10 Sep 2009 19:28:30 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 23770 invoked by uid 500); 10 Sep 2009 19:28:30 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 23760 invoked by uid 99); 10 Sep 2009 19:28:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 19:28:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kwsutter@gmail.com designates 209.85.210.189 as permitted sender) Received: from [209.85.210.189] (HELO mail-yx0-f189.google.com) (209.85.210.189) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 19:28:21 +0000 Received: by yxe27 with SMTP id 27so533991yxe.10 for ; Thu, 10 Sep 2009 12:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=fO0nsBICxO9zaUV3jFBySW5n8jGx4wgg51Mavg7Dt1o=; b=MCuRrLbAocQYE2rD2aKi3Xp6ciRtbc0CYt+K601iZQfwL8MYiwR4HUgNYCFjEg9VaT 2+yRq3ACE8FpKZRer5aTnWWzQ9+PnKW21hkKaYhDjodWtOaZUX0HOBqXamJlavWHKWAZ 9gUG/dWFD/Eltx5olldeTjAEipc08+N79jzdg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jV+ypvOOrXSxDl70TpoEHtHw5PjqC21RoqDcNx8zBDlo8eFqYDIPdIiW60OhP+qJ/s jLeenrvkc8V951RE8I6ZZyb9eLm+eFBLi7u4N7saDMvUEuNp6rra9iodmziGiEh0KbPq pX1XsAV34izY2K1K1jKaIboSkcffPzEhmHX2Q= MIME-Version: 1.0 Received: by 10.150.88.6 with SMTP id l6mr3340479ybb.194.1252610880443; Thu, 10 Sep 2009 12:28:00 -0700 (PDT) In-Reply-To: <1252604674921-3618024.post@n2.nabble.com> References: <89c0c52c0909081540u5fc7fc90l2874c3f6127bfd4a@mail.gmail.com> <1252604674921-3618024.post@n2.nabble.com> Date: Thu, 10 Sep 2009 14:28:00 -0500 Message-ID: <89c0c52c0909101228n3ac14f50n2c85dad5aeca6d74@mail.gmail.com> Subject: Re: Unhelpful exception message From: Kevin Sutter To: users@openjpa.apache.org Content-Type: multipart/alternative; boundary=000e0cd59fd892178c04733e3242 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd59fd892178c04733e3242 Content-Type: text/plain; charset=ISO-8859-1 The exception text in trunk looks to be much clearer. I created a JIRA [1] anyway so that we have this 1.2.x issue documented. Not sure if the trunk exception processing applies to 1.2.x... Kevin [1] https://issues.apache.org/jira/browse/OPENJPA-1291 On Thu, Sep 10, 2009 at 12:44 PM, Pinaki Poddar wrote: > > Hi, > The error message on trunk version looks better. > > > org.apache.openjpa.persistence.ArgumentException: Failed to execute query > "select o from Account as o where o.id in (select balance from Account as > o)". Check the query syntax for correctness. See nested exception for > details. > at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:865) > at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:787) > at > org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:525) > at > org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:291) > at > org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:303) > ................................. > at Caused by: java.lang.IllegalArgumentException: Invalid unbound > variable > "balance" in query. > > > > > Daryl Stultz wrote: > > > > On Tue, Sep 8, 2009 at 6:40 PM, Kevin Sutter wrote: > > > >> Thanks, Daryl. From your description, I would agree with your > >> assessment. > >> :-) Could you open a JIRA issue [1] with information from this posting? > >> If > >> you don't have JIRA access, let me know and I can create it for you. > >> > >> Sure, I can do that but I don't have JIRA access. > > > > -- > > Daryl Stultz > > _____________________________________ > > 6 Degrees Software and Consulting, Inc. > > http://www.6degrees.com > > mailto:daryl@6degrees.com > > > > > > > ----- > Pinaki > -- > View this message in context: > http://n2.nabble.com/Unhelpful-exception-message-tp3603002p3618024.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. > --000e0cd59fd892178c04733e3242--