[ https://issues.jenkins-ci.org/browse/JENKINS-12267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yury Zaytsev resolved JENKINS-12267. ------------------------------------ Resolution: Duplicate I think this issue is a duplicate of JENKINS-12369 and has now been resolved. > Failure to load many builds when Jenkins start > ---------------------------------------------- > > Key: JENKINS-12267 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12267 > Project: Jenkins > Issue Type: Bug > Components: core, git > Environment: Debian Squeeze, amd64, Jenkins installed using the > Debian package from pkg.jenkins-ci.org. > Reporter: Jean-Sébastien Pédron > Assignee: abayer > > When Jenkins is restarted, it fails to load most of the builds. The > {{jenkins.log}} file contains many exceptions like this one: > {code}hudson.util.IOException2: Unable to read > /var/lib/jenkins/jobs/bones/builds/2011-12-30_16-42-43/build.xml > at hudson.XmlFile.unmarshal(XmlFile.java:160) > at hudson.model.Run.reload(Run.java:283) > at hudson.model.Run.<init>(Run.java:272) > at hudson.model.AbstractBuild.<init>(AbstractBuild.java:162) > at hudson.model.Build.<init>(Build.java:100) > at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > 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.model.Project.onLoad(Project.java:88) > at hudson.model.Items.load(Items.java:115) > at jenkins.model.Jenkins$14.run(Jenkins.java:2360) > 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:800) > 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.converters.ConversionException: Cannot > deserialize object with new readObject()/writeObject() methods > ---- Debugging information ---- > class : hudson.model.FreeStyleBuild > required-type : org.eclipse.jgit.lib.ObjectId > path : > /build/actions/hudson.plugins.git.util.BuildData/buildsByBranchName/entry/hudson.plugins.git.util.Build/revision/sha1 > line number : 18 > ------------------------------- > at > com.thoughtworks.xstream.converters.reflection.SerializableConverter.doUnmarshal(SerializableConverter.java:281) > at > com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) > at > com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) > at > hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:290) > at > hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:233) > at > hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) > at > com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) > at > hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:290) > at > hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:233) > at > hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) > at > com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) > at > com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) > at > com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:79) > at > com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:66) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) > at > com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) > at > hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:290) > at > hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:233) > at > hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) > at > com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) > at > com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) > at > hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:85) > at > com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61) > at > hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:76) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) > at > com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) > at > hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:290) > at > hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:233) > at > hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) > at > com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) > at > com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) > at > com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) > at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926) > at hudson.util.XStream2.unmarshal(XStream2.java:91) > at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) > at hudson.XmlFile.unmarshal(XmlFile.java:156) > ... 25 more{code} > We're using Jenkins 1.445 but I think the problems is present for several > versions; I can't tell when it started. > The consequence is that many builds are missing in the UI. If the last build > of a job is missing, a new build may be triggered (ie. for those depending on > a VCS commit). > A workaround is to click on "Reload Configuration from Disk" in the "Manage > Jenkins" page. This properly reloads all builds and they are visible again. -- 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