You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2016/12/15 16:30:58 UTC

[jira] [Updated] (CXFXJC-14) Anonymous enum simpleType causes NPE

     [ https://issues.apache.org/jira/browse/CXFXJC-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh updated CXFXJC-14:
--------------------------------------
    Fix Version/s: 3.1.0

> Anonymous enum simpleType causes NPE
> ------------------------------------
>
>                 Key: CXFXJC-14
>                 URL: https://issues.apache.org/jira/browse/CXFXJC-14
>             Project: CXF XJC Utils
>          Issue Type: Bug
>          Components: Maven Plugin
>    Affects Versions: 3.0.5
>            Reporter: Lauro Schuck
>            Assignee: Colm O hEigeartaigh
>             Fix For: 3.0.6, 3.1.0
>
>
> The Javadoc plugin fails with a NullPointerException when trying to verify the presence of custom bindings on anonymous xsd:simpleType for enums:
> {noformat}
> java.lang.NullPointerException: null
> 	at org.apache.cxf.xjc.javadoc.JavadocInserter.isCustomBindingApplied(JavadocInserter.java:91)
> 	at org.apache.cxf.xjc.javadoc.JavadocInserter.addJavadoc(JavadocInserter.java:78)
> 	at org.apache.cxf.xjc.javadoc.JavadocInserter.addJavadocsToEnums(JavadocInserter.java:73)
> 	at org.apache.cxf.xjc.javadoc.JavadocInserter.addJavadocs(JavadocInserter.java:51)
> 	at org.apache.cxf.xjc.javadoc.JavadocPlugin.run(JavadocPlugin.java:61)
> {noformat}
> I submitted a pull request with a fix for this on the GitHub mirror: https://github.com/apache/cxf-xjc-utils/pull/3



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)