users@jaxb.java.net

Find out what object is missing

From: Christof Strack <christof.strack_at_sun.com>
Date: Wed, 14 May 2003 11:56:33 +0200

Hi,

when marshalling an object we get the following exception:

javax.xml.bind.MarshalException
  - with linked exception:
[com.sun.xml.bind.serializer.AbortSerializationException: a required
object is missing] at
com.sun.xml.bind.marshaller.MarshallerImpl.write(MarshallerImpl.java:143)
         at
com.sun.xml.bind.marshaller.MarshallerImpl.marshal(MarshallerImpl.java:112)
         at
javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:73)
         at
com.sun.mms.event.producer.JMSEventPublisher.sendJMSMessage(JMSEventPublisher.java:294)

How is is possible to get a more specific exception to track find out
what object exactaly is missing?

Can we enable some internal debugging ?

Christof