Hello,

I am new to JAXB. So I would like somebody to help me solve this problem.

I have a class say Test which contains only a List which has some 6 to 7 user defined objects. I am able to marshal the Test object to an xml file. But while unmarshalling back to the java object, I am getting a NullPointerExce ption and a part of the trace is pasted below

java.lang.NullP ointerException
at com.sun.xml.bin d.v2.runtime.re flect.Accessor$ GetterSetterRef lection.set(Acc essor.java:283)...