Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 9094 invoked from network); 10 Jan 2008 13:23:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2008 13:23:53 -0000 Received: (qmail 83252 invoked by uid 500); 10 Jan 2008 13:23:25 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 83226 invoked by uid 500); 10 Jan 2008 13:23:25 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 83196 invoked by uid 99); 10 Jan 2008 13:23:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 05:23:25 -0800 X-ASF-Spam-Status: No, hits=3.0 required=10.0 tests=MIME_QP_LONG_LINE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [195.238.6.174] (HELO mailrelay008.isp.belgacom.be) (195.238.6.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 13:23:12 +0000 X-Belgacom-Dynamic: yes Received: from 90.135-240-81.adsl-dyn.isp.belgacom.be (HELO gate.veithen.net) ([81.240.135.90]) by relay.skynet.be with ESMTP; 10 Jan 2008 14:23:04 +0100 Received: from veithen.net (localhost [127.0.0.1]) by gate.veithen.net (Postfix) with ESMTP id E7AD854092 for ; Thu, 10 Jan 2008 14:23:03 +0100 (CET) Received: from 195.177.83.221 ([195.177.83.221]) by veithen.no-ip.org (Horde MIME library) with HTTP; Thu, 10 Jan 2008 14:23:03 +0100 Message-ID: <20080110142303.dr2l0wb3swgkggsc@veithen.no-ip.org> Date: Thu, 10 Jan 2008 14:23:03 +0100 From: Andreas Veithen To: axis-user@ws.apache.org Subject: Re: [Axis2] NPE in HttpCoreNIOSender References: <6FC8F31A-2782-4754-A6E0-B08413220697@ncl.ac.uk> In-Reply-To: <6FC8F31A-2782-4754-A6E0-B08413220697@ncl.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi Michele! I think the NIO HTTP code in Axis2 actually comes from the Apache =20 Synapse project. There were several issues about NPEs reported for =20 Synapse. Maybe you can search the JIRA issues to see if your =20 particular issue has already been solved in Synapse. Regards, Andreas Quoting Michele Mazzucco : > Hi all, > > I'm unit testing some code and I see a NPE in the HTTPCoreNIOSender. > The stack trace is the following: > > Exception in thread "HttpCoreNIOSender" java.lang.NullPointerException > =09at > org.apache.axis2.transport.nhttp.HttpCoreNIOSender$2.handleError(HttpCoreN= IOSender.java:442) > =09at > org.apache.axis2.transport.nhttp.HttpCoreNIOSender$2.failed(HttpCoreNIOSen= der.java:412) > =09at > org.apache.http.impl.nio.reactor.SessionRequestImpl.failed(SessionRequestI= mpl.java:139) > =09at > org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processSession= Requests(DefaultConnectingIOReactor.java:249) > =09at > org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.execute(Defaul= tConnectingIOReactor.java:109) > =09at > org.apache.axis2.transport.nhttp.HttpCoreNIOSender.executeClientEngine(Htt= pCoreNIOSender.java:127) > =09at > org.apache.axis2.transport.nhttp.HttpCoreNIOSender.access$000(HttpCoreNIOS= ender.java:69) > =09at > org.apache.axis2.transport.nhttp.HttpCoreNIOSender$1.run(HttpCoreNIOSender= .java:102) > =09at java.lang.Thread.run(Thread.java:613) > > Any idea? > Michele > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org