You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Charitha Kankanamge (JIRA)" <ji...@apache.org> on 2007/03/19 11:59:32 UTC

[jira] Created: (SYNAPSE-76) Nullpointer exception thrown when message mediation occurs without having mediator

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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-76) Nullpointer exception thrown when message mediation occurs without having mediator

Posted by "Kasun Samarasinghe (JIRA)" <ji...@apache.org>.
    [ 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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Closed: (SYNAPSE-76) Nullpointer exception thrown when message mediation occurs without having mediator

Posted by "Charitha Kankanamge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charitha Kankanamge closed SYNAPSE-76.
--------------------------------------


Hi Asankha,

Closed the issue since the configuration is invalid. I'm really sorry for the inconvenience caused. :(

regards
Charitha

> 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
>         Assigned To: Asankha C. Perera
>             Fix For: 1.0-RC1-B3
>
>
> 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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Resolved: (SYNAPSE-76) Nullpointer exception thrown when message mediation occurs without having mediator

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-76.
--------------------------------------

       Resolution: Invalid
    Fix Version/s: 1.0-RC1-B3
         Assignee: Asankha C. Perera

charitha

marking this invalid as the configuration is invalid. Let me know if you have any objections

asankha

> 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
>         Assigned To: Asankha C. Perera
>             Fix For: 1.0-RC1-B3
>
>
> 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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org