Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 14423 invoked from network); 22 Sep 2006 13:29:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Sep 2006 13:29:43 -0000 Received: (qmail 44644 invoked by uid 500); 22 Sep 2006 13:29:41 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 44560 invoked by uid 500); 22 Sep 2006 13:29:41 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 44545 invoked by uid 500); 22 Sep 2006 13:29:41 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 44539 invoked by uid 99); 22 Sep 2006 13:29:41 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Sep 2006 06:29:40 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=dims@apache.org; spf=permerror X-ASF-Spam-Status: No, hits=-9.4 required=5.0 tests=ALL_TRUSTED,NO_REAL_NAME Received-SPF: error (idunn.apache.osuosl.org: domain apache.org from 140.211.166.113 cause and error) Received: from [140.211.166.113] ([140.211.166.113:63016] helo=eris.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 12/FA-06791-835E3154 for ; Fri, 22 Sep 2006 06:29:29 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id BE0CB1A981A; Fri, 22 Sep 2006 06:29:08 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r448920 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java Date: Fri, 22 Sep 2006 13:29:08 -0000 To: axis2-cvs@ws.apache.org From: dims@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20060922132908.BE0CB1A981A@eris.apache.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: dims Date: Fri Sep 22 06:29:08 2006 New Revision: 448920 URL: http://svn.apache.org/viewvc?view=rev&rev=448920 Log: prevent NPE Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java?view=diff&rev=448920&r1=448919&r2=448920 ============================================================================== --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java (original) +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java Fri Sep 22 06:29:08 2006 @@ -674,7 +674,7 @@ (QName) resolvedRpcWrappedElementMap.get( wsdl4jOperation.getName() + WRAPPED_OUTPUTNAME_SUFFIX)); - } else { + } else if(wsdl4jMessage != null){ //pick the first part from the list and take that as the relevant part //it is somewhat questionable whether the first part gets picked //but we'll have to take a chance here --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org