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

Donald Woods updated GERONIMO-2605:
-----------------------------------

    Fix Version/s:     (was: 2.0-M5)
                   2.0-M7
         Assignee: Donald Woods

> 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.

Reply via email to