Project: talendesb
Issue TESB-5626: Simultaneous usage of SAM and jms is broken
Possibility to use SAM and jms is not working. Exception is throwing on attempt to call provider when spring based consumer have next settings: if "" is removed then call passed successfully. This combination is not working for both, osgi and standalone, deployment types (i.e. both imports and were tested). Stacktrace of exception (from consumer's tesb.log): 00:11:21,824 | WARN | ion(9)-127.0.0.1 | ache.cxf.common.logging.LogUtils 405 | - - | Interceptor for {http://services.test.esb.talend.org/Sam/SamTestService}SamTestService#{http://services.test.esb.talend.org/Standard}doRequestResponse has thrown exception, unwinding now java.lang.NullPointerException org.apache.cxf.io.CacheAndWriteOutputStream.write(CacheAndWriteOutputStream.java:68)[109:org.apache.cxf.cxf-api:2.6.0.SNAPSHOT] com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:100) com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:225) com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:261) org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:99)[109:org.apache.cxf.cxf-api:2.6.0.SNAPSHOT] org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)[109:org.apache.cxf.cxf-api:2.6.0.SNAPSHOT] org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[109:org.apache.cxf.cxf-api:2.6.0.SNAPSHOT] org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532)[109:org.apache.cxf.cxf-api:2.6.0.SNAPSHOT] org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464)[109:org.apache.cxf.cxf-api:2.6.0.SNAPSHOT] org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367)[109:org.apache.cxf.cxf-api:2.6.0.SNAPSHOT] org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)[109:org.apache.cxf.cxf-api:2.6.0.SNAPSHOT] org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89) org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)[119:org.apache.cxf.cxf-rt-frontend-jaxws:2.6.0.SNAPSHOT] $Proxy89.doRequestResponse(Unknown Source) org.talend.esb.test.services.standard.StandardTestService$doRequestResponse.call(Unknown Source) org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)[211:groovy-all:1.8.6] org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)[211:groovy-all:1.8.6] org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)[211:groovy-all:1.8.6] org.talend.esb.test.stories.common.delegates.CommonRequestResponseExecutor.execute(script13346970817061652616846.groovy:51) org.talend.esb.tf.runtime.core.DefaultDelegate.execute(DefaultDelegate.java:264)[213:tesb.tf.runtime.core:2.2.0.SNAPSHOT] org.talend.esb.tf.runtime.core.GenericTestComponent.execute(GenericTestComponent.java:185)[213:tesb.tf.runtime.core:2.2.0.SNAPSHOT] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_30] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_30] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_30] java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_30] sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)[:1.6.0_30] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_30] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_30] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_30] java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_30] sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)[:1.6.0_30] javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1074)[:1.6.0_30] javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:955)[:1.6.0_30] org.springframework.jmx.export.SpringModelMBean.invoke(SpringModelMBean.java:90)[86:org.springframework.context:3.0.7.RELEASE] com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)[:1.6.0_30] com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)[:1.6.0_30] javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)[:1.6.0_30] javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)[:1.6.0_30] javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)[:1.6.0_30] javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)[:1.6.0_30] javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)[:1.6.0_30] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_30] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_30] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_30] java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_30] sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)[:1.6.0_30] sun.rmi.transport.Transport$1.run(Transport.java:159)[:1.6.0_30] java.security.AccessController.doPrivileged(Native Method)[:1.6.0_30] sun.rmi.transport.Transport.serviceCall(Transport.java:155)[:1.6.0_30] sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)[:1.6.0_30] sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)[:1.6.0_30] sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)[:1.6.0_30] java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_30] java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_30] java.lang.Thread.run(Thread.java:662)[:1.6.0_30]
Story points: 1