I'm just getting started with jaxb and I'm having trouble with the
following schema:
http://docs.jboss.org/jbpm/xsd/jpdl-3.1.xsd
The code generates and compiles fine, but when I try the following:
JAXBContext jaxbContext = JAXBContext
.newInstance("org.jbpm.jpdl_3");
I get a java.lang.NullPointerException:
at com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.calcXmlName(PropertyInfoImpl.java:287)
I get the same results regardless of whether I'm using the m2 plugin
or not. Can someone shed light on this, or confirm that this xsd
gives them the same result?
Thanks,
Dale