Has anyone got EclipseLink MOXy (I’m using eclipselink 2.1.0) to work with Java 5? Whenever I try to unmarshal I get a null pointer exception in org.eclipse.persistence.oxm.record.UnmarshalRecord, in the startCDATA() method (xPathNode is null). The exact same code and XML works wonderfully in Java6.
Has anyone got EclipseLink MOXy (I’m using eclipselink 2.1.0) to work with Java 5?
Share
I’m the tech lead for MOXy. Can you provide the stack trace & more details on your use case?
For more information on MOXy check out:
Re your update:
I haven’t been able to reproduce this on my end. I am using the following env. Do you have a test case you can send (blaise.doughan@gmail.com) or point out what I’m doing differently?:
The following model:
Demo code:
And XML: