axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <>
Subject [jira] Commented: (AXIS2-3428) NullPointerException in HttpCoreNIOSender
Date Fri, 29 Feb 2008 14:48:51 GMT


Asankha C. Perera commented on AXIS2-3428:


I tried your test suite, but it failed for two of the methods, one being testNBSenderInOutAsync()

Looking closely into it, I think you are using the ServiceClient.sendReceiveNonBlocking()
to call an InOnlyAxisOperation which is wrong.

I agree that when a 202 accepted response is received that the ClientHandler should not look
for the MR to pass it back, but I am having trouble now trying to understand what exactly
is the problem we are trying to solve.. 

I am guessing your Mac OS may have something to do with any intermittent errors you are seeing,
but on my Linux (Ubuntu) system, I do not see any other exceptions when I do the following:

            sender = new ServiceClient(asyncConfCtx, null);            
            Options options = new Options();
            for (int i = 0; i < REQUEST; i++) {
                OMElement method = factory.createOMElement("asyncEcho", omNs);
                OMElement value = factory.createOMElement("myValue", omNs);
                value.setText("Isaac Asimov, The Foundation Trilogy");


>  NullPointerException in HttpCoreNIOSender
> ------------------------------------------
>                 Key: AXIS2-3428
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.3
>         Environment: java 1.5, mac os x, axis2 1.3 (embedded)
>            Reporter: Michele Mazzucco
>            Priority: Critical
>         Attachments: AXIS2-3428.patch, axis2.xml,, TestMultipleAsync.tar.gz
> Exception in thread "HttpCoreNIOSender" java.lang.NullPointerException
> 	at org.apache.axis2.transport.nhttp.HttpCoreNIOSender$2.handleError(
> 	at org.apache.axis2.transport.nhttp.HttpCoreNIOSender$2.failed(
> 	at org.apache.http.impl.nio.reactor.SessionRequestImpl.failed(
> 	at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(
> 	at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(
> 	at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.execute(
> 	at org.apache.axis2.transport.nhttp.HttpCoreNIOSender.executeClientEngine(
> 	at org.apache.axis2.transport.nhttp.HttpCoreNIOSender.access$000(
> 	at org.apache.axis2.transport.nhttp.HttpCoreNIOSender$
> 	at

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:
For additional commands, e-mail:

View raw message