Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5033

Error No component with id 'blueprintContainer' could be found in pax exam test occurs at BlueprintBeanLocator.getBeansOfType

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.5
    • Fix Version/s: None
    • Component/s: Bus
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      This exception occurs about 20% of the time in an integration test involving. CXF with sts and xml security. Unfortunately the code is not open and I was not able to reproduce it with a smaller test case till now.

      Below is the full stack trace


      12:49:31,893 | ERROR | -192.168.225.115 | itest.ReservationServiceX509Test 46 | 298 - PAXEXAM-PROBE-f340687c-7942-4805-97c0-84b449e45d28 - 0.0.0 | No component with id 'blueprintContainer' could be found
      javax.xml.ws.soap.SOAPFaultException: No component with id 'blueprintContainer' could be found
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:155)[136:org.apache.cxf.cxf-rt-frontend-jaxws:2.7.3]
      at $Proxy116.getAvailableCars(Unknown Source)
      at org.talend.esb.itest.BaseTestReservationService.reserveCar(BaseTestReservationService.java:69)
      at org.talend.esb.itest.ReservationServiceX509Test.testReserveCarAuthorized(ReservationServiceX509Test.java:43)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_05]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_05]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_05]
      at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_05]
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)[293:wrap_mvn_junit_junit_4.10:0]
      at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:70)
      at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:37)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.runners.ParentRunner.run(ParentRunner.java:300)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.runner.JUnitCore.run(JUnitCore.java:157)[293:wrap_mvn_junit_junit_4.10:0]
      at org.junit.runner.JUnitCore.run(JUnitCore.java:136)[293:wrap_mvn_junit_junit_4.10:0]
      at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
      at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:94)
      at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:77)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_05]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_05]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_05]
      at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_05]
      at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:86)[292:org.ops4j.pax.exam.rbc:2.6.0]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_05]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_05]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_05]
      at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_05]
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)[:1.7.0_05]
      at sun.rmi.transport.Transport$1.run(Transport.java:177)[:1.7.0_05]
      at sun.rmi.transport.Transport$1.run(Transport.java:174)[:1.7.0_05]
      at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_05]
      at sun.rmi.transport.Transport.serviceCall(Transport.java:173)[:1.7.0_05]
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)[:1.7.0_05]
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)[:1.7.0_05]
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)[:1.7.0_05]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0_05]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0_05]
      at java.lang.Thread.run(Thread.java:722)[:1.7.0_05]
      Caused by: org.osgi.service.blueprint.container.NoSuchComponentException: No component with id 'blueprintContainer' could be found
      at org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentMetadata(BlueprintContainerImpl.java:759)
      at org.apache.cxf.bus.blueprint.BlueprintBeanLocator.getBeansOfType(BlueprintBeanLocator.java:122)[127:org.apache.cxf.cxf-rt-core:2.7.3]
      at org.apache.cxf.bus.CXFBusImpl.getExtension(CXFBusImpl.java:108)[127:org.apache.cxf.cxf-rt-core:2.7.3]
      at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:203)[132:org.apache.cxf.cxf-rt-bindings-soap:2.7.3]
      at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:62)[132:org.apache.cxf.cxf-rt-bindings-soap:2.7.3]
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:800)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1592)[134:org.apache.cxf.cxf-rt-transports-http:2.7.3]
      at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1490)[134:org.apache.cxf.cxf-rt-transports-http:2.7.3]
      at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1309)[134:org.apache.cxf.cxf-rt-transports-http:2.7.3]
      at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:622)[134:org.apache.cxf.cxf-rt-transports-http:2.7.3]
      at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.ws.security.trust.AbstractSTSClient.issue(AbstractSTSClient.java:751)[170:org.apache.cxf.cxf-rt-ws-security:2.7.3]
      at org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:62)[170:org.apache.cxf.cxf-rt-ws-security:2.7.3]
      at org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:56)[170:org.apache.cxf.cxf-rt-ws-security:2.7.3]
      at org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:52)[170:org.apache.cxf.cxf-rt-ws-security:2.7.3]
      at org.apache.cxf.ws.security.policy.interceptors.IssuedTokenInterceptorProvider$IssuedTokenOutInterceptor.getTokenFromSTS(IssuedTokenInterceptorProvider.java:350)[170:org.apache.cxf.cxf-rt-ws-security:2.7.3]
      at org.apache.cxf.ws.security.policy.interceptors.IssuedTokenInterceptorProvider$IssuedTokenOutInterceptor.issueToken(IssuedTokenInterceptorProvider.java:453)[170:org.apache.cxf.cxf-rt-ws-security:2.7.3]
      at org.apache.cxf.ws.security.policy.interceptors.IssuedTokenInterceptorProvider$IssuedTokenOutInterceptor.handleMessage(IssuedTokenInterceptorProvider.java:149)[170:org.apache.cxf.cxf-rt-ws-security:2.7.3]
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)[126:org.apache.cxf.cxf-api:2.7.3]
      at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)[135:org.apache.cxf.cxf-rt-frontend-simple:2.7.3]
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:133)[136:org.apache.cxf.cxf-rt-frontend-jaxws:2.7.3]
      ... 47 more

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cschneider Christian Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: