org.apache.commons.configuration.ConfigurationException: Character reference "&#0" is an invalid XML character.

Atlassian JIRA | Armen Khachatryan [Atlassian] | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Here is a snippet of the Bamboo logs: {code} 2012-05-03 17:34:17,554 INFO [qtp1022165816-12] [AccessLogFilter] jtanis GET http://bamboo/chain/viewChain.action?planKey=COO-CDD 123820kb 2012-05-03 17:34:17,672 ERROR [qtp1022165816-12] [ConfigUtils] Error getting Build Configuration from '<?xml version="1.0" encoding="UTF-8" standalone="no"?> <configuration> <isMergedConfiguration>false</isMergedConfiguration> <cleanWorkingDirectory>false</cleanWorkingDirectory> <repositoryDefiningWorkingDirectory>-1</repositoryDefiningWorkingDirectory> <buildTasks> <taskDefinition> <id>4</id> ... <ncover> <path/> </ncover> <cobertura> <path/> </cobertura> </custom> </configuration> '. org.apache.commons.configuration.ConfigurationException: Character reference "&#0" is an invalid XML character. at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:636) at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:609) at com.atlassian.bamboo.utils.ConfigUtils.getXmlConfigFromXmlString(ConfigUtils.java:226) ... at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450) at java.lang.Thread.run(Thread.java:662) Caused by: org.xml.sax.SAXParseException: Character reference "&#0" is an invalid XML character. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:628) ... 223 more {code}

    Atlassian JIRA | 5 years ago | Armen Khachatryan [Atlassian]
    org.apache.commons.configuration.ConfigurationException: Character reference "&#0" is an invalid XML character.
  2. 0

    Here is a snippet of the Bamboo logs: {code} 2012-05-03 17:34:17,554 INFO [qtp1022165816-12] [AccessLogFilter] jtanis GET http://bamboo/chain/viewChain.action?planKey=COO-CDD 123820kb 2012-05-03 17:34:17,672 ERROR [qtp1022165816-12] [ConfigUtils] Error getting Build Configuration from '<?xml version="1.0" encoding="UTF-8" standalone="no"?> <configuration> <isMergedConfiguration>false</isMergedConfiguration> <cleanWorkingDirectory>false</cleanWorkingDirectory> <repositoryDefiningWorkingDirectory>-1</repositoryDefiningWorkingDirectory> <buildTasks> <taskDefinition> <id>4</id> ... <ncover> <path/> </ncover> <cobertura> <path/> </cobertura> </custom> </configuration> '. org.apache.commons.configuration.ConfigurationException: Character reference "&#0" is an invalid XML character. at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:636) at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:609) at com.atlassian.bamboo.utils.ConfigUtils.getXmlConfigFromXmlString(ConfigUtils.java:226) ... at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450) at java.lang.Thread.run(Thread.java:662) Caused by: org.xml.sax.SAXParseException: Character reference "&#0" is an invalid XML character. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:628) ... 223 more {code}

    Atlassian JIRA | 5 years ago | Armen Khachatryan [Atlassian]
    org.apache.commons.configuration.ConfigurationException: Character reference "&#0" is an invalid XML character.

    Root Cause Analysis

    1. org.apache.commons.configuration.ConfigurationException

      Character reference "&#0" is an invalid XML character.

      at org.apache.commons.configuration.XMLConfiguration.load()
    2. Apache Commons Configuration
      XMLConfiguration.load
      1. org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:636)
      2. org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:609)
      2 frames
    3. com.atlassian.bamboo
      ConfigUtils.getXmlConfigFromXmlString
      1. com.atlassian.bamboo.utils.ConfigUtils.getXmlConfigFromXmlString(ConfigUtils.java:226)
      1 frame