You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Michele Mazzucco (JIRA)" <ji...@apache.org> on 2008/01/07 11:27:33 UTC

[jira] Created: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

 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


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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Michele Mazzucco (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michele Mazzucco resolved AXIS2-3428.
-------------------------------------

    Resolution: Fixed

>  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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved AXIS2-3428.
--------------------------------------

    Resolution: Won't Fix
      Assignee: Asankha C. Perera

HTTP/S NIO is not within the Axis2 project anymore. If there is any issue, please use the latest version from Synapse

>  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
>            Assignee: Asankha C. Perera
>            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.


[jira] Commented: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581912#action_12581912 ] 

Davanum Srinivas commented on AXIS2-3428:
-----------------------------------------

Michele,

Can you please upload a fresh patch.

thanks,
dims

>  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
>             Fix For: 1.4
>
>         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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558100#action_12558100 ] 

Andreas Veithen commented on AXIS2-3428:
----------------------------------------

More information is available in the following thread: http://www.nabble.com/-Axis2--NPE-in-HttpCoreNIOSender-to14732806.html

@Michele: Could you please attach the test case that triggers this error?

>  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
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Reopened: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Michele Mazzucco (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michele Mazzucco reopened AXIS2-3428:
-------------------------------------


>  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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-3428:
------------------------------------

    Fix Version/s:     (was: 1.4)

>  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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575069#action_12575069 ] 

Asankha C. Perera commented on AXIS2-3428:
------------------------------------------

Deepal - Is point # 2 above correct? will this work with a two way transport?

Michele, for point # 3, I am ok to implement such an interface provided Axis2 changes its transport interface to support it.. maybe you should raise it on the axis2-dev@ list for comments?

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Michele Mazzucco (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581942#action_12581942 ] 

Michele Mazzucco commented on AXIS2-3428:
-----------------------------------------

The patch for AXIS2-3532 should fix this too.


Michele

>  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
>             Fix For: 1.4
>
>         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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575245#action_12575245 ] 

Deepal Jayasinghe commented on AXIS2-3428:
------------------------------------------

About the #option 2
- you can call sendReceiveNonBlocking() for any kind of operation but you need to keep in mind that if you call void operation with above method then you have to set the useSeparetListener=true. For in-only operation there is no problem.

If you call void operation using sendReceiveNonBlocking() , Axis2 internally wait and give you the timeout exception. 

Thank you,
Deepal

>  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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572204#action_12572204 ] 

Andreas Veithen commented on AXIS2-3428:
----------------------------------------

Michele,

Can you summarize the changes you did? (It is difficult to see this from the patch file)

As far as I can see, you made two changes:
1) Handle timeout differently since there is no exception object in that case.
2) Check for null MessageReceiver.

In the Synapse code base, the first problem was already corrected by SYNAPSE-205. For the second one, Oleg (who is the maintainer of this code) should provide feedback.


>  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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Michele Mazzucco (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michele Mazzucco updated AXIS2-3428:
------------------------------------

    Attachment:     (was: TestMultipleAsync.tar.gz)

>  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.xml
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Michele Mazzucco (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581945#action_12581945 ] 

Michele Mazzucco commented on AXIS2-3428:
-----------------------------------------

Dims,

patch AXIS2-3532 is indeed only a workaround because it swallows the error if the message receiver is null.
I would leave it for the 1.5 version, where (hopefully) it would be possible to use Future and other concurrency related stuff and make major changes (see my comments above).


Michele

>  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
>             Fix For: 1.4
>
>         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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3428) NullPointerException in HttpCoreNIOSender

Posted by "Michele Mazzucco (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michele Mazzucco updated AXIS2-3428:
------------------------------------

    Fix Version/s: 1.4

>  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
>             Fix For: 1.4
>
>         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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org