[ http://issues.apache.org/jira/browse/GERONIMO-1453?page=all ]
John Sisson closed GERONIMO-1453:
---------------------------------
Fix Version: 1.1
Resolution: Fixed
Checked the code and the problem identified in the patch has been fixed.
> GBeanOverride throws NullPointerException when more than one reference
> element specified
> ----------------------------------------------------------------------------------------
>
> Key: GERONIMO-1453
> URL: http://issues.apache.org/jira/browse/GERONIMO-1453
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: core
> Versions: 1.0
> Reporter: Kristian Koehler
> Fix For: 1.1
> Attachments: GBeanOverride.patch
>
> Hi
> if there are more than one reference Element for a GBean within the
> config.xml file the GBeanOverride class throws a NullPointerException.
> Example GBean config to add:
> --- 8< ---
> <gbean
> name="geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatWebContainer">
> <attribute name="catalinaHome">var/catalina</attribute>
> <reference name="EngineGBean">
>
> <pattern><gbean-name>geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatEngine</gbean-name></pattern>
> </reference>
> <reference name="ServerInfo">
>
> <pattern><gbean-name>geronimo.server:J2EEApplication=null,J2EEModule=geronimo/j2ee-system/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=ServerInfo</gbean-name></pattern>
> </reference>
> </gbean>
>
> --- 8< ---
> Kristian
--
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