cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lauro Schuck (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXFXJC-14) Anonymous enum simpleType causes NPE
Date Wed, 21 Oct 2015 23:58:28 GMT
Lauro Schuck created CXFXJC-14:
----------------------------------

             Summary: 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


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}



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

Mime
View raw message