You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by weltraumpirat <gi...@git.apache.org> on 2015/06/23 15:04:36 UTC

[GitHub] cxf pull request: Fix null pointer exception when importing a WSDL

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 <to...@me.com>
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.
---

[GitHub] cxf pull request: Fix null pointer exception when importing a WSDL

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/cxf/pull/78


---
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.
---