[ 
https://issues.jenkins-ci.org/browse/JENKINS-11938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159765#comment-159765
 ] 

Brian Altenhofel commented on JENKINS-11938:
--------------------------------------------


Experiencing the same problem here. Jenkins 1.452 on Debian Squeeze.

---- 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 
hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:292)
        at 
hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:234)
        at 
hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:181)
        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 
hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:292)
        at 
hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:234)
        at 
hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:181)
        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 
hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:292)
        at 
hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:234)
        at 
hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:181)
        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 
hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:292)
        at 
hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:234)
        at 
hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:181)
        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:93)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912)
        at hudson.XmlFile.unmarshal(XmlFile.java:156)
        ... 24 more
hudson.util.IOException2: Unable to read 
/var/lib/jenkins/jobs/sanitized/builds/2012-03-01_07-39-42/build.xml
        at hudson.XmlFile.unmarshal(XmlFile.java:160)
        at hudson.model.Run.reload(Run.java:284)
        at hudson.model.Run.<init>(Run.java:273)
        at hudson.model.AbstractBuild.<init>(AbstractBuild.java:166)
        at hudson.model.Build.<init>(Build.java:100)
        at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41)
        at sun.reflect.GeneratedConstructorAccessor9.newInstance(Unknown Source)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        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:2369)
        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:813)
        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.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
                
> 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

        

Reply via email to