Troubleshooting
Problem
Runtime Utilities face Large XML Issue - "Found a document with more than one million nodes"
Symptom
Resolving The Problem
Description:
A new property -
yantra.document.suppress.huge.doc.alerts has been included in
the yfs.properties file. A user can override the same property in the
customer_overrides.properties file with the value of the
yfs.yantra.document.suppress.huge.doc.alerts property set to either true or
false.
If the value of this property is set as true, the system will not
print the document, and instead display the warning message: "Please
disable/set yantra.document.suppress.huge.doc.alerts to N/False to print the
offending document with more than one million nodes".
If set to false,
the application will retain the default behavior.
Note that a single document with million nodes is a very big performance overhead on the system. One can bypass printing such a huge document with the fix provided. However, a clean and complete solution would be to re-design the component that generates such a big XML to pass smaller chunks through the system/application.
Historical Number
NFX6905
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21555301