Hi Ruwan / Daniel
> I had a look at the issue and I think Daniels suggestion will work. I will
> fix this soon on the 1.3 branch.
>
>   
>> The file that contains the error is
>> synapse-nhttp-transport/ServerHandler.java:209
>> int bytesWritten = outBuf.produceContent(encoder);
>> where the outBuf is
>> ContentOutputBuffer outBuf = (ContentOutputBuffer)
>> context.getAttribute(RESPONSE_SOURCE_BUFFER);
>>
>> In this case when the outBuf is null, I think a possible solution to fix
>> this is to just close the connection.
>> What do you think?
>>     
Could you create a JIRA and attach a log you see? Ensure that it
captures the first time the runtime exception occurs. Is it also
possible to get a tcpdump of the communication that causes this during
normal operation - unless someone is trying to intentionally break
Synapse. Simply closing the connection here would not be the proper
solution - but something that will just cover up something else that
happened. We should use this opportunity to understand why this happens
during normal/abnormal operations and ensure that other possibilities
which may lead to this is also analyzed

cheers
asankha

-- 
Asankha C. Perera
AdroitLogic, http://adroitlogic.org

http://esbmagic.blogspot.com




Reply via email to