Issue Type: Bug Bug
Affects Versions: 1.4
Assignee: Unassigned
Attachments: error.txt, pom-snippet.xml
Created: 12/Jul/12 9:07 PM
Description:

I get a Null Pointer Exception from within jaxb2-maven-plugin schemagen if I try to generate a schema on a type that's both an @XmlType and an @XmlRootElement.

fails:
@XmlType(name="", namespace="http://xxx.com/customer-api")
@XmlRootElement(name = "customer")

fails:
@XmlType(name="")
@XmlRootElement(name = "customer")

fails:
@XmlType(name="xxx")
@XmlRootElement(name = "customer", namespace="http://xxx.com/customer-api")

works:
@XmlType(name="")
@XmlRootElement(name = "customer", namespace="http://xxx.com/customer-api")

Environment: linux, maven 2.2.1
Project: JAXB-2 Maven Plugin
Priority: Major Major
Reporter: Christopher Piggott
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to