|
Hi Graham XmlBeans generates XmlObjects with getters
and setters that sit on top of an XML store which contains XML in a token based
form (this is different from most approaches where the values returned by the getters
are stored directly in the object as instance variables). An XmlValueDisconnectedException is a
RuntimeException which is thrown when the generated XmlObject has become
disconnected from its underlying store. This can happen in a number of
different scenarios – usually involving copying data from one place to
another (and note XmlObject setters perform a copy operation underneath the
covers). As for all exceptions the first thing I
would do is an: e.printStackTrace() in the calling code. This will give you an
idea of where the exception is being thrown from. If you can get hold of this stack trace
and post both it and some sample calling code along with the schema from which
you generated your objects then we might be able to tell you more about why you
are getting the exception. Note – the history of what you have done with
that particular XmlObject in the past – not just the single line that
caused the exception will be important in this case as we need to spot when it
became disconnected). Cheers, From: I can't tell without any code but there is a mention of this exception
in http://xmlbeans.apache.org/docs/2.0.0/reference/index.html Hi all, Yahoo! Mail _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. |
- XmlValueDisconnectedException: what does it mean? Graham Leggett
- Re: XmlValueDisconnectedException: what does it mean? Yana Kadiyska
- RE: XmlValueDisconnectedException: what does it mean? Lawrence Jones

