[Fatal Error] :1:1: Content is not allowed in prolog

Using Ignition 8.1.47. Started Designer to work on a project that is hosted on an external server. Noticed the following error appear a few times.

Then when I went to try to edit a report for many of them I started getting the following error


Full stacktrace

com.inductiveautomation.ignition.common.xmlserialization.SerializationException: Unexpected parsing error during XML deserialization.
	at com.inductiveautomation.ignition.common.xmlserialization.deserialization.XMLDeserializer.deserializeXML(XMLDeserializer.java:418)
	at com.inductiveautomation.ignition.common.xmlserialization.deserialization.XMLDeserializer.deserialize(XMLDeserializer.java:281)
	at com.inductiveautomation.ignition.common.xmlserialization.deserialization.XMLDeserializer.deserialize(XMLDeserializer.java:259)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.deserialize(ResourceEditor.java:122)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.deserialize(ResourceEditor.java:106)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.loadResource(ResourceEditor.java:62)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.<init>(ResourceEditor.java:39)
	at com.inductiveautomation.reporting.designer.workspace.ReportingResourceEditor.<init>(ReportingResourceEditor.java:66)
	at com.inductiveautomation.reporting.designer.workspace.ReportingResourceWorkspace.newResourceEditor(ReportingResourceWorkspace.java:486)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.TabbedResourceWorkspace.open(TabbedResourceWorkspace.java:267)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.TabbedResourceWorkspace.open(TabbedResourceWorkspace.java:248)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNode.open(ResourceNode.java:129)
	at com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode.onDoubleClick(AbstractResourceNavTreeNode.java:428)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at com.inductiveautomation.ignition.common.xmlserialization.deserialization.XMLDeserializer.deserializeXML(XMLDeserializer.java:404)
	... 25 more

Ignition v8.1.47 (b2025022612)
Java: Azul Systems, Inc. 17.0.13

Any ideas what to do to fix this? I have daily backups and can revert but a coworker did do a lot of work yesterday (not on these reports) that would get lost if I did so.

Take a gateway backup of the current state before you revert, so you can cherry pick the modified resources.

1 Like

You think this is non-recoverable and I will need to revert?

Error on line 1 implies the resources got stomped somehow. So, yes.

1 Like