[ https://issues.jenkins-ci.org/browse/JENKINS-11938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159279#comment-159279 ]
edbras commented on JENKINS-11938: ---------------------------------- I am experiencing the same problem in Tomcat 7. My environment: Jenkins version 1.451 (had the same problems in 1.447) Tomcat 7. CentOS 6 64 bit. I am not using setEnv and EnvInject plugins. I notice that the build history is shown when performing a reload of the jenkins config manually (also in 1.451). I start getting these problems when changing from SVN to GIT, using the GIT plugin and using Maven projects instead of freestyle projects. The exception I encounter in the tomcat log (it's a bit different then the one above): --- Exception: --- hudson.util.IOException2: Unable to read /home/tomcat/.jenkins/jobs/Profile/modules/com.bv$bv-profile-common/builds/2012-02-13_19-16-19/build.xml at hudson.XmlFile.unmarshal(XmlFile.java:158) at hudson.model.Run.reload(Run.java:283) at hudson.model.Run.<init>(Run.java:272) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:163) at hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:54) at hudson.maven.MavenBuild.<init>(MavenBuild.java:108) at sun.reflect.GeneratedConstructorAccessor74.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:949) at hudson.model.AbstractProject$1.create(AbstractProject.java:256) at hudson.model.AbstractProject$1.create(AbstractProject.java:254) at hudson.model.RunMap.load(RunMap.java:221) at hudson.model.AbstractProject.onLoad(AbstractProject.java:254) at hudson.maven.MavenModule.onLoad(MavenModule.java:237) at hudson.model.Items.load(Items.java:115) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:673) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$14.run(Jenkins.java:2372) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 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:662) Caused by: com.thoughtworks.xstream.io.StreamException: : input contained no data at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:80) 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.XppDriver.createReader(XppDriver.java:44) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:49) at hudson.XmlFile.unmarshal(XmlFile.java:156) ... 27 more Caused by: java.io.EOFException: input contained no data at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410) 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) ... 35 more Feb 20, 2012 1:57:34 PM org.jvnet.hudson.plugins.DownStreamProjectActionFactory createFor INFO: org.jvnet.hudson.plugins.DownStreamProjectActionFactory@52ef152b adds DownStreamProjectAction for hudson.maven.MavenModule@633ddd88[Belastingvriendelijker/com.bv:bv-profile-common][Profile/com.bv:bv-profile-common][relativePath:bv-profile-common] > Jenkins loses builds when restarted > ----------------------------------- > > Key: JENKINS-11938 > URL: https://issues.jenkins-ci.org/browse/JENKINS-11938 > Project: Jenkins > Issue Type: Bug > Components: other, versionnumber > Affects Versions: current > Environment: tomcat 7.0.22 > windows server 2008 r2 > Reporter: Ben Dean > > Jenkins version 1.437 > If I stop the Apache Tomcat windows service, a bunch of my builds disappear > from the history of the jobs. The missing builds are still on disk in the > build folder, it just doesn't "find" them when making the history list. > The jobs that lose history use the version number plugin and I had recently > changed the version format from "4.3.${BUILDS_ALL_TIME}" to > "4.4.${BUILDS_ALL_TIME}". The builds that disappear are all those after I > changed this format. Also affects jobs that are downstream from those with > version number changes. > I could not find any Component related to the build history for a job. If > someone knows what that should be feel free to change this. Also, sorry if > there's not enough (or to much) information, this is the first Jenkins bug I > have filed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira