Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 20634 invoked from network); 3 Oct 2006 06:17:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2006 06:17:33 -0000 Received: (qmail 78521 invoked by uid 500); 3 Oct 2006 06:17:26 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 78480 invoked by uid 500); 3 Oct 2006 06:17:26 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 78469 invoked by uid 99); 3 Oct 2006 06:17:26 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2006 23:17:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:57266] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id EC/68-29668-D2002254 for ; Mon, 02 Oct 2006 23:16:17 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 011C57141F5 for ; Mon, 2 Oct 2006 23:15:20 -0700 (PDT) Message-ID: <23000426.1159856119992.JavaMail.root@brutus> Date: Mon, 2 Oct 2006 23:15:19 -0700 (PDT) From: "Asankha C. Perera (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-1286) RawXMLINOutMessageReceiver throws up a NPE if the business logic returns null In-Reply-To: <27120644.1159855879689.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-1286?page=comments#action_12439394 ] Asankha C. Perera commented on AXIS2-1286: ------------------------------------------ test.mr.MRTest1 urn:returnNull public class MRTest1 { public OMElement returnNull(OMElement element){ .... return null; } } The above throws a NPE which is returned as the SOAP fault > RawXMLINOutMessageReceiver throws up a NPE if the business logic returns null > ----------------------------------------------------------------------------- > > Key: AXIS2-1286 > URL: http://issues.apache.org/jira/browse/AXIS2-1286 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: rpc > Reporter: Asankha C. Perera > Assigned To: Asankha C. Perera > Priority: Minor > > The RawXMLINOutMessageReceiver currently throws a NPE if the method invoked on the service implementation class returns null. A meaningful SOAP fault should be returned to the client. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org