Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 12470 invoked from network); 7 Jul 2004 23:16:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Jul 2004 23:16:05 -0000 Received: (qmail 74572 invoked by uid 500); 7 Jul 2004 23:16:06 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 74533 invoked by uid 500); 7 Jul 2004 23:16:06 -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 Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 74519 invoked by uid 99); 7 Jul 2004 23:16:05 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 07 Jul 2004 16:16:05 -0700 Received: (qmail 13685 invoked from network); 7 Jul 2004 23:17:08 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 7 Jul 2004 23:17:08 -0000 Message-ID: <1504223651.1089242228888.JavaMail.apache@nagoya> Date: Wed, 7 Jul 2004 16:17:08 -0700 (PDT) From: dev@geronimo.apache.org To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-262) NullPointerException deploying resource adapter In-Reply-To: <1892098733.1089242126071.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The following issue has been updated: Updater: toby cabot (mailto:toby@caboteria.org) Date: Wed, 7 Jul 2004 4:16 PM Comment: the patch isn't as big as it looks, most of it is re-indenting the lines inside the new if() clauses. Changes: Attachment changed to ra-npe-patch.txt --------------------------------------------------------------------- For a full history of the issue, see: http://issues.apache.org/jira/browse/GERONIMO-262?page=history --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/GERONIMO-262 Here is an overview of the issue: --------------------------------------------------------------------- Key: GERONIMO-262 Summary: NullPointerException deploying resource adapter Type: Bug Status: Unassigned Priority: Major Project: Apache Geronimo Versions: 1.0-M2 Assignee: Reporter: toby cabot Created: Wed, 7 Jul 2004 4:14 PM Updated: Wed, 7 Jul 2004 4:16 PM Environment: java 1.4.2 fedora core 2 geronimo cvs as of 2004-07-07 Description: trying to deploy a trivial "hello world" resource adapter results in NPE in ConnectorModuleBuilder.java. Looks like it assumes that some optional elements in ra.xml will always be present. Will attach a patch to check that these fields aren't null, with this patch it (at least) deploys. Here's my ra.xml: Fake Resource Adapter Fake Resource Adapter Fake Vendor example 0.0 example.x.ResAdImpl --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira