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

Guillaume Nodet updated SMX4NMR-110:
------------------------------------

    Summary: Starting a service assembly which has a non started component 
should fail  (was: When starting a service assembly which has a non started 
component should fail)

> Starting a service assembly which has a non started component should fail
> -------------------------------------------------------------------------
>
>                 Key: SMX4NMR-110
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-110
>             Project: ServiceMix NMR
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>             Fix For: 1.0.0
>
>
> {code}
> Error processing PingPong-SA: javax.jbi.management.DeploymentException: 
> <component-task-result 
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>         <component-name>Component (org.apache.servicemix.http.HttpComponent) 
> not yet initialized</component-name>
>         <component-task-result-details>
>                 <task-result-details>
>                         <task-id>init</task-id>
>                         <task-result>FAILED</task-result>
>                         <message-type>ERROR</message-type>
>                         
> <task-status-msg><msg-loc-info><loc-token/><loc-message>Unable to init 
> service unit</loc-message></msg-loc-info></task-status-msg>
>                         <exception-info>
>                                 <nesting-level>1</nesting-level>
>                                 <msg-loc-info>
>                                         <loc-token />
>                                         <loc-message>null</loc-message>
>                                         
> <stack-trace><![CDATA[java.lang.NullPointerException
>         at 
> org.apache.servicemix.soap.SoapEndpoint.activate(SoapEndpoint.java:351)
>         at 
> org.apache.servicemix.common.DefaultServiceUnit.init(DefaultServiceUnit.java:54)
>         at 
> org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:122)
>         at 
> org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.init(ServiceUnitImpl.java:107)
>         at 
> org.apache.servicemix.jbi.deployer.artifacts.ServiceAssemblyImpl.changeState(ServiceAssemblyImpl.java:242)
>         at 
> org.apache.servicemix.jbi.deployer.artifacts.ServiceAssemblyImpl.transition(ServiceAssemblyImpl.java:221)
>         at 
> org.apache.servicemix.jbi.deployer.artifacts.ServiceAssemblyImpl.start(ServiceAssemblyImpl.java:142)
>         at 
> org.apache.servicemix.jbi.deployer.artifacts.ServiceAssemblyImpl.start(ServiceAssemblyImpl.java:132)
>         at 
> org.apache.servicemix.jbi.commands.StartCommand.handle(StartCommand.java:28)
>         at 
> org.apache.servicemix.jbi.commands.JbiLifeCycleCommandSupport.doExecute(JbiLifeCycleCommandSupport.java:58)
>         at 
> org.apache.servicemix.kernel.gshell.core.OsgiCommandSupport.execute(OsgiCommandSupport.java:48)
>         at 
> org.apache.geronimo.gshell.wisdom.command.CommandSupport.executeAction(CommandSupport.java:303)
>         at 
> org.apache.geronimo.gshell.wisdom.command.StatefulCommand.executeAction(StatefulCommand.java:94)
>         at 
> org.apache.geronimo.gshell.wisdom.command.CommandSupport.execute(CommandSupport.java:194)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at 
> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
>         at 
> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>         at 
> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>         at 
> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>         at 
> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor$1.run(ServiceTCCLInterceptor.java:48)
>         at 
> org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:124)
>         at 
> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokePrivileged(ServiceTCCLInterceptor.java:45)
>         at 
> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:37)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>         at 
> org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>         at 
> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>         at 
> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>         at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at $Proxy15.execute(Unknown Source)
>         at 
> org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.doExecute(CommandLineExecutorImpl.java:127)
>         at 
> org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.execute(CommandLineExecutorImpl.java:106)
>         at 
> org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor$1.run(ExecutingVisitor.java:208)
>         at 
> org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.executePiped(ExecutingVisitor.java:231)
>         at 
> org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.visit(ExecutingVisitor.java:107)
>         at 
> org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpression.java:17)
>         at 
> org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNode.java:61)
>         at 
> org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.visit(ExecutingVisitor.java:90)
>         at 
> org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommandLine.java:17)
>         at 
> org.apache.geronimo.gshell.wisdom.shell.CommandLineBuilderImpl$1.execute(CommandLineBuilderImpl.java:96)
>         at 
> org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.execute(CommandLineExecutorImpl.java:71)
>         at 
> org.apache.geronimo.gshell.wisdom.shell.ShellImpl.execute(ShellImpl.java:172)
>         at 
> org.apache.geronimo.gshell.wisdom.shell.ShellImpl$2.execute(ShellImpl.java:208)
>         at org.apache.geronimo.gshell.console.Console.work(Console.java:187)
>         at org.apache.geronimo.gshell.console.Console.run(Console.java:128)
>         at 
> org.apache.geronimo.gshell.wisdom.shell.ShellImpl.run(ShellImpl.java:252)
>         at 
> org.apache.servicemix.kernel.gshell.core.ShellWrapper.run(ShellWrapper.java:81)
>         at 
> org.apache.servicemix.kernel.gshell.core.LocalConsole.run(LocalConsole.java:125)
>         at java.lang.Thread.run(Thread.java:613)
> ]]></stack-trace>
>                                 </msg-loc-info>
>                         </exception-info>
>                 </task-result-details>
>         </component-task-result-details>
> </component-task-result>
> {code}

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