GitHub user lauroschuck opened a pull request:

    https://github.com/apache/cxf-xjc-utils/pull/3

    [CXFXJC-14] Anonymous enum simpleType causes NPE

    When I tried to use the Javadoc plugin on a certain XSD, it failed with a 
NPE. It is caused by a null TypeName object when trying to verify custom 
bindings for enums. A test case is included with example files, and the fix.
    
    Link for this bug on JIRA: https://issues.apache.org/jira/browse/CXFXJC-14

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lauroschuck/cxf-xjc-utils 
anonymous-enum-npe-fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf-xjc-utils/pull/3.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 #3
    
----
commit c893bee8ad53f8076f1161e169120850c3713412
Author: Lauro Schuck <[email protected]>
Date:   2015-10-21T23:35:54Z

    Added failing test for NPE issue

commit 562c3355b489a95f0539ace5e1f6b937dfb9cafa
Author: Lauro Schuck <[email protected]>
Date:   2015-10-21T23:41:20Z

    Fixing NPE caused by null enum TypeName

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to