[ 
https://issues.apache.org/jira/browse/SYNAPSE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852685#action_12852685
 ] 

Ruwan Linton commented on SYNAPSE-622:
--------------------------------------

Hi Rajika,

This is caused not because neither the connection nor the context was null, 
rather the respective attribute that we were looking for is null.

Eric, you are absolutely correct, this could lead to wrong information on the 
connection debug log. Actual issue in this particular case is where we seem to 
miss to add the connection creation time in one of the flows. I came across a 
similar issue which I think is caused by this. We need to fix the root cause 
before applying this patch, yet it is important for this patch to be there.

Thanks,
Ruwan

> NPE in ClientConnectionDebug.java:36 when running in a failover scenario 
> -------------------------------------------------------------------------
>
>                 Key: SYNAPSE-622
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-622
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>            Reporter: Rajika Kumarasiri
>            Priority: Critical
>             Fix For: 1.3
>
>         Attachments: SYNAPSE-622.patch
>
>
> When I run sample #52 with one of the leaf endpoint being timeout, following 
> NPE is thrown time to time. Once this is encountered that message is 
> permanently lost. I'll upload a small patch which will fix the problem. 

-- 
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