You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rakesh Midha (JIRA)" <ji...@apache.org> on 2006/11/29 10:43:21 UTC
[jira] Created: (GERONIMO-2605) NPE if exporting plugin for module
having dependency on module with no groupId
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
Assigned To: Rakesh Midha
Fix For: 2.0
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.
-
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
[jira] Updated: (GERONIMO-2605) NPE if exporting plugin for module
having dependency on module with no groupId
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (GERONIMO-2605) NPE if exporting plugin for module
having dependency on module with no groupId
Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2605?page=all ]
Rakesh Midha updated GERONIMO-2605:
-----------------------------------
Attachment: npeNoGroup.patch
Minor change, null pointer check required before using groupId
> 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
> Assigned To: 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
> <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.
-
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
[jira] Resolved: (GERONIMO-2605) NPE if exporting plugin for module
having dependency on module with no groupId
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (GERONIMO-2605) NPE if exporting plugin for module
having dependency on module with no groupId
Posted by "Rakesh Midha (JIRA)" <ji...@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
<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)
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
<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)
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
> <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.
-
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