Advisory Event thrown, (handled in project and triggers a Rule) - Advisory Event reports an error when a payload for an Event is an empty string.
book
Article ID: KB0085502
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Description: Advisory Event created, when payload for an Event is an empty string. Symptoms: Advisory Event thrown (handled in project and triggers a Rule) - Advisory Event reports error:
<?xml version="1.0"
encoding="UTF-8"?> <a Id="136018" category="Exception" type="org.xml.sax.SAXParseException" message="Premature end of file."/>
NOTE: There are no errors reported in TIBCO BusinessEvents log file.
Cause: This is an expected behavior. An empty string is an invalid XML string. These type of errors are ignored by the engine if the payload has been set to null.
Issue/Introduction
Advisory Event thrown, (handled in project and triggers a Rule) - Advisory Event reports an error when a payload for an Event is an empty string.
Resolution
The payload must be set to null or if that is not possible, use a valid XML string (e.g.: '<?xml version = "1.0" encoding = "UTF-8"?>').