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 <[EMAIL PROTECTED]>:
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 <[EMAIL PROTECTED]>:
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.process
SessionRequests(DefaultConnectingIOReactor.java:249)
at
org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.execute
(DefaultConnectingIOReactor.java:109)
at
org.apache.axis2.transport.nhttp.HttpCoreNIOSender.executeClientEng
ine(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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]