Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 82340 invoked from network); 27 Nov 2006 06:22:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2006 06:22:45 -0000 Received: (qmail 99889 invoked by uid 500); 27 Nov 2006 06:22:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 99291 invoked by uid 500); 27 Nov 2006 06:22:52 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 99280 invoked by uid 99); 27 Nov 2006 06:22:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Nov 2006 22:22:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Nov 2006 22:22:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 91D3B7142F3 for ; Sun, 26 Nov 2006 22:22:21 -0800 (PST) Message-ID: <24480993.1164608541573.JavaMail.jira@brutus> Date: Sun, 26 Nov 2006 22:22:21 -0800 (PST) From: "Rakesh Midha (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-1082) Deployment doesn't ensure queries defined for ejbSelect methods In-Reply-To: <428484879.1129526204733.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/GERONIMO-1082?page=all ] Rakesh Midha updated GERONIMO-1082: ----------------------------------- Patch Info: [Patch Available] Fix Version/s: 1.2 (was: Verification Required) Assignee: (was: Rakesh Midha) Patch avialable in https://issues.apache.org/jira/browse/OPENEJB-384 Marking "Patc Avilable for indication. Changing fix version to 1.2 Unassigned so that someone can review and commit > Deployment doesn't ensure queries defined for ejbSelect methods > --------------------------------------------------------------- > > Key: GERONIMO-1082 > URL: http://issues.apache.org/jira/browse/GERONIMO-1082 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment, OpenEJB > Affects Versions: 1.0-M5 > Reporter: Aaron Mulder > Priority: Critical > Fix For: 1.2 > > > I deployed a CMP entity bean with an ejbSelect method, but I forgot to actually define a query for it in my ejb-jar.xml. This caused a very bizarre NullPointerException at runtime. Instead, the deployment should check that all ejbSelect methods have queries defined. (And the same for finders, if it doesn't already.) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira