"Background page refresh cannot contact server." error thrown when accessing deployment projects
Symptoms
An error such as this will appear when trying to load deployment projects.
The following appears in the atlassian-bamboo.log
:
Caused by: com.atlassian.bamboo.exception.DataAccessException: org.apache.commons.configuration.ConfigurationException: The processing instruction must begin with the name of the target.
Caused by: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
Cause
The XML data pertaining to a deployment or an XML file necessary for startup is formatted incorrectly.
Resolution
- Extract the XML data in question from the database or view the XML file
Ensure the XML header is appropriately formatted as follows:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
Utilizing whatever formatting your DB requires and making sure there are no leading spaces in front of the XML header
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.