TREX 7.1: Serialization of an XML data stream has failed

[] [] [] [] [] [] []

Symptom
You sporadically receive an error message that the serialization of an XML data stream has failed.
Other terms
DBPROC, DBSL, TCM, TREX
Reason and Prerequisites
In your system, a TREX instance is called by the communication method “TCM” (previously: “DBSL”). (You will find the relevant setting in transaction TREXADMIN under “TREX ABAP Customizing”.) In rare cases, the [...]