"Background page refresh cannot contact server." error thrown when accessing deployment projects

Still need help?

The Atlassian Community is here for you.

Ask the community

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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.