users@jaxb.java.net

Re: jaxb and jbpm xsd

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 11 Jul 2006 13:01:54 -0700

Dale Wyttenbach wrote:
> 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?

Can you try JAXB 2.0.1? I just run this schema with my local workspace
and it compiled just fine.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com