[
https://issues.jboss.org/browse/JBESB-3671?page=com.atlassian.jira.plugin...
]
Marek Baluch updated JBESB-3671:
--------------------------------
Description:
A SOAPProxy action defined like the following one:
{code}
<action name="proxy"
class="org.jboss.soa.esb.actions.soap.proxy.SOAPProxy">
<property name="wsdl"
value="internal://jboss.ws:context=Quickstart_bpm_webservice_proxy_ws,endpoint=TestWS"/>
</action>
{code}
will/may need to call the SOAPProxy.findElement(Message) method. This method will produce
a NullPointerException
{noformat}
2011-08-29 15:33:11,278 WARN [org.jboss.soa.esb.actions.soap.proxy.SOAPProxy]
(WorkManager(2)-14) null binding for soapaction [null]; parsing envelope to find element
or operation...
2011-08-29 15:33:11,322 DEBUG
[org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (WorkManager(2)-14)
Unexpected exception caught while processing the action pipeline
org.jboss.soa.esb.actions.ActionProcessingException: java.lang.NullPointerException
at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.findElement(SOAPProxy.java:505)
at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.process(SOAPProxy.java:387)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)
at
org.jboss.soa.esb.listeners.jca.JcaMessageAwareListener.process(JcaMessageAwareListener.java:163)
at
org.jboss.soa.esb.listeners.jca.JcaJMSInflowMessageProcessorAdapter.onMessage(JcaJMSInflowMessageProcessorAdapter.java:44)
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:597)
at org.jboss.soa.esb.listeners.jca.BaseJcaInflow$1.invoke(BaseJcaInflow.java:205)
at org.jboss.soa.esb.listeners.jca.EndpointProxy.delivery(EndpointProxy.java:258)
at org.jboss.soa.esb.listeners.jca.EndpointProxy.invoke(EndpointProxy.java:150)
at $Proxy413.onMessage(Unknown Source)
at
org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:179)
at
org.jboss.jms.client.container.ClientConsumer.callOnMessageStatic(ClientConsumer.java:167)
at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:895)
at
org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleRun_16427044.invoke(SessionAspect_z_handleRun_16427044.java)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:172)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:236)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.findElement(SOAPProxy.java:495)
... 30 more
{noformat}
was:
A SOAPProxy action defined like the following one:
{code}
<action name="proxy"
class="org.jboss.soa.esb.actions.soap.proxy.SOAPProxy">
<property name="wsdl"
value="internal://jboss.ws:context=Quickstart_bpm_webservice_proxy_ws,endpoint=TestWS"/>
<property name="soapAction" value=""/>
</action>
{code}
will/may need to call the SOAPProxy.findElement(Message) method. This method will produce
a NullPointerException
{noformat}
2011-08-29 15:33:11,278 WARN [org.jboss.soa.esb.actions.soap.proxy.SOAPProxy]
(WorkManager(2)-14) null binding for soapaction [null]; parsing envelope to find element
or operation...
2011-08-29 15:33:11,322 DEBUG
[org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (WorkManager(2)-14)
Unexpected exception caught while processing the action pipeline
org.jboss.soa.esb.actions.ActionProcessingException: java.lang.NullPointerException
at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.findElement(SOAPProxy.java:505)
at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.process(SOAPProxy.java:387)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)
at
org.jboss.soa.esb.listeners.jca.JcaMessageAwareListener.process(JcaMessageAwareListener.java:163)
at
org.jboss.soa.esb.listeners.jca.JcaJMSInflowMessageProcessorAdapter.onMessage(JcaJMSInflowMessageProcessorAdapter.java:44)
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:597)
at org.jboss.soa.esb.listeners.jca.BaseJcaInflow$1.invoke(BaseJcaInflow.java:205)
at org.jboss.soa.esb.listeners.jca.EndpointProxy.delivery(EndpointProxy.java:258)
at org.jboss.soa.esb.listeners.jca.EndpointProxy.invoke(EndpointProxy.java:150)
at $Proxy413.onMessage(Unknown Source)
at
org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:179)
at
org.jboss.jms.client.container.ClientConsumer.callOnMessageStatic(ClientConsumer.java:167)
at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:895)
at
org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleRun_16427044.invoke(SessionAspect_z_handleRun_16427044.java)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:172)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:236)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.findElement(SOAPProxy.java:495)
... 30 more
{noformat}
SOAPProxy fails to extract soapAction from request.
---------------------------------------------------
Key: JBESB-3671
URL:
https://issues.jboss.org/browse/JBESB-3671
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.10
Reporter: Marek Baluch
A SOAPProxy action defined like the following one:
{code}
<action name="proxy"
class="org.jboss.soa.esb.actions.soap.proxy.SOAPProxy">
<property name="wsdl"
value="internal://jboss.ws:context=Quickstart_bpm_webservice_proxy_ws,endpoint=TestWS"/>
</action>
{code}
will/may need to call the SOAPProxy.findElement(Message) method. This method will produce
a NullPointerException
{noformat}
2011-08-29 15:33:11,278 WARN [org.jboss.soa.esb.actions.soap.proxy.SOAPProxy]
(WorkManager(2)-14) null binding for soapaction [null]; parsing envelope to find element
or operation...
2011-08-29 15:33:11,322 DEBUG
[org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (WorkManager(2)-14)
Unexpected exception caught while processing the action pipeline
org.jboss.soa.esb.actions.ActionProcessingException: java.lang.NullPointerException
at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.findElement(SOAPProxy.java:505)
at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.process(SOAPProxy.java:387)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)
at
org.jboss.soa.esb.listeners.jca.JcaMessageAwareListener.process(JcaMessageAwareListener.java:163)
at
org.jboss.soa.esb.listeners.jca.JcaJMSInflowMessageProcessorAdapter.onMessage(JcaJMSInflowMessageProcessorAdapter.java:44)
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:597)
at org.jboss.soa.esb.listeners.jca.BaseJcaInflow$1.invoke(BaseJcaInflow.java:205)
at org.jboss.soa.esb.listeners.jca.EndpointProxy.delivery(EndpointProxy.java:258)
at org.jboss.soa.esb.listeners.jca.EndpointProxy.invoke(EndpointProxy.java:150)
at $Proxy413.onMessage(Unknown Source)
at
org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:179)
at
org.jboss.jms.client.container.ClientConsumer.callOnMessageStatic(ClientConsumer.java:167)
at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:895)
at
org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleRun_16427044.invoke(SessionAspect_z_handleRun_16427044.java)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:172)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
at
org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:236)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.findElement(SOAPProxy.java:495)
... 30 more
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira