Upgrade to 1.183 => 1.223 loses all projects

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Upgrade to 1.183 => 1.223 loses all projects

Rob Oxspring
Hi all,

I've just upgraded to 1.223 and then used the update center to upgrade
various plugins and now when I restart hudson no projects are found.
All the project files appear to be on disk still but the Tomcat catalina
log shows some xstream and other errors:

13-Jun-2008 17:32:52 hudson.util.RobustReflectionConverter doUnmarshal
WARNING: Skipping a non-existend type
com.thoughtworks.xstream.mapper.CannotResolveClassException:
isHealthyReportEnabled : isHealthyReportEnabled
        at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:49)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper.realClass(XStream11XmlFriendlyMapper.java:23)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:72)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:60)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:76)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
        at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:34)
        at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:307)
        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:189)
        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
        at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)
        at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
        at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
        at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
        at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)
        at hudson.util.XStream2.unmarshal(XStream2.java:37)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:767)
        at hudson.XmlFile.read(XmlFile.java:103)
        at hudson.model.Items.load(Items.java:80)
        at hudson.model.Hudson.load(Hudson.java:1302)
        at hudson.model.Hudson.<init>(Hudson.java:353)
        at hudson.WebAppMain$2.run(WebAppMain.java:156)
13-Jun-2008 17:32:52 hudson.model.Hudson load
WARNING: Failed to load E:\Hudson\jobs\Server-6.2.0
java.lang.InstantiationError:
hudson.plugins.findbugs.util.model.AnnotationProvider
        at sun.reflect.GeneratedSerializationConstructorAccessor40.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newInstance(Sun14ReflectionProvider.java:54)
        at hudson.util.RobustReflectionConverter.instantiateNewInstance(RobustReflectionConverter.java:276)
        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:143)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
        at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
        at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)
        at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
        at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
        at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
        at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)
        at hudson.util.XStream2.unmarshal(XStream2.java:37)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)
        at hudson.XmlFile.unmarshal(XmlFile.java:123)
        at hudson.model.Run.<init>(Run.java:183)
        at hudson.model.AbstractBuild.<init>(AbstractBuild.java:107)
        at hudson.model.Build.<init>(Build.java:43)
        at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:15)
        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:456)
        at hudson.model.AbstractProject$1.create(AbstractProject.java:155)
        at hudson.model.AbstractProject$1.create(AbstractProject.java:153)
        at hudson.model.RunMap.load(RunMap.java:174)
        at hudson.model.AbstractProject.onLoad(AbstractProject.java:153)
        at hudson.model.Project.onLoad(Project.java:61)
        at hudson.model.Items.load(Items.java:81)
        at hudson.model.Hudson.load(Hudson.java:1302)
        at hudson.model.Hudson.<init>(Hudson.java:353)
        at hudson.WebAppMain$2.run(WebAppMain.java:156)

Can anyone help me identify and resolve the problem?  I could send log /
config files but would prefer to take that off the public list.

Thanks,

Rob
  Rob Oxspring
  [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Upgrade to 1.183 => 1.223 loses all projects

Adam Purkiss
you say you updated plugins at same time..... could you roll back plugins, see if things work and then update plgins one at a time. At least findbugs when it changed to version 2 from 1 had changes thsat meant old builds caused an error if you did not clean them out... hudson still starts but you got errors....
 
If you do not want to loose all you historical builds you should at least delete findbugs information from build.xml to stop findbugs errors.






> From: [hidden email]

> To: [hidden email]
> Date: Fri, 13 Jun 2008 17:39:12 +0100
> Subject: Upgrade to 1.183 => 1.223 loses all projects
>
> Hi all,
>
> I've just upgraded to 1.223 and then used the update center to upgrade
> various plugins and now when I restart hudson no projects are found.
> All the project files appear to be on disk still but the Tomcat catalina
> log shows some xstream and other errors:
>
> 13-Jun-2008 17:32:52 hudson.util.RobustReflectionConverter doUnmarshal
> WARNING: Skipping a non-existend type
> com.thoughtworks.xstream.mapper.CannotResolveClassException:
> isHealthyReportEnabled : isHealthyReportEnabled
> at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:49)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper.realClass(XStream11XmlFriendlyMapper.java:23)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:72)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:60)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:76)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:34)
> at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:307)
> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:189)
> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)
> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)
> at hudson.util.XStream2.unmarshal(XStream2.java:37)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)
> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:767)
> at hudson.XmlFile.read(XmlFile.java:103)
> at hudson.model.Items.load(Items.java:80)
> at hudson.model.Hudson.load(Hudson.java:1302)
> at hudson.model.Hudson.<init>(Hudson.java:353)
> at hudson.WebAppMain$2.run(WebAppMain.java:156)
> 13-Jun-2008 17:32:52 hudson.model.Hudson load
> WARNING: Failed to load E:\Hudson\jobs\Server-6.2.0
> java.lang.InstantiationError:
> hudson.plugins.findbugs.util.model.AnnotationProvider
> at sun.reflect.GeneratedSerializationConstructorAccessor40.newInstance(Unknown Source)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newInstance(Sun14ReflectionProvider.java:54)
> at hudson.util.RobustReflectionConverter.instantiateNewInstance(RobustReflectionConverter.java:276)
> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:143)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)
> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)
> at hudson.util.XStream2.unmarshal(XStream2.java:37)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)
> at hudson.XmlFile.unmarshal(XmlFile.java:123)
> at hudson.model.Run.<init>(Run.java:183)
> at hudson.model.AbstractBuild.<init>(AbstractBuild.java:107)
> at hudson.model.Build.<init>(Build.java:43)
> at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:15)
> 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:456)
> at hudson.model.AbstractProject$1.create(AbstractProject.java:155)
> at hudson.model.AbstractProject$1.create(AbstractProject.java:153)
> at hudson.model.RunMap.load(RunMap.java:174)
> at hudson.model.AbstractProject.onLoad(AbstractProject.java:153)
> at hudson.model.Project.onLoad(Project.java:61)
> at hudson.model.Items.load(Items.java:81)
> at hudson.model.Hudson.load(Hudson.java:1302)
> at hudson.model.Hudson.<init>(Hudson.java:353)
> at hudson.WebAppMain$2.run(WebAppMain.java:156)
>
> Can anyone help me identify and resolve the problem? I could send log /
> config files but would prefer to take that off the public list.
>
> Thanks,
>
> Rob
> Rob Oxspring
> [hidden email]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>



Reply | Threaded
Open this post in threaded view
|

Re: Upgrade to 1.183 => 1.223 loses all projects

Kohsuke Kawaguchi
Administrator
In reply to this post by Rob Oxspring

I think seeing the whole log would help. The ones that you cited below
are not fatal problems.

Look for the error lines that say "Failed to load ..."


Rob Oxspring wrote:

> Hi all,
>
> I've just upgraded to 1.223 and then used the update center to upgrade
> various plugins and now when I restart hudson no projects are found.
> All the project files appear to be on disk still but the Tomcat catalina
> log shows some xstream and other errors:
>
> 13-Jun-2008 17:32:52 hudson.util.RobustReflectionConverter doUnmarshal
> WARNING: Skipping a non-existend type
> com.thoughtworks.xstream.mapper.CannotResolveClassException:
> isHealthyReportEnabled : isHealthyReportEnabled
> at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:49)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper.realClass(XStream11XmlFriendlyMapper.java:23)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:72)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:60)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:76)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
> at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:34)
> at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:307)
> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:189)
> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)
> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)
> at hudson.util.XStream2.unmarshal(XStream2.java:37)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)
> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:767)
> at hudson.XmlFile.read(XmlFile.java:103)
> at hudson.model.Items.load(Items.java:80)
> at hudson.model.Hudson.load(Hudson.java:1302)
> at hudson.model.Hudson.<init>(Hudson.java:353)
> at hudson.WebAppMain$2.run(WebAppMain.java:156)
> 13-Jun-2008 17:32:52 hudson.model.Hudson load
> WARNING: Failed to load E:\Hudson\jobs\Server-6.2.0
> java.lang.InstantiationError:
> hudson.plugins.findbugs.util.model.AnnotationProvider
> at sun.reflect.GeneratedSerializationConstructorAccessor40.newInstance(Unknown Source)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newInstance(Sun14ReflectionProvider.java:54)
> at hudson.util.RobustReflectionConverter.instantiateNewInstance(RobustReflectionConverter.java:276)
> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:143)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)
> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)
> at hudson.util.XStream2.unmarshal(XStream2.java:37)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)
> at hudson.XmlFile.unmarshal(XmlFile.java:123)
> at hudson.model.Run.<init>(Run.java:183)
> at hudson.model.AbstractBuild.<init>(AbstractBuild.java:107)
> at hudson.model.Build.<init>(Build.java:43)
> at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:15)
> 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:456)
> at hudson.model.AbstractProject$1.create(AbstractProject.java:155)
> at hudson.model.AbstractProject$1.create(AbstractProject.java:153)
> at hudson.model.RunMap.load(RunMap.java:174)
> at hudson.model.AbstractProject.onLoad(AbstractProject.java:153)
> at hudson.model.Project.onLoad(Project.java:61)
> at hudson.model.Items.load(Items.java:81)
> at hudson.model.Hudson.load(Hudson.java:1302)
> at hudson.model.Hudson.<init>(Hudson.java:353)
> at hudson.WebAppMain$2.run(WebAppMain.java:156)
>
> Can anyone help me identify and resolve the problem?  I could send log /
> config files but would prefer to take that off the public list.
>
> Thanks,
>
> Rob
>   Rob Oxspring
>   [hidden email]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Upgrade to 1.183 => 1.223 loses all projects

Rob Oxspring
In reply to this post by Adam Purkiss
Thanks for the fast response Adam, I've been delayed in testing the
theory while ensured I had a full backup of our hudson server.  The
problem does appear to be related to the findbugs plugin - removing the
plugin allows hudson to start up properly.  I've tried deleting the
findbugs-results directories from each historical build but am still
seeing the errors in the attached log.  Is there any information about
what config files need removing or editing to allow hudson and the
findbugs plugin to work again?  We have a lot of build history and
although we're happy to lose the findbugs aspect of it we'd really
rather not drop the rest of the information :).

Thanks again,

Rob


On Fri, 13 Jun 2008 12:58:18 -0400, "Adam Purkiss"
<[hidden email]> said:

> you say you updated plugins at same time..... could you roll back
> plugins, see if things work and then update plgins one at a time. At
> least findbugs when it changed to version 2 from 1 had changes thsat
> meant old builds caused an error if you did not clean them out... hudson
> still starts but you got errors....
>  
> If you do not want to loose all you historical builds you should at least
> delete findbugs information from build.xml to stop findbugs errors.
>
>
>
> > From: [hidden email]> To: [hidden email]> Date: Fri, 13 Jun 2008 17:39:12 +0100> Subject: Upgrade to 1.183 => 1.223 loses all projects> > Hi all,> > I've just upgraded to 1.223 and then used the update center to upgrade> various plugins and now when I restart hudson no projects are found. > All the project files appear to be on disk still but the Tomcat catalina> log shows some xstream and other errors:> > 13-Jun-2008 17:32:52 hudson.util.RobustReflectionConverter doUnmarshal> WARNING: Skipping a non-existend type> com.thoughtworks.xstream.mapper.CannotResolveClassException:> isHealthyReportEnabled : isHealthyReportEnabled> at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:49)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper.realClass(XStream11XmlFriendlyMapper.java:23)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:72)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:60)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:76)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:34)> at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:307)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:189)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)> at hudson.util.XStream2.unmarshal(XStream2.java:37)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:767)> at hudson.XmlFile.read(XmlFile.java:103)> at hudson.model.Items.load(Items.java:80)> at hudson.model.Hudson.load(Hudson.java:1302)> at hudson.model.Hudson.<init>(Hudson.java:353)> at hudson.WebAppMain$2.run(WebAppMain.java:156)> 13-Jun-2008 17:32:52 hudson.model.Hudson load> WARNING: Failed to load E:\Hudson\jobs\Server-6.2.0> java.lang.InstantiationError:> hudson.plugins.findbugs.util.model.AnnotationProvider> at sun.reflect.GeneratedSerializationConstructorAccessor40.newInstance(Unknown Source)> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)> at com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newInstance(Sun14ReflectionProvider.java:54)> at hudson.util.RobustReflectionConverter.instantiateNewInstance(RobustReflectionConverter.java:276)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:143)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)> at hudson.util.XStream2.unmarshal(XStream2.java:37)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)> at hudson.XmlFile.unmarshal(XmlFile.java:123)> at hudson.model.Run.<init>(Run.java:183)> at hudson.model.AbstractBuild.<init>(AbstractBuild.java:107)> at hudson.model.Build.<init>(Build.java:43)> at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:15)> 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:456)> at hudson.model.AbstractProject$1.create(AbstractProject.java:155)> at hudson.model.AbstractProject$1.create(AbstractProject.java:153)> at hudson.model.RunMap.load(RunMap.java:174)> at hudson.model.AbstractProject.onLoad(AbstractProject.java:153)> at hudson.model.Project.onLoad(Project.java:61)> at hudson.model.Items.load(Items.java:81)> at hudson.model.Hudson.load(Hudson.java:1302)> at hudson.model.Hudson.<init>(Hudson.java:353)> at hudson.WebAppMain$2.run(WebAppMain.java:156)> > Can anyone help me identify and resolve the problem? I could send log /> config files but would prefer to take that off the public list.> > Thanks,> > Rob> Rob Oxspring> [hidden email]> > > ---------------------------------------------------------------------> To unsubscribe, e-mail: [hidden email]> For additional commands, e-mail: [hidden email]>
> _________________________________________________________________
> If you like crossword puzzles, then you'll love Flexicon, a game which
> combines four overlapping crossword puzzles into one!
> http://g.msn.ca/ca55/208
  Rob Oxspring
  [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

catalina.2008-06-13.zip (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Upgrade to 1.183 => 1.223 loses all projects

Adam Purkiss
There is an entry in build.xml for each build that refers to the findbugs results. It is that bit of information you really want gone. I forget the exact tag, but a look in any file should make it pretty obvious. Hopefully you can use some form of search and replace tool to automate it once you find the correct thing.




> From: [hidden email]

> To: [hidden email]; [hidden email]
> Date: Fri, 13 Jun 2008 20:38:43 +0100
> Subject: RE: Upgrade to 1.183 => 1.223 loses all projects
>
> Thanks for the fast response Adam, I've been delayed in testing the
> theory while ensured I had a full backup of our hudson server. The
> problem does appear to be related to the findbugs plugin - removing the
> plugin allows hudson to start up properly. I've tried deleting the
> findbugs-results directories from each historical build but am still
> seeing the errors in the attached log. Is there any information about
> what config files need removing or editing to allow hudson and the
> findbugs plugin to work again? We have a lot of build history and
> although we're happy to lose the findbugs aspect of it we'd really
> rather not drop the rest of the information :).
>
> Thanks again,
>
> Rob
>
>
> On Fri, 13 Jun 2008 12:58:18 -0400, "Adam Purkiss"
> <[hidden email]> said:
> > you say you updated plugins at same time..... could you roll back
> > plugins, see if things work and then update plgins one at a time. At
> > least findbugs when it changed to version 2 from 1 had changes thsat
> > meant old builds caused an error if you did not clean them out... hudson
> > still starts but you got errors....
> >
> > If you do not want to loose all you historical builds you should at least
> > delete findbugs information from build.xml to stop findbugs errors.
> >
> >
> >
> > > From: [hidden email]> To: [hidden email]> Date: Fri, 13 Jun 2008 17:39:12 +0100> Subject: Upgrade to 1.183 => 1.223 loses all projects> > Hi all,> > I've just upgraded to 1.223 and then used the update center to upgrade> various plugins and now when I restart hudson no projects are found. > All the project files appear to be on disk still but the Tomcat catalina> log shows some xstream and other errors:> > 13-Jun-2008 17:32:52 hudson.util.RobustReflectionConverter doUnmarshal> WARNING: Skipping a non-existend type> com.thoughtworks.xstream.mapper.CannotResolveClassException:> isHealthyReportEnabled : isHealthyReportEnabled> at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:49)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper.realClass(XStream11XmlFriendlyMapper.java:23)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:72)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:60)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:76)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:34)> at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:307)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:189)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)> at hudson.util.XStream2.unmarshal(XStream2.java:37)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:767)> at hudson.XmlFile.read(XmlFile.java:103)> at hudson.model.Items.load(Items.java:80)> at hudson.model.Hudson.load(Hudson.java:1302)> at hudson.model.Hudson.<init>(Hudson.java:353)> at hudson.WebAppMain$2.run(WebAppMain.java:156)> 13-Jun-2008 17:32:52 hudson.model.Hudson load> WARNING: Failed to load E:\Hudson\jobs\Server-6.2.0> java.lang.InstantiationError:> hudson.plugins.findbugs.util.model.AnnotationProvider> at sun.reflect.GeneratedSerializationConstructorAccessor40.newInstance(Unknown Source)> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)> at com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newInstance(Sun14ReflectionProvider.java:54)> at hudson.util.RobustReflectionConverter.instantiateNewInstance(RobustReflectionConverter.java:276)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:143)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)> at hudson.util.XStream2.unmarshal(XStream2.java:37)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)> at hudson.XmlFile.unmarshal(XmlFile.java:123)> at hudson.model.Run.<init>(Run.java:183)> at hudson.model.AbstractBuild.<init>(AbstractBuild.java:107)> at hudson.model.Build.<init>(Build.java:43)> at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:15)> 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:456)> at hudson.model.AbstractProject$1.create(AbstractProject.java:155)> at hudson.model.AbstractProject$1.create(AbstractProject.java:153)> at hudson.model.RunMap.load(RunMap.java:174)> at hudson.model.AbstractProject.onLoad(AbstractProject.java:153)> at hudson.model.Project.onLoad(Project.java:61)> at hudson.model.Items.load(Items.java:81)> at hudson.model.Hudson.load(Hudson.java:1302)> at hudson.model.Hudson.<init>(Hudson.java:353)> at hudson.WebAppMain$2.run(WebAppMain.java:156)> > Can anyone help me identify and resolve the problem? I could send log /> config files but would prefer to take that off the public list.> > Thanks,> > Rob> Rob Oxspring> [hidden email]> > > ---------------------------------------------------------------------> To unsubscribe, e-mail: [hidden email]> For additional commands, e-mail: [hidden email]>
> > _________________________________________________________________
> > If you like crossword puzzles, then you'll love Flexicon, a game which
> > combines four overlapping crossword puzzles into one!
> > http://g.msn.ca/ca55/208
> Rob Oxspring
> [hidden email]
>


Reply | Threaded
Open this post in threaded view
|

RE: Upgrade to 1.183 => 1.223 loses all projects

Adam Purkiss
In reply to this post by Rob Oxspring
Sorry if this arrives twice something funny happened the first time I tried to email it.
 
 
There is an entry in build.xml for each build that refers to the findbugs results. It is that bit of information you really want gone. I forget the exact tag, but a look in any file should make it pretty obvious. Hopefully you can use some form of search and replace tool to automate it once you find the correct thing.
 
 
Extra note: When I did the upgrade the jobs still appeared, however it was an earlier release of version 2 so maybe there is something in a newer release that has changed to cause it to now fail.






> From: [hidden email]

> To: [hidden email]; [hidden email]
> Date: Fri, 13 Jun 2008 20:38:43 +0100
> Subject: RE: Upgrade to 1.183 => 1.223 loses all projects
>
> Thanks for the fast response Adam, I've been delayed in testing the
> theory while ensured I had a full backup of our hudson server. The
> problem does appear to be related to the findbugs plugin - removing the
> plugin allows hudson to start up properly. I've tried deleting the
> findbugs-results directories from each historical build but am still
> seeing the errors in the attached log. Is there any information about
> what config files need removing or editing to allow hudson and the
> findbugs plugin to work again? We have a lot of build history and
> although we're happy to lose the findbugs aspect of it we'd really
> rather not drop the rest of the information :).
>
> Thanks again,
>
> Rob
>
>
> On Fri, 13 Jun 2008 12:58:18 -0400, "Adam Purkiss"
> <[hidden email]> said:
> > you say you updated plugins at same time..... could you roll back
> > plugins, see if things work and then update plgins one at a time. At
> > least findbugs when it changed to version 2 from 1 had changes thsat
> > meant old builds caused an error if you did not clean them out... hudson
> > still starts but you got errors....
> >
> > If you do not want to loose all you historical builds you should at least
> > delete findbugs information from build.xml to stop findbugs errors.
> >
> >
> >
> > > From: [hidden email]> To: [hidden email]> Date: Fri, 13 Jun 2008 17:39:12 +0100> Subject: Upgrade to 1.183 => 1.223 loses all projects> > Hi all,> > I've just upgraded to 1.223 and then used the update center to upgrade> various plugins and now when I restart hudson no projects are found. > All the project files appear to be on disk still but the Tomcat catalina> log shows some xstream and other errors:> > 13-Jun-2008 17:32:52 hudson.util.RobustReflectionConverter doUnmarshal> WARNING: Skipping a non-existend type> com.thoughtworks.xstream.mapper.CannotResolveClassException:> isHealthyReportEnabled : isHealthyReportEnabled> at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:49)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper.realClass(XStream11XmlFriendlyMapper.java:23)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:72)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:60)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:76)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:34)> at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:307)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:189)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)> at hudson.util.XStream2.unmarshal(XStream2.java:37)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:767)> at hudson.XmlFile.read(XmlFile.java:103)> at hudson.model.Items.load(Items.java:80)> at hudson.model.Hudson.load(Hudson.java:1302)> at hudson.model.Hudson.<init>(Hudson.java:353)> at hudson.WebAppMain$2.run(WebAppMain.java:156)> 13-Jun-2008 17:32:52 hudson.model.Hudson load> WARNING: Failed to load E:\Hudson\jobs\Server-6.2.0> java.lang.InstantiationError:> hudson.plugins.findbugs.util.model.AnnotationProvider> at sun.reflect.GeneratedSerializationConstructorAccessor40.newInstance(Unknown Source)> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)> at com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newInstance(Sun14ReflectionProvider.java:54)> at hudson.util.RobustReflectionConverter.instantiateNewInstance(RobustReflectionConverter.java:276)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:143)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)> at hudson.util.XStream2.unmarshal(XStream2.java:37)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)> at hudson.XmlFile.unmarshal(XmlFile.java:123)> at hudson.model.Run.<init>(Run.java:183)> at hudson.model.AbstractBuild.<init>(AbstractBuild.java:107)> at hudson.model.Build.<init>(Build.java:43)> at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:15)> 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:456)> at hudson.model.AbstractProject$1.create(AbstractProject.java:155)> at hudson.model.AbstractProject$1.create(AbstractProject.java:153)> at hudson.model.RunMap.load(RunMap.java:174)> at hudson.model.AbstractProject.onLoad(AbstractProject.java:153)> at hudson.model.Project.onLoad(Project.java:61)> at hudson.model.Items.load(Items.java:81)> at hudson.model.Hudson.load(Hudson.java:1302)> at hudson.model.Hudson.<init>(Hudson.java:353)> at hudson.WebAppMain$2.run(WebAppMain.java:156)> > Can anyone help me identify and resolve the problem? I could send log /> config files but would prefer to take that off the public list.> > Thanks,> > Rob> Rob Oxspring> [hidden email]> > > ---------------------------------------------------------------------> To unsubscribe, e-mail: [hidden email]> For additional commands, e-mail: [hidden email]>
> > _________________________________________________________________
> > If you like crossword puzzles, then you'll love Flexicon, a game which
> > combines four overlapping crossword puzzles into one!
> > http://g.msn.ca/ca55/208
> Rob Oxspring
> [hidden email]
>



Reply | Threaded
Open this post in threaded view
|

Re: Upgrade to 1.183 => 1.223 loses all projects

Erik Ramfelt
In reply to this post by Rob Oxspring
There is a reported issue
(https://hudson.dev.java.net/issues/show_bug.cgi?id=1794) that
resembles your problem. Unfortunately we have not been able to solve
it. Are you also using the ci-game plugin?

The reporter mentioned another plugin in the exception log:
Jun 5, 2008 9:37:25 AM hudson.model.Hudson load
WARNING: Failed to load D:\HudsonHome\jobs\WebTrader Adapter Service
java.lang.InstantiationError: hudson.plugins.tasks.util.model.AnnotationProvider

Im not sure why Hudson would fail to load the job.

//Erik

On Fri, Jun 13, 2008 at 6:39 PM, Rob Oxspring <[hidden email]> wrote:

> Hi all,
>
> I've just upgraded to 1.223 and then used the update center to upgrade
> various plugins and now when I restart hudson no projects are found.
> All the project files appear to be on disk still but the Tomcat catalina
> log shows some xstream and other errors:
>
> 13-Jun-2008 17:32:52 hudson.util.RobustReflectionConverter doUnmarshal
> WARNING: Skipping a non-existend type
> com.thoughtworks.xstream.mapper.CannotResolveClassException:
> isHealthyReportEnabled : isHealthyReportEnabled
>        at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:49)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper.realClass(XStream11XmlFriendlyMapper.java:23)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:72)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:60)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:76)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)
>        at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:34)
>        at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:307)
>        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:189)
>        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
>        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
>        at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)
>        at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
>        at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
>        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>        at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
>        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
>        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
>        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
>        at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
>        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)
>        at hudson.util.XStream2.unmarshal(XStream2.java:37)
>        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)
>        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:767)
>        at hudson.XmlFile.read(XmlFile.java:103)
>        at hudson.model.Items.load(Items.java:80)
>        at hudson.model.Hudson.load(Hudson.java:1302)
>        at hudson.model.Hudson.<init>(Hudson.java:353)
>        at hudson.WebAppMain$2.run(WebAppMain.java:156)
> 13-Jun-2008 17:32:52 hudson.model.Hudson load
> WARNING: Failed to load E:\Hudson\jobs\Server-6.2.0
> java.lang.InstantiationError:
> hudson.plugins.findbugs.util.model.AnnotationProvider
>        at sun.reflect.GeneratedSerializationConstructorAccessor40.newInstance(Unknown Source)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>        at com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newInstance(Sun14ReflectionProvider.java:54)
>        at hudson.util.RobustReflectionConverter.instantiateNewInstance(RobustReflectionConverter.java:276)
>        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:143)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
>        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>        at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
>        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
>        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
>        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
>        at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)
>        at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
>        at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
>        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>        at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
>        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
>        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
>        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
>        at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
>        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)
>        at hudson.util.XStream2.unmarshal(XStream2.java:37)
>        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)
>        at hudson.XmlFile.unmarshal(XmlFile.java:123)
>        at hudson.model.Run.<init>(Run.java:183)
>        at hudson.model.AbstractBuild.<init>(AbstractBuild.java:107)
>        at hudson.model.Build.<init>(Build.java:43)
>        at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:15)
>        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:456)
>        at hudson.model.AbstractProject$1.create(AbstractProject.java:155)
>        at hudson.model.AbstractProject$1.create(AbstractProject.java:153)
>        at hudson.model.RunMap.load(RunMap.java:174)
>        at hudson.model.AbstractProject.onLoad(AbstractProject.java:153)
>        at hudson.model.Project.onLoad(Project.java:61)
>        at hudson.model.Items.load(Items.java:81)
>        at hudson.model.Hudson.load(Hudson.java:1302)
>        at hudson.model.Hudson.<init>(Hudson.java:353)
>        at hudson.WebAppMain$2.run(WebAppMain.java:156)
>
> Can anyone help me identify and resolve the problem?  I could send log /
> config files but would prefer to take that off the public list.
>
> Thanks,
>
> Rob
>  Rob Oxspring
>  [hidden email]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Upgrade to 1.183 => 1.223 loses all projects

Ulli Hafner-2
In reply to this post by Adam Purkiss
There is already an issue for this bug: https://hudson.dev.java.net/issues/show_bug.cgi?id=1590
 
Could you please attach one of your old build.xml files to the issue? That would help fixing the problem.
 
Thanks, Ulli


From: Adam Purkiss [mailto:[hidden email]]
Sent: Freitag, 13. Juni 2008 22:15
To: [hidden email]
Subject: RE: Upgrade to 1.183 => 1.223 loses all projects

There is an entry in build.xml for each build that refers to the findbugs results. It is that bit of information you really want gone. I forget the exact tag, but a look in any file should make it pretty obvious. Hopefully you can use some form of search and replace tool to automate it once you find the correct thing.




> From: [hidden email]

> To: [hidden email]; [hidden email]
> Date: Fri, 13 Jun 2008 20:38:43 +0100
> Subject: RE: Upgrade to 1.183 => 1.223 loses all projects
>
> Thanks for the fast response Adam, I've been delayed in testing the
> theory while ensured I had a full backup of our hudson server. The
> problem does appear to be related to the findbugs plugin - removing the
> plugin allows hudson to start up properly. I've tried deleting the
> findbugs-results directories from each historical build but am still
> seeing the errors in the attached log. Is there any information about
> what config files need removing or editing to allow hudson and the
> findbugs plugin to work again? We have a lot of build history and
> although we're happy to lose the findbugs aspect of it we'd really
> rather not drop the rest of the information :).
>
> Thanks again,
>
> Rob
>
>
> On Fri, 13 Jun 2008 12:58:18 -0400, "Adam Purkiss"
> <[hidden email]> said:
> > you say you updated plugins at same time..... could you roll back
> > plugins, see if things work and then update plgins one at a time. At
> > least findbugs when it changed to version 2 from 1 had changes thsat
> > meant old builds caused an error if you did not clean them out... hudson
> > still starts but you got errors....
> >
> > If you do not want to loose all you historical builds you should at least
> > delete findbugs information from build.xml to stop findbugs errors.
> >
> >
> >
> > > From: [hidden email]> To: [hidden email]> Date: Fri, 13 Jun 2008 17:39:12 +0100> Subject: Upgrade to 1.183 => 1.223 loses all projects> > Hi all,> > I've just upgraded to 1.223 and then used the update center to upgrade> various plugins and now when I restart hudson no projects are found. > All the project files appear to be on disk still but the Tomcat catalina> log shows some xstream and other errors:> > 13-Jun-2008 17:32:52 hudson.util.RobustReflectionConverter doUnmarshal> WARNING: Skipping a non-existend type> com.thoughtworks.xstream.mapper.CannotResolveClassException:> isHealthyReportEnabled : isHealthyReportEnabled> at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:49)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper.realClass(XStream11XmlFriendlyMapper.java:23)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:72)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:60)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:76)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:26)> at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:34)> at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:307)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:189)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)> at hudson.util.XStream2.unmarshal(XStream2.java:37)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:767)> at hudson.XmlFile.read(XmlFile.java:103)> at hudson.model.Items.load(Items.java:80)> at hudson.model.Hudson.load(Hudson.java:1302)> at hudson.model.Hudson.<init>(Hudson.java:353)> at hudson.WebAppMain$2.run(WebAppMain.java:156)> 13-Jun-2008 17:32:52 hudson.model.Hudson load> WARNING: Failed to load E:\Hudson\jobs\Server-6.2.0> java.lang.InstantiationError:> hudson.plugins.findbugs.util.model.AnnotationProvider> at sun.reflect.GeneratedSerializationConstructorAccessor40.newInstance(Unknown Source)> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)> at com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.newInstance(Sun14ReflectionProvider.java:54)> at hudson.util.RobustReflectionConverter.instantiateNewInstance(RobustReflectionConverter.java:276)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:143)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)> at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)> at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)> at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)> at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)> at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)> at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)> at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)> at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)> at hudson.util.XStream2.unmarshal(XStream2.java:37)> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)> at hudson.XmlFile.unmarshal(XmlFile.java:123)> at hudson.model.Run.<init>(Run.java:183)> at hudson.model.AbstractBuild.<init>(AbstractBuild.java:107)> at hudson.model.Build.<init>(Build.java:43)> at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:15)> 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:456)> at hudson.model.AbstractProject$1.create(AbstractProject.java:155)> at hudson.model.AbstractProject$1.create(AbstractProject.java:153)> at hudson.model.RunMap.load(RunMap.java:174)> at hudson.model.AbstractProject.onLoad(AbstractProject.java:153)> at hudson.model.Project.onLoad(Project.java:61)> at hudson.model.Items.load(Items.java:81)> at hudson.model.Hudson.load(Hudson.java:1302)> at hudson.model.Hudson.<init>(Hudson.java:353)> at hudson.WebAppMain$2.run(WebAppMain.java:156)> > Can anyone help me identify and resolve the problem? I could send log /> config files but would prefer to take that off the public list.> > Thanks,> > Rob> Rob Oxspring> [hidden email]> > > ---------------------------------------------------------------------> To unsubscribe, e-mail: [hidden email]> For additional commands, e-mail: [hidden email]>
> > _________________________________________________________________
> > If you like crossword puzzles, then you'll love Flexicon, a game which
> > combines four overlapping crossword puzzles into one!
> > http://g.msn.ca/ca55/208
> Rob Oxspring
> [hidden email]
>


Reply | Threaded
Open this post in threaded view
|

RE: Upgrade to 1.183 => 1.223 loses all projects

Rob Oxspring
I've attached a sample to that issue.  In the meantime I've disabled all
plugins and tried reintroducing them one by one and it looks like both
the findbugs and tasks plugins are causing this problem.

I've removed the hudson.plugins.findbugs.FindBugsResultAction element
from each build.xml and now I can add the findbugs plugin back in but
the tasks plugin is still causing the same problem.

Can anyone make any sense of the attached log and identify the issue?  I
see lots of warnings out of xstream e.g. CannotResolveClassException:
isHealthyReportEnabled.  But I don't see any clue as to what files etc
are being parsed and therefore where I should be looking and hacking to
investigate further.

Thanks,

Rob

On Mon, 16 Jun 2008 08:54:05 +0200, "Hafner Ullrich"
<[hidden email]> said:

> There is already an issue for this bug:
> https://hudson.dev.java.net/issues/show_bug.cgi?id=1590
>  
> Could you please attach one of your old build.xml files to the issue?
> That would help fixing the problem.
>  
> Thanks, Ulli
>
>
> ________________________________
>
> From: Adam Purkiss [mailto:[hidden email]]
> Sent: Freitag, 13. Juni 2008 22:15
> To: [hidden email]
> Subject: RE: Upgrade to 1.183 => 1.223 loses all projects
>
>
> There is an entry in build.xml for each build that refers to the
> findbugs results. It is that bit of information you really want gone. I
> forget the exact tag, but a look in any file should make it pretty
> obvious. Hopefully you can use some form of search and replace tool to
> automate it once you find the correct thing.
>
>
>
>
> ________________________________
>
> > From: [hidden email]
> > To: [hidden email]; [hidden email]
> > Date: Fri, 13 Jun 2008 20:38:43 +0100
> > Subject: RE: Upgrade to 1.183 => 1.223 loses all projects
> >
> > Thanks for the fast response Adam, I've been delayed in
> testing the
> > theory while ensured I had a full backup of our hudson server.
> The
> > problem does appear to be related to the findbugs plugin -
> removing the
> > plugin allows hudson to start up properly. I've tried deleting
> the
> > findbugs-results directories from each historical build but am
> still
> > seeing the errors in the attached log. Is there any
> information about
> > what config files need removing or editing to allow hudson and
> the
> > findbugs plugin to work again? We have a lot of build history
> and
> > although we're happy to lose the findbugs aspect of it we'd
> really
> > rather not drop the rest of the information :).
> >
> > Thanks again,
> >
> > Rob
> >
> >
> > On Fri, 13 Jun 2008 12:58:18 -0400, "Adam Purkiss"
> > <[hidden email]> said:
> > > you say you updated plugins at same time..... could you roll
> back
> > > plugins, see if things work and then update plgins one at a
> time. At
> > > least findbugs when it changed to version 2 from 1 had
> changes thsat
> > > meant old builds caused an error if you did not clean them
> out... hudson
> > > still starts but you got errors....
> > >
> > > If you do not want to loose all you historical builds you
> should at least
> > > delete findbugs information from build.xml to stop findbugs
> errors.
> > >
> > >
> > >
> > > > From: [hidden email]> To: [hidden email]>
> Date: Fri, 13 Jun 2008 17:39:12 +0100> Subject: Upgrade to 1.183 =>
> 1.223 loses all projects> > Hi all,> > I've just upgraded to 1.223 and
> then used the update center to upgrade> various plugins and now when I
> restart hudson no projects are found. > All the project files appear to
> be on disk still but the Tomcat catalina> log shows some xstream and
> other errors:> > 13-Jun-2008 17:32:52
> hudson.util.RobustReflectionConverter doUnmarshal> WARNING: Skipping a
> non-existend type>
> com.thoughtworks.xstream.mapper.CannotResolveClassException:>
> isHealthyReportEnabled : isHealthyReportEnabled> at
> com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.ja
> va:49)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper.realClass(XSt
> ream11XmlFriendlyMapper.java:23)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAlias
> ingMapper.java:72)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProx
> yMapper.java:60)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:7
> 6)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
> va:26)> at
> com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.ja
> va:34)> at
> hudson.util.RobustReflectionConverter.determineType(RobustReflectionConv
> erter.java:307)> at
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConver
> ter.java:189)> at
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverte
> r.java:144)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.
> java:56)> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abst
> ractReferenceUnmarshaller.java:45)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmars
> haller.java:46)> at
> com.thoughtworks.xstream.converters.collections.AbstractCollectionConver
> ter.readItem(AbstractCollectionConverter.java:66)> at
> hudson.util.RobustCollectionConverter.populateCollection(RobustCollectio
> nConverter.java:49)> at
> com.thoughtworks.xstream.converters.collections.CollectionConverter.unma
> rshal(CollectionConverter.java:50)> at
> hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverte
> r.java:41)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.
> java:56)> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abst
> ractReferenceUnmarshaller.java:45)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmars
> haller.java:46)> at
> hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionCo
> nverter.java:235)> at
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConver
> ter.java:193)> at
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverte
> r.java:144)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.
> java:56)> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abst
> ractReferenceUnmarshaller.java:45)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmars
> haller.java:46)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.ja
> va:117)> at
> com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmars
> hal(ReferenceByXPathMarshallingStrategy.java:29)> at
> com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)> at
> hudson.util.XStream2.unmarshal(XStream2.java:37)> at
> com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)> at
> com.thoughtworks.xstream.XStream.fromXML(XStream.java:767)> at
> hudson.XmlFile.read(XmlFile.java:103)> at
> hudson.model.Items.load(Items.java:80)> at
> hudson.model.Hudson.load(Hudson.java:1302)> at
> hudson.model.Hudson.<init>(Hudson.java:353)> at
> hudson.WebAppMain$2.run(WebAppMain.java:156)> 13-Jun-2008 17:32:52
> hudson.model.Hudson load> WARNING: Failed to load
> E:\Hudson\jobs\Server-6.2.0> java.lang.InstantiationError:>
> hudson.plugins.findbugs.util.model.AnnotationProvider> at
> sun.reflect.GeneratedSerializationConstructorAccessor40.newInstance(Unkn
> own Source)> at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)> at
> com.thoughtworks.xstream.converters.reflection.Sun14ReflectionProvider.n
> ewInstance(Sun14ReflectionProvider.java:54)> at
> hudson.util.RobustReflectionConverter.instantiateNewInstance(RobustRefle
> ctionConverter.java:276)> at
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverte
> r.java:143)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.
> java:56)> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abst
> ractReferenceUnmarshaller.java:45)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmars
> haller.java:46)> at
> hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionCo
> nverter.java:235)> at
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConver
> ter.java:193)> at
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverte
> r.java:144)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.
> java:56)> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abst
> ractReferenceUnmarshaller.java:45)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmars
> haller.java:46)> at
> com.thoughtworks.xstream.converters.collections.AbstractCollectionConver
> ter.readItem(AbstractCollectionConverter.java:66)> at
> hudson.util.RobustCollectionConverter.populateCollection(RobustCollectio
> nConverter.java:49)> at
> com.thoughtworks.xstream.converters.collections.CollectionConverter.unma
> rshal(CollectionConverter.java:50)> at
> hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverte
> r.java:41)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.
> java:56)> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abst
> ractReferenceUnmarshaller.java:45)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmars
> haller.java:46)> at
> hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionCo
> nverter.java:235)> at
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConver
> ter.java:193)> at
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverte
> r.java:144)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.
> java:56)> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abst
> ractReferenceUnmarshaller.java:45)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmars
> haller.java:46)> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.ja
> va:117)> at
> com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmars
> hal(ReferenceByXPathMarshallingStrategy.java:29)> at
> com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)> at
> hudson.util.XStream2.unmarshal(XStream2.java:37)> at
> com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)> at
> hudson.XmlFile.unmarshal(XmlFile.java:123)> at
> hudson.model.Run.<init>(Run.java:183)> at
> hudson.model.AbstractBuild.<init>(AbstractBuild.java:107)> at
> hudson.model.Build.<init>(Build.java:43)> at
> hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:15)> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)>
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
> ccessorImpl.java:39)> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
> tructorAccessorImpl.java:27)> at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)> at
> hudson.model.AbstractProject.loadBuild(AbstractProject.java:456)> at
> hudson.model.AbstractProject$1.create(AbstractProject.java:155)> at
> hudson.model.AbstractProject$1.create(AbstractProject.java:153)> at
> hudson.model.RunMap.load(RunMap.java:174)> at
> hudson.model.AbstractProject.onLoad(AbstractProject.java:153)> at
> hudson.model.Project.onLoad(Project.java:61)> at
> hudson.model.Items.load(Items.java:81)> at
> hudson.model.Hudson.load(Hudson.java:1302)> at
> hudson.model.Hudson.<init>(Hudson.java:353)> at
> hudson.WebAppMain$2.run(WebAppMain.java:156)> > Can anyone help me
> identify and resolve the problem? I could send log /> config files but
> would prefer to take that off the public list.> > Thanks,> > Rob> Rob
> Oxspring> [hidden email]> > >
> --------------------------------------------------------------------->
> To unsubscribe, e-mail: [hidden email]> For
> additional commands, e-mail: [hidden email]>
> > >
> _________________________________________________________________
> > > If you like crossword puzzles, then you'll love Flexicon, a
> game which
> > > combines four overlapping crossword puzzles into one!
> > > http://g.msn.ca/ca55/208
> > Rob Oxspring
> > [hidden email]
> >
>
>
> ________________________________
>
>
  Rob Oxspring
  [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

catalina.2008-06-16.zip (42K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Upgrade to 1.183 => 1.223 loses all projects

Ulli Hafner-2
> I've attached a sample to that issue.  In the meantime I've
> disabled all plugins and tried reintroducing them one by one
> and it looks like both the findbugs and tasks plugins are
> causing this problem.
>
> I've removed the hudson.plugins.findbugs.FindBugsResultAction
> element from each build.xml and now I can add the findbugs
> plugin back in but the tasks plugin is still causing the same problem.

You need to do the same "trick" with the tasks plug-in (remove the
section
in the build). Maybe I should write a small script that does this for
all build.xml files. The problem is the same as with findbugs. I moved
the
health reporting attributes to a new class which is not present in the
old  
plug-ins. Seems that the de-serialization does not work in the way as I
expected. I've written a readResolve method but somehow the instance is
invalid anyway.

Ulli


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]