You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2007/06/07 15:12:25 UTC

[jira] Resolved: (GERONIMO-2605) NPE if exporting plugin for module having dependency on module with no groupId

     [ https://issues.apache.org/jira/browse/GERONIMO-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods resolved GERONIMO-2605.
------------------------------------

    Resolution: Fixed

Committed revision 545163 in trunk.
Thanks Rakesh for the patch.

> NPE if exporting plugin for module having dependency on module with no groupId
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2605
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2605
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Plugins
>    Affects Versions: 2.0-M5
>            Reporter: Rakesh Midha
>            Assignee: Donald Woods
>             Fix For: 2.0-M7
>
>         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
> 			<dependencies>
> 			<dependency>
> 				<artifactId>ABC</artifactId>
> 			</dependency>
> 		</dependencies>
> 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(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.