axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AXIS2-5772) NPE at at org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl.processSetCookieHeaders(HTTPSenderImpl.java:480)
Date Sun, 29 May 2016 12:59:12 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen resolved AXIS2-5772.
------------------------------------
    Resolution: Fixed

> NPE at  at org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl.processSetCookieHeaders(HTTPSenderImpl.java:480)
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5772
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5772
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.7.0
>         Environment: Linux
>            Reporter: Nguyen Huy Vu
>             Fix For: 1.7.3
>
>
> I tried to re get response and it throw thís exception:
> {code}
>  httpclient.wire.header|<< "HTTP/1.1 200 OK[\r][\n]"
> 11:32:16.244|DEBUG|                            httpclient.wire.header|<< "HTTP/1.1
200 OK[\r][\n]"
> 11:32:16.245|DEBUG|                            httpclient.wire.header|<< "Server:
Apache-Coyote/1.1[\r][\n]"
> 11:32:16.246|DEBUG|                            httpclient.wire.header|<< "Content-Type:
text/xml;charset=utf-8[\r][\n]"
> 11:32:16.246|DEBUG|                            httpclient.wire.header|<< "Content-Length:
746[\r][\n]"
> 11:32:16.246|DEBUG|                            httpclient.wire.header|<< "Date:
Thu, 19 May 2016 04:32:21 GMT[\r][\n]"
> 11:32:16.246|DEBUG|                            httpclient.wire.header|<< "Set-Cookie:
NSC_ESNS=7711352e-41d5-173d-9678-00e0ed3504ac_1878174843_0713353058_00000000006291767922;
Path=/; Expires=Thu, 19-May-2016 04:32:36 GMT[\r][\n]"
> 11:32:16.246|DEBUG|                            httpclient.wire.header|<< "[\r][\n]"
> 11:32:16.254|DEBUG|      org.apache.commons.httpclient.HttpMethodBase|Cookie accepted:
"$Version=0; NSC_ESNS=7711352e-41d5-173d-9678-00e0ed3504ac_1878174843_0713353058_00000000006291767922;
$Path=/"
> 11:32:16.258|DEBUG|                           httpclient.wire.content|<< "<?xml
version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><NS1:GetContractInfoResponse
xmlns:NS1="http://RepaymentService"><SysResponse><TransID>R_1463631715508</TransID><DateTime>2016-05-19T11:32:21.863464+07:00</DateTime><Code>0</Code><Description>OK</Description></SysResponse><IDCardNumber>***2836</IDCardNumber</NS1:GetContractInfoResponse></soapenv:Body></soapenv:Envelope>"
> 11:32:16.258|DEBUG|      org.apache.commons.httpclient.HttpMethodBase|Resorting to protocol
version default close connection policy
> 11:32:16.258|DEBUG|      org.apache.commons.httpclient.HttpMethodBase|Should NOT close
connection, using HTTP/1.1
> 11:32:16.259|DEBUG|      org.apache.commons.httpclient.HttpConnection|Releasing connection
back to connection manager.
> 11:32:16.259|DEBUG|mons.httpclient.MultiThreadedHttpConnectionManager|Freeing connection,
hostConfig=HostConfiguration[host=https://partner-prod.fecredit.com.vn]
> 11:32:16.259|DEBUG|ache.commons.httpclient.util.IdleConnectionHandler|Adding connection
at: 1463632336259
> 11:32:16.259|DEBUG|mons.httpclient.MultiThreadedHttpConnectionManager|Notifying no-one,
there are no waiting threads
> 11:32:16.260|ERROR|                                          |[[1463631715508][201512186210800003]]---[get
contract info] got Connection Exception.
> java.lang.NullPointerException
>         at org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl.processSetCookieHeaders(HTTPSenderImpl.java:480)
>         at org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl.obtainHTTPHeaderInformation(HTTPSenderImpl.java:436)
>         at org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl.processResponse(HTTPSenderImpl.java:490)
>         at org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl.handleResponse(HTTPSenderImpl.java:311)
>         at org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl.sendViaPost(HTTPSenderImpl.java:213)
>         at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:121)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:403)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:234)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:431)
>         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:399)
>         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:150)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message