Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 48654 invoked from network); 28 Nov 2006 08:43:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2006 08:43:47 -0000 Received: (qmail 17391 invoked by uid 500); 28 Nov 2006 08:43:55 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 16927 invoked by uid 500); 28 Nov 2006 08:43:53 -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 16911 invoked by uid 99); 28 Nov 2006 08:43:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 00:43:53 -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; Tue, 28 Nov 2006 00:43:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E1F467142F3 for ; Tue, 28 Nov 2006 00:43:22 -0800 (PST) Message-ID: <33206662.1164703402923.JavaMail.jira@brutus> Date: Tue, 28 Nov 2006 00:43:22 -0800 (PST) From: "Jacek Laskowski (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (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 ] Jacek Laskowski resolved GERONIMO-1082. --------------------------------------- Fix Version/s: 2.0 Resolution: Invalid It's a fixed OpenEJB issue, thus Invalid here. See the appropriate OpenEJB issue to find out how/when it's been fixed. > 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, 2.0 > > > 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