cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXFXJC-14) Anonymous enum simpleType causes NPE
Date Thu, 22 Oct 2015 09:07:27 GMT

    [ https://issues.apache.org/jira/browse/CXFXJC-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968837#comment-14968837
] 

ASF GitHub Bot commented on CXFXJC-14:
--------------------------------------

Github user asfgit closed the pull request at:

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


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

Mime
View raw message