axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Althuru, Samaya" <>
Subject Axis2 1.5.1 - ServiceClient cleanupTransport() throws NullPointerException
Date Wed, 18 Nov 2009 18:10:02 GMT
Hi There,

Need some direction with the following production issue.

In our production, recently we hit the well-known connection CLOSE_WAIT issue with axis21.3
stand-alone client on Linux. (

We noticed that this bug has been fixed in axis21.5.1 version. So, we did upgrade to axis2
1.5.1 and added stub._getServiceClient.cleanupTrasport() statement after service call. Everything
went fine but suddenly today, the process threw NPE while cleaning up transport.

The exception stack trace is as follows.

Exception in thread "Timer-0" java.lang.NullPointerException
       at org.apache.commons.httpclient.HttpMethodBase.responseBodyConsumed(
       at org.apache.commons.httpclient.HttpMethodBase$1.responseConsumed(
       at org.apache.commons.httpclient.AutoCloseInputStream.notifyWatcher(
       at org.apache.commons.httpclient.AutoCloseInputStream.close(
       at org.apache.commons.httpclient.HttpMethodBase.releaseConnection(
       at org.apache.axis2.transport.http.CommonsHTTPTransportSender.cleanup(
       at org.apache.axis2.client.ServiceClient.cleanupTransport(
       at com.telcordia.sirgpd.driver.titan.v_6_5.TitanNormalizedDriver.sendBatch(
       at com.telcordia.sirgpd.driver.titan.v_6_5.TitanNormalizedDriver.batch(
       at com.telcordia.sirgpd.common.Distributor.batch(
       at com.telcordia.sirgpd.common.OutputQConsumerTask.processOutputQData(
       at java.util.TimerThread.mainLoop(Unknown Source)
       at Source)

I am puzzled how the connection got closed (by OS?) to cause nullpointerexception.

Any inputs are highly appreciated.


View raw message