An exception occurs while writing data to the XML stream.
An exception is displayed while writing data of the
object to XML output stream.
The reason for the failure is present in the exception
stack trace. You must take the corrective action based on the description
of the exception.