org.dom4j.DocumentException: Error on line 2 of document  : Content is not allowed in trailing section. Nested exception: Content is not allowed in trailing section.

sourceforge.net | 6 months 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

    Galleon TiVo Media Server / Discussion / Help:Help with ToGo Errors

    sourceforge.net | 6 months ago
    org.dom4j.DocumentException: Error on line 2 of document  : Content is not allowed in trailing section. Nested exception: Content is not allowed in trailing section.
  2. 0

    dom4j: flexible XML framework for Java / Mailing Lists

    sourceforge.net | 1 year ago
    org.dom4j.DocumentException: Error on line 1 of document : Document = root element is missing. Nested exception: Document root element is = missing.
  3. 0

    com.atlassian.user.configuration.ConfigurationException: org.dom4j.DocumentException: Error on line 5 of document : Content is not allowed in trailing section - Atlassian Documentation

    atlassian.com | 4 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'decoratingErrorAccessor' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'decoratedErrorDetailsFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'decoratedErrorDetailsFactory' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'agentManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'agentManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentManagerTarget' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'buildAgentController' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'buildAgentController' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'resultProcessor' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resultProcessor' defined in class path resource [applicationContextManagers.xml]: Cannot create inner bean 'com.atlassian.bamboo.v2.build.agent.LocalBuildResultProcessor#40447330' of type [com.atlassian.bamboo.v2.build.agent.LocalBuildResultProcessor] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.v2.build.agent.LocalBuildResultProcessor#40447330' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'buildExecutionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'buildExecutionManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'resultsSummaryManager' while setting bean property 'resultsSummaryManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resultsSummaryManager': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionsInterceptor' defined in class path resource [applicationContextAcegiAuthorization.xml]: Cannot resolve reference to bean 'businessAccessDecisionManager' while setting bean property 'accessDecisionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessAccessDecisionManager' defined in class path resource [applicationContextAcegiAuthorization.xml]: Cannot resolve reference to bean 'aclBuildReadVoter' while setting bean property 'decisionVoters' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclBuildReadVoter' defined in class path resource [applicationContextAcegiAuthorization.xml]: Cannot resolve reference to bean 'sidRetrievalStrategy' while setting bean property 'sidRetrievalStrategy'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sidRetrievalStrategy' defined in class path resource [applicationContextAcegiAuthorization.xml]: Cannot resolve reference to bean 'bambooUserManager' while setting bean property 'bambooUserManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bambooUserManager' defined in class path resource [applicationContextUser.xml]: Cannot create inner bean 'com.atlassian.bamboo.user.BambooUserManagerImpl#7d36b64f' of type [com.atlassian.bamboo.user.BambooUserManagerImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.user.BambooUserManagerImpl#7d36b64f' defined in class path resource [applicationContextUser.xml]: Cannot resolve reference to bean 'atlassianUserConfiguration' while setting bean property 'atlassianUserConfiguration'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'atlassianUserConfiguration' defined in class path resource [applicationContextUser.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Unexpected exception
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    For instance, MSTest create test result files with "&#x1F" and Bamboo reports the following exception: {code} 2011-09-20 15:26:49,337 ERROR [pool-7-thread-1] [MSTestXmlTestResultsParser] Failed to parse xml test results. File was null. org.dom4j.DocumentException: Error on line 671 of document : Character reference "&#x1F" is an invalid XML character. Nested exception: Character reference "&#x1F" is an invalid XML character. at org.dom4j.io.SAXReader.read(SAXReader.java:355) at org.dom4j.io.SAXReader.read(SAXReader.java:261) at com.atlassian.bamboo.plugin.dotnet.tests.mstest.MSTestXmlTestResultsParser.parse(MSTestXmlTestResultsParser.java:58) at com.atlassian.bamboo.plugin.dotnet.tests.AbstractDotNetTestReportCollector.collect(AbstractDotNetTestReportCollector.java:41) at com.atlassian.bamboo.build.test.TestCollationServiceImpl$1$1.run(TestCollationServiceImpl.java:72) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {code} If the character is invalid, Bamboo should be able to just skip it.

    Atlassian JIRA | 5 years ago | Renan Battaglin
    org.dom4j.DocumentException: Error on line 671 of document : Character reference "&#x1F" is an invalid XML character. Nested exception: Character reference "&#x1F" is an invalid XML character.
  6. 0

    For instance, MSTest create test result files with "&#x1F" and Bamboo reports the following exception: {code} 2011-09-20 15:26:49,337 ERROR [pool-7-thread-1] [MSTestXmlTestResultsParser] Failed to parse xml test results. File was null. org.dom4j.DocumentException: Error on line 671 of document : Character reference "&#x1F" is an invalid XML character. Nested exception: Character reference "&#x1F" is an invalid XML character. at org.dom4j.io.SAXReader.read(SAXReader.java:355) at org.dom4j.io.SAXReader.read(SAXReader.java:261) at com.atlassian.bamboo.plugin.dotnet.tests.mstest.MSTestXmlTestResultsParser.parse(MSTestXmlTestResultsParser.java:58) at com.atlassian.bamboo.plugin.dotnet.tests.AbstractDotNetTestReportCollector.collect(AbstractDotNetTestReportCollector.java:41) at com.atlassian.bamboo.build.test.TestCollationServiceImpl$1$1.run(TestCollationServiceImpl.java:72) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {code} If the character is invalid, Bamboo should be able to just skip it.

    Atlassian JIRA | 5 years ago | Renan Battaglin
    org.dom4j.DocumentException: Error on line 671 of document : Character reference "&#x1F" is an invalid XML character. Nested exception: Character reference "&#x1F" is an invalid XML character.

    41 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.dom4j.DocumentException

      Error on line 2 of document  : Content is not allowed in trailing section. Nested exception: Content is not allowed in trailing section.

      at org.dom4j.io.SAXReader.read()
    2. dom4j
      SAXReader.read
      1. org.dom4j.io.SAXReader.read(SAXReader.java:355)
      2. org.dom4j.io.SAXReader.read(SAXReader.java:261)
      2 frames
    3. org.lnicholls.galleon
      ToGoThread.run
      1. org.lnicholls.galleon.togo.ToGo.getRecordings(ToGo.java:140)
      2. org.lnicholls.galleon.togo.ToGoThread.run(ToGoThread.java:58)
      2 frames