> I am trying to marshal a JAXB object into XML, but I get
> "AbortSerializationException : a required object is missing"
>
> marshal(jaxbObject, sw);
>
> What does the exception mean ?
> How can I find more information about what object is missing ?
We've made a change so that the next version will report the name of
the missing field. Hopefully that will help you track down the problem
quickly.
Another thing you can do even today is to attach a debugger to the
program and go through the stack trace. Almost all of those are
generated source code, you could see which variable is null.
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net