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

Rajika Kumarasiri commented on SYNAPSE-622:
-------------------------------------------

Sorry I missed the stack trace.  Here it goes.

[HttpClientWorker-8]  INFO EndpointContext Endpoint :
AnonymousEndpoint has been marked for SUSPENSION, but no further
retries remain. Thus it will be SUSPENDED.
2010-03-30 14:04:55,488 [127.0.1.1-evanthika-laptop]
[HttpClientWorker-8] ERROR Axis2Sender Unexpected error during sending
message out
java.lang.NullPointerException
       at 
org.apache.synapse.transport.nhttp.ClientConnectionDebug.recordRequestStartTime(ClientConnectionDebug.java:36)
       at 
org.apache.synapse.transport.nhttp.HttpCoreNIOSender.sendAsyncRequest(HttpCoreNIOSender.java:387)
       at 
org.apache.synapse.transport.nhttp.HttpCoreNIOSender.invoke(HttpCoreNIOSender.java:295)
       at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
       at 
org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:190)
       at 
org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:174)
       at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
       at 
org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:304)
       at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:57)
       at 
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:232)
       at 
org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:205)
       at 
org.apache.synapse.endpoints.LoadbalanceEndpoint.send(LoadbalanceEndpoint.java:79)
       at 
org.apache.synapse.endpoints.LoadbalanceEndpoint.onChildEndpointFail(LoadbalanceEndpoint.java:123)
       at 
org.apache.synapse.endpoints.AbstractEndpoint.onFault(AbstractEndpoint.java:302)
       at 
org.apache.synapse.endpoints.AddressEndpoint.onFault(AddressEndpoint.java:50)
       at org.apache.synapse.FaultHandler.handleFault(FaultHandler.java:101)
       at 
org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:189)
       at 
org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:131)
       at 
org.apache.synapse.transport.nhttp.ClientHandler$1.run(ClientHandler.java:435)
       at 
org.apache.synapse.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       at java.lang.Thread.run(Thread.java:619)



> 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