users@jaxb.java.net

Re: SerializationException

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 09 Jun 2003 08:18:58 -0700

Petra Malik <petra_at_cs.waikato.ac.nz> wrote:
> Hi,
>
> using JAXB 1.0.1, I get an exception (while marshalling) which I did not
> get with JAXB 1.0:
>
> com.sun.xml.bind.serializer.AbortSerializationException:
> A tree contains a reference to ID "DATE.3" but its not a part of the
> object graph
>
> What does that mean?

In your case, the object with ID "DATE.3" is not marshalled.

The error is reported when you try to marshal a tree with IDREF but when
the object pointed by IDREF is not a part of the tree.


regards,
--
Kohsuke Kawaguchi                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com