[ https://issues.apache.org/activemq/browse/SM-91?page=all ]
Guillaume Nodet updated SM-91: ------------------------------ Fix Version: (was: 3.0) > Container does not call init() on initialization > ------------------------------------------------ > > Key: SM-91 > URL: https://issues.apache.org/activemq/browse/SM-91 > Project: ServiceMix > Type: Bug > Components: servicemix-core > Reporter: George Gastaldi > > > When registering a container, the init() method should be called. Registering > a component using Pure Spring makes the component register BEFORE > initializing the container and gives the following exception: > java.lang.NullPointerException > at > org.servicemix.jbi.management.ManagementContext.getRelativeName(ManagementContext.java:410) > at > org.servicemix.jbi.management.ManagementContext.createObjectName(ManagementContext.java:390) > at > org.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:881) > at > org.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:844) > at > org.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:806) > at > org.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:754) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira