Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A126E18498 for ; Tue, 23 Jun 2015 13:04:42 +0000 (UTC) Received: (qmail 12929 invoked by uid 500); 23 Jun 2015 13:04:37 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 12859 invoked by uid 500); 23 Jun 2015 13:04:37 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 12848 invoked by uid 99); 23 Jun 2015 13:04:37 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2015 13:04:37 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DB33AE0019; Tue, 23 Jun 2015 13:04:36 +0000 (UTC) From: weltraumpirat To: dev@cxf.apache.org Reply-To: dev@cxf.apache.org Message-ID: Subject: [GitHub] cxf pull request: Fix null pointer exception when importing a WSDL Content-Type: text/plain Date: Tue, 23 Jun 2015 13:04:36 +0000 (UTC) GitHub user weltraumpirat opened a pull request: https://github.com/apache/cxf/pull/78 Fix null pointer exception when importing a WSDL PartialWSDLProcessor.isPortTypeExisted() checks against definition.getAllPortTypes() (line 64), while the loop in WSDLServiceFactory iterates only over definition.getPortTypes() (line 136). This causes a null pointer exception in cases when addition WSDLs containing port type definitions are imported, but none are defined in the parent WSDL. You can merge this pull request into a Git repository by running: $ git pull https://github.com/weltraumpirat/cxf patch-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cxf/pull/78.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #78 ---- commit 140f765a78765152cd5c5ab2a794dfd391175d8d Author: Tobias Goeschel Date: 2015-06-23T12:05:33Z Fix null pointer exception when importing a WSDL PartialWSDLProcessor.isPortTypeExisted() checks against definition.getAllPortTypes() (line 64), while the loop in WSDLServiceFactory iterates only over definition.getPortTypes() (line 136). This causes a null pointer exception in cases when addition WSDLs containing port type definitions are imported, but none are defined in the parent WSDL. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---