[esb-java-user] NPE when using a Spring Mediator

Asankha C. Perera asankha at wso2.com
Wed Aug 27 09:52:58 PDT 2008


Hi Ruwan
> Well, not really. I think you forgot that we did an improvement before 
> the 1.7 release so that you do not need to specify any outSequence and 
> it defaults to send the response back to the caller. At the same time 
> endpoint is optional provided that you do a send in the inSequence 
> providing the endpoint there if you need to forward the message to an 
> endpoint.
>   
Ok.. you are right.. Looking at the code, the NPE is caused by the line 
below:

boolean isFault = synCtx.getEnvelope().getBody().hasFault();

Stefan, can you send your request to the ESB through TCPMon and capture 
the message, and share with us?

asankha
-- 
Asankha C. Perera

WSO2 - http://wso2.org
http://esbmagic.blogspot.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.wso2.org/pipermail/esb-java-user/attachments/20080827/6e93c870/attachment.htm 


More information about the Esb-java-user mailing list