Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

Using : using erdcloader to add a custom script monitor to Uptime Infrastructure Monitor produces the following java exception:

Code Block
languagesql
org.xml.sax.SAXParseException: Content is not allowed in prolog

Root cause

Closer Cause: closer inspection should reveal unknown or unexpected characters in the .xml file. For example, if you see dashes at the beginning of some lines, the xml content was probably copied from a web browser.

Resolution

Remove : remove the unexpected characters. Image Removed Note

Info

If dashes are the actual cause, download the .xml file rather than copying the text from a web browser.