hudson.util.IOException2: : only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1)

Jenkins JIRA | tisoft_media | 7 years ago
  1. 0

    I get the following error at startup: hudson.util.IOException2: : only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1) at hudson.XmlFile.unmarshal(XmlFile.java:150) at hudson.model.Run.<init>(Run.java:251) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:150) at hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:58) at hudson.maven.MavenBuild.<init>(MavenBuild.java:95) at sun.reflect.GeneratedConstructorAccessor18.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:807) at hudson.model.AbstractProject$1.create(AbstractProject.java:209) at hudson.model.AbstractProject$1.create(AbstractProject.java:207) at hudson.model.RunMap.load(RunMap.java:221) at hudson.model.AbstractProject.onLoad(AbstractProject.java:207) at hudson.maven.MavenModule.onLoad(MavenModule.java:197) at hudson.model.Items.load(Items.java:107) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:58) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:405) at hudson.model.Items.load(Items.java:107) at hudson.model.Hudson$9.call(Hudson.java:2036) at hudson.model.Hudson$9.call(Hudson.java:2029) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: com.thoughtworks.xstream.io.StreamException: : only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:78) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:154) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:147) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:126) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:111) at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:48) at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:36) at hudson.XmlFile.unmarshal(XmlFile.java:148) ... 24 more Caused by: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:63) ... 31 more Unfortunatly it doesn't log, which file is broken, so i can't check the file and fix it.

    Jenkins JIRA | 7 years ago | tisoft_media
    hudson.util.IOException2: : only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1)
  2. 0

    I get the following error at startup: hudson.util.IOException2: : only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1) at hudson.XmlFile.unmarshal(XmlFile.java:150) at hudson.model.Run.<init>(Run.java:251) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:150) at hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:58) at hudson.maven.MavenBuild.<init>(MavenBuild.java:95) at sun.reflect.GeneratedConstructorAccessor18.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:807) at hudson.model.AbstractProject$1.create(AbstractProject.java:209) at hudson.model.AbstractProject$1.create(AbstractProject.java:207) at hudson.model.RunMap.load(RunMap.java:221) at hudson.model.AbstractProject.onLoad(AbstractProject.java:207) at hudson.maven.MavenModule.onLoad(MavenModule.java:197) at hudson.model.Items.load(Items.java:107) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:58) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:405) at hudson.model.Items.load(Items.java:107) at hudson.model.Hudson$9.call(Hudson.java:2036) at hudson.model.Hudson$9.call(Hudson.java:2029) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: com.thoughtworks.xstream.io.StreamException: : only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:78) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:154) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:147) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:126) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:111) at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:48) at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:36) at hudson.XmlFile.unmarshal(XmlFile.java:148) ... 24 more Caused by: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:63) ... 31 more Unfortunatly it doesn't log, which file is broken, so i can't check the file and fix it.

    Jenkins JIRA | 7 years ago | tisoft_media
    hudson.util.IOException2: : only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1)
  3. 0

    [JIRA] [ssh-slaves-plugin] (JENKINS-32489) "Prefix/Suffix Start Slave Command" does not add a space before/after the cmd

    Google Groups | 11 months ago | fbel...@gmail.com (JIRA)
    hudson.util.IOException2: Slave JVM has terminated. Exit code=1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hudson插件安装错误(变通方案)和配置注意事项 - Allen_jinjie的自我学习总结 - 博客频道 - CSDN.NET

    csdn.net | 1 year ago
    hudson.util.IOException2: Failed to expand C:\Documents and Settings\leizhaojin\.hudson\plugins\cvs.hpi
  6. 0

    Master - Slave | Does not want master to sftp slave.jar

    Google Groups | 4 years ago | ilikeflex
    hudson.util.IOException2: Could not copy slave.jar to slave

    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. hudson.util.IOException2

      : only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n... @1:1)

      at hudson.XmlFile.unmarshal()
    2. Hudson
      AbstractBuild.<init>
      1. hudson.XmlFile.unmarshal(XmlFile.java:150)
      2. hudson.model.Run.<init>(Run.java:251)
      3. hudson.model.AbstractBuild.<init>(AbstractBuild.java:150)
      3 frames
    3. Hudson Maven Embedder
      MavenBuild.<init>
      1. hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:58)
      2. hudson.maven.MavenBuild.<init>(MavenBuild.java:95)
      2 frames
    4. Java RT
      GeneratedConstructorAccessor18.newInstance
      1. sun.reflect.GeneratedConstructorAccessor18.newInstance(Unknown Source)
      1 frame