Jobs cannot be displayed Search index update error U00045363 due to invalid XML
search cancel

Jobs cannot be displayed Search index update error U00045363 due to invalid XML

book

Article ID: 452879

calendar_today

Updated On:

Products

Automic Automation

Issue/Introduction

When attempting to open an object (e.g., JOBS SAP) in the Automic Web Interface (AWI), a generic "An unexpected error occurred" message appears. The Automation Engine logs report that the object could not be indexed due to invalid XML.

Symptoms:

  • User receives: "An unexpected error occurred. Further details are available in the log files."
  • JWP (IDX role) log contains: U00045363 Search index update: The object #### in client #### could not be indexed because it contains an invalid XML.
  • The object exists in the database but fails to render the "Details" or "Documentation" view.

Environment

  • Automic Automation 24.x and higher
  • Automic Web Interface (AWI)
  • Objects with German or non-ASCII characters in the Documentation tab

Cause

The object contains malformed XML in the internal documentation storage (DOCU_Details-). This is typically caused by a lossy character conversion where a special character (e.g., an Ã„) was converted to a literal question mark (?). If this ? appears immediately after a < bracket (e.g., <?nderungsdienst>), it is interpreted as an invalid XML tag or malformed processing instruction, causing the AWI parser to fail.

Resolution

To resolve this, correct the malformed tag in the object's XML structure:

  1. Export the affected object to an XML file.
  2. Open the XML file in a text editor (e.g., Notepad++).
  3. Locate the <DOCU_Details- ...> section within the CDATA block.
  4. Search for any tags starting with <? that are not valid XML headers.
  5. Change the invalid tag to a valid name (e.g., change <?nderungsdienst> to <Aenderungsdienst> or <Änderungsdienst> with proper UTF-8 encoding).
  6. Save the XML file.
  7. Import the file back into the AWI, ensuring the Replace existing objects checkbox is selected.
  8. Verify the object opens correctly.