[
https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573768#action_12573768
]
Asankha C. Perera commented on AXIS2-3428:
------------------------------------------
Michele
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();
options.setTo(TARGET);
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
options.setAction("urn:asyncEcho");
sender.setOptions(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");
method.addChild(value);
sender.sendRobust(method);
TestingUtils.pause(20L);
}
asankha
> NullPointerException in HttpCoreNIOSender
> ------------------------------------------
>
> Key: AXIS2-3428
> URL: https://issues.apache.org/jira/browse/AXIS2-3428
> 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, TestCaseAXIS2_3428.java,
> TestMultipleAsync.tar.gz
>
>
> 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.processEvent(DefaultConnectingIOReactor.java:151)
> at
> org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:131)
> at
> org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.execute(DefaultConnectingIOReactor.java:112)
> at
> org.apache.axis2.transport.nhttp.HttpCoreNIOSender.executeClientEngine(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)
--
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]