I'm encountering the following exception using CXF 2.1 with JAXB-impl
2.1.6:

 

Caused by: java.lang.NullPointerException

        at java.util.Calendar.setTime(Calendar.java:1032)

        at
org.apache.cxf.tools.common.DataTypeAdapter.printDateTime(DataTypeAdapte
r.java:52)

        at gen.jdnets.ds.Adapter2.marshal(Adapter2.java:17)

        at gen.jdnets.ds.Adapter2.marshal(Adapter2.java:7)

        at
com.sun.xml.bind.v2.runtime.reflect.AdaptedAccessor.get(AdaptedAccessor.
java:31)

        ... 52 more

 

The same problem exists all the way back to jaxb-impl v2.1, but the
problem goes away if I regress to jaxb-impl 2.0.3. Should I report this
in JIRA? I read that CXF 2.1 was supposed to be compatible with JAXB
2.1.

 

- Aaron

Reply via email to