Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 47239 invoked from network); 1 Dec 2006 10:28:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2006 10:28:48 -0000 Received: (qmail 49107 invoked by uid 500); 1 Dec 2006 10:28:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 49024 invoked by uid 500); 1 Dec 2006 10:28: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 49013 invoked by uid 99); 1 Dec 2006 10:28:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2006 02:28: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; Fri, 01 Dec 2006 02:28:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 10FBE7142F7 for ; Fri, 1 Dec 2006 02:28:23 -0800 (PST) Message-ID: <15841185.1164968903067.JavaMail.jira@brutus> Date: Fri, 1 Dec 2006 02:28:23 -0800 (PST) From: "Rakesh Midha (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-2605) NPE if exporting plugin for module having dependency on module with no groupId In-Reply-To: <29279575.1164793401270.JavaMail.jira@brutus> 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-2605?page=all ] Rakesh Midha updated GERONIMO-2605: ----------------------------------- Patch Info: [Patch Available] Description: If you have an application say ABC.war which has dependency on ABC.jar and if dependency is defined without groupid like in this case ABC You will get NPE with stacktrace: java.lang.NullPointerException at org.apache.geronimo.system.plugin.PluginInstallerGBean.processDepende ncyList(PluginInstallerGBean.java:1561) at org.apache.geronimo.system.plugin.PluginInstallerGBean.createDefaultM etadata(PluginInstallerGBean.java:1204) at org.apache.geronimo.system.plugin.PluginInstallerGBean.getPluginMetad ata(PluginInstallerGBean.java:204) at org.apache.geronimo.system.plugin.PluginInstallerGBean$$FastClassByCG LIB$$cebc327e.invoke() at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) was: If you have an application say ABC.war which has dependency on ABC.jar and if dependency is defined without groupid like in this case ABC You will get NPE with stacktrace: java.lang.NullPointerException at org.apache.geronimo.system.plugin.PluginInstallerGBean.processDepende ncyList(PluginInstallerGBean.java:1561) at org.apache.geronimo.system.plugin.PluginInstallerGBean.createDefaultM etadata(PluginInstallerGBean.java:1204) at org.apache.geronimo.system.plugin.PluginInstallerGBean.getPluginMetad ata(PluginInstallerGBean.java:204) at org.apache.geronimo.system.plugin.PluginInstallerGBean$$FastClassByCG LIB$$cebc327e.invoke() at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) Assignee: (was: Rakesh Midha) Minor change, patch attached please review and commit. > NPE if exporting plugin for module having dependency on module with no groupId > ------------------------------------------------------------------------------ > > Key: GERONIMO-2605 > URL: http://issues.apache.org/jira/browse/GERONIMO-2605 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Plugins > Affects Versions: 2.0 > Reporter: Rakesh Midha > Fix For: 2.0 > > Attachments: npeNoGroup.patch > > > If you have an application say ABC.war which has dependency on ABC.jar > and if dependency is defined without groupid > like in this case > > > ABC > > > You will get NPE with stacktrace: > java.lang.NullPointerException > at org.apache.geronimo.system.plugin.PluginInstallerGBean.processDepende > ncyList(PluginInstallerGBean.java:1561) > at org.apache.geronimo.system.plugin.PluginInstallerGBean.createDefaultM > etadata(PluginInstallerGBean.java:1204) > at org.apache.geronimo.system.plugin.PluginInstallerGBean.getPluginMetad > ata(PluginInstallerGBean.java:204) > at org.apache.geronimo.system.plugin.PluginInstallerGBean$$FastClassByCG > LIB$$cebc327e.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) -- 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