"Background page refresh cannot contact server." error thrown when accessing deployment projects
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
An error such as this will appear when trying to load deployment projects.

The following appears in the atlassian-bamboo.log
:
1
Caused by: com.atlassian.bamboo.exception.DataAccessException: org.apache.commons.configuration.ConfigurationException: The processing instruction must begin with the name of the target.
1
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:
1
<?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
Was this helpful?