[ 
https://issues.apache.org/jira/browse/SYNAPSE-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489055
 ] 

Kasun Samarasinghe commented on SYNAPSE-76:
-------------------------------------------

This configuration is invalid. With  the latest build this error was not 
produced and instead 
message loops between two send mediators.

> Nullpointer exception thrown when message mediation occurs without having 
> <in> mediator
> ---------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-76
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-76
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-RC1-B1
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>
> Here is my synapse configuration.
> <definitions xmlns="http://ws.apache.org/ns/synapse";>
>      <log level="full">
>    <property name="incoming-property" value="This is incoming message"/>
>    </log>
>    
>      <send>
>    <endpoint>
>    <address uri="http://localhost:8080/axis2/services/esbservice"; />
>    </endpoint>
>    </send>
> <out>
> <log level="full">
>    <parameter name="outgoing-property" value="This is outgoing message"/>
>    </log>
> <send/>
> </out>
> </definitions> 
> Following exception thrown when sending a request through the above 
> configuration.
> Exception in thread "HttpClientWorker-3" java.lang.NullPointerException
>        at 
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:87)
>        at 
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:56)
>        at org.apache.axis2.engine.AxisEngine.receiveFault(AxisEngine.java:363)
>        at 
> org.apache.axis2.transport.nhttp.ClientWorker.run(ClientWorker.java:134)
>        at 
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>        at 
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolEx
> ecutor.java:690)
>        at java.lang.Thread.run(Thread.java:595)
> Exception in thread "HttpClientWorker-4" java.lang.NullPointerException
>        at 
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:87)
>        at 
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:56)
>        at org.apache.axis2.engine.AxisEngine.receiveFault(AxisEngine.java:363)
>        at 
> org.apache.axis2.transport.nhttp.ClientWorker.run(ClientWorker.java:134)
>        at 
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>        at 
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>        at java.lang.Thread.run(Thread.java:595) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to