axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject Re: [Axis2] NPE in HttpCoreNIOSender
Date Thu, 10 Jan 2008 18:14:59 GMT
  mr.receive(nioFaultMessageContext);


On 10 Jan 2008, at 16:45, Andreas Veithen wrote:

> Michele,
>
> Can you post the code at line 442 in HttpCoreNIOSender.java that  
> triggers the error?
>
> Andreas
>
> Quoting Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk>:
>
>> Andreas,
>>
>> it must be a concurrency-related problem because I cannot  
>> reproduce it
>> when I execute instructions step-by-step with the debugger.
>>
>> Michele
>>
>> On 10 Jan 2008, at 14:59, Andreas Veithen wrote:
>>
>>> Hi Mechele,
>>>
>>> This issue is indeed strictly related to connection timeouts. I   
>>> remember that there were other issues with NPEs in   
>>> HTTPCoreNIOSender. These were resolved in the meantime, but   
>>> probably those corrections have not yet been propagated to Axis2.
>>>
>>> It would be interesting to know which variable is actually null  
>>> in  the handleError method. Do you think that you will be able to  
>>> check  this?
>>>
>>> Regards,
>>>
>>> Andreas
>>>
>>> Quoting Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk>:
>>>
>>>> Andreas,
>>>>
>>>> my problem looks quite similar to JIRA Synapse-205 [1], the  
>>>> difference
>>>> is that the second row of the stack trace is "failed" and not  
>>>> "timeout".
>>>>
>>>> Michele
>>>>
>>>>
>>>> [1] http://issues.apache.org/jira/browse/SYNAPSE-205
>>>>
>>>> On 10 Jan 2008, at 13:23, Andreas Veithen wrote:
>>>>
>>>>> Hi Michele!
>>>>>
>>>>> I think the NIO HTTP code in Axis2 actually comes from the  
>>>>> Apache   Synapse project. There were several issues about NPEs  
>>>>> reported  for  Synapse. Maybe you can search the JIRA issues to  
>>>>> see if your   particular issue has already been solved in Synapse.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Andreas
>>>>>
>>>>> Quoting Michele Mazzucco <Michele.Mazzucco@ncl.ac.uk>:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I'm unit testing some code and I see a NPE in the  
>>>>>> HTTPCoreNIOSender.
>>>>>> The stack trace is the following:
>>>>>>
>>>>>> Exception in thread "HttpCoreNIOSender"  
>>>>>> java.lang.NullPointerException
>>>>>> 	at
>>>>>> org.apache.axis2.transport.nhttp.HttpCoreNIOSender 
>>>>>> $2.handleError(HttpCoreNIOSender.java:442)
>>>>>> 	at
>>>>>> org.apache.axis2.transport.nhttp.HttpCoreNIOSender$2.failed 
>>>>>> (HttpCoreNIOSender.java:412)
>>>>>> 	at
>>>>>> org.apache.http.impl.nio.reactor.SessionRequestImpl.failed 
>>>>>> (SessionRequestImpl.java:139)
>>>>>> 	at
>>>>>> org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.proce

>>>>>> ssSessionRequests(DefaultConnectingIOReactor.java:249)
>>>>>> 	at
>>>>>> org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.execu

>>>>>> te(DefaultConnectingIOReactor.java:109)
>>>>>> 	at
>>>>>> org.apache.axis2.transport.nhttp.HttpCoreNIOSender.executeClientE

>>>>>> ngine(HttpCoreNIOSender.java:127)
>>>>>> 	at
>>>>>> org.apache.axis2.transport.nhttp.HttpCoreNIOSender.access$000 
>>>>>> (HttpCoreNIOSender.java:69)
>>>>>> 	at
>>>>>> org.apache.axis2.transport.nhttp.HttpCoreNIOSender$1.run 
>>>>>> (HttpCoreNIOSender.java:102)
>>>>>> 	at java.lang.Thread.run(Thread.java:613)
>>>>>>
>>>>>> Any idea?
>>>>>> Michele
>>>>>>
>>>>>> -----------------------------------------------------------------

>>>>>> ----
>>>>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> ---
>>>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> -
>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message