[Issue 4752] New - 1.331 fails to load some projects

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

[Issue 4752] New - 1.331 fails to load some projects

pavageau
https://hudson.dev.java.net/issues/show_bug.cgi?id=4752
                 Issue #|4752
                 Summary|1.331 fails to load some projects
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|core
             Assigned to|issues@hudson
             Reported by|pavageau






------- Additional comments from [hidden email] Mon Nov  2 10:36:28 +0000 2009 -------
After upgrading from 1.330 to 1.331, some projects fail to load. Reverting to
1.330 makes them reappear.

I have several kinds stack traces in the log, but they all have a
ClassCastException:
 - ConversionException with DiskUsageProperty
hudson.util.IOException2: Unable to read
/usr/local/web/.hudson/jobs/project1/config.xml
        at hudson.XmlFile.read(XmlFile.java:130)
        at hudson.model.Items.load(Items.java:106)
        at hudson.model.Hudson$9.call(Hudson.java:2011)
        at hudson.model.Hudson$9.call(Hudson.java:2004)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: com.thoughtworks.xstream.converters.ConversionException:
com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to
java.lang.ref.WeakReference :
com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to
java.lang.ref.WeakReference
---- Debugging information ----
message             :
com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to
java.lang.ref.WeakReference
cause-exception     : java.lang.ClassCastException
cause-message       :
com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to
java.lang.ref.WeakReference
class               : hudson.model.FreeStyleProject
required-type       : hudson.util.CopyOnWriteList
path                :
/project/properties/hudson.plugins.disk_usage.DiskUsageProperty
line number         : 10
-------------------------------
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
        at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at
hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:261)
        at
hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:221)
        at
hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:172)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
        at
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
        at hudson.util.XStream2.unmarshal(XStream2.java:70)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
        at hudson.XmlFile.read(XmlFile.java:126)
        ... 8 more
Caused by: java.lang.ClassCastException:
com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to
java.lang.ref.WeakReference
        at
com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:45)
        at
com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
        at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:70)
        at
hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:184)
        at
hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:163)
        at hudson.util.XStream2$AssociatedConverterImpl.unmarshal(XStream2.java:157)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        ... 25 more

 - ConversionException with MonitorPublisher
hudson.util.IOException2: Unable to read
/usr/local/web/.hudson/jobs/project2/config.xml
        at hudson.XmlFile.read(XmlFile.java:130)
        at hudson.model.Items.load(Items.java:106)
        at hudson.model.Hudson$9.call(Hudson.java:2011)
        at hudson.model.Hudson$9.call(Hudson.java:2004)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: com.thoughtworks.xstream.converters.ConversionException:
com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to
java.lang.ref.WeakReference :
com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to
java.lang.ref.WeakReference
---- Debugging information ----
message             :
com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to
java.lang.ref.WeakReference
cause-exception     : java.lang.ClassCastException
cause-message       :
com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to
java.lang.ref.WeakReference
class               : hudson.maven.MavenModuleSet
required-type       : hudson.util.DescribableList
path                :
/maven2-moduleset/publishers/hudson.plugins.statusmonitor.MonitorPublisher
line number         : 120
-------------------------------
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
        at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at
hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:261)
        at
hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:221)
        at
hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:172)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
        at
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
        at hudson.util.XStream2.unmarshal(XStream2.java:70)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
        at hudson.XmlFile.read(XmlFile.java:126)
        ... 8 more
Caused by: java.lang.ClassCastException:
com.thoughtworks.xstream.mapper.CannotResolveClassException cannot be cast to
java.lang.ref.WeakReference
        at
com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:45)
        at
com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
        at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:70)
        at
hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:184)
        at
hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:312)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        ... 25 more


 - shorter ConversionException on MonitorPublisher
hudson.util.IOException2: Unable to read
/usr/local/web/.hudson/jobs/project3/config.xml
        at hudson.XmlFile.read(XmlFile.java:130)
        at hudson.model.Items.load(Items.java:106)
        at hudson.model.Hudson$9.call(Hudson.java:2011)
        at hudson.model.Hudson$9.call(Hudson.java:2004)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null
---- Debugging information ----
cause-exception     : java.lang.ClassCastException
cause-message       : null
class               : hudson.maven.MavenModuleSet
required-type       : hudson.util.DescribableList
path                :
/maven2-moduleset/publishers/hudson.plugins.statusmonitor.MonitorPublisher
line number         : 68
-------------------------------
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
        at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at
hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:261)
        at
hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:221)
        at
hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:172)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
        at
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
        at hudson.util.XStream2.unmarshal(XStream2.java:70)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
        at hudson.XmlFile.read(XmlFile.java:126)
        ... 8 more
Caused by: java.lang.ClassCastException

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

Reply | Threaded
Open this post in threaded view
|

[Issue 4752] 1.331 fails to load some projects

Alan Harder-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=4752



User mindless changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|''                        |'mindless'
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Mon Nov  2 16:00:13 +0000 2009 -------
can you post the config.xml for one/some of these jobs, and your list of plugin?

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

Reply | Threaded
Open this post in threaded view
|

[Issue 4752] 1.331 fails to load some projects

pavageau
In reply to this post by pavageau
https://hudson.dev.java.net/issues/show_bug.cgi?id=4752






------- Additional comments from [hidden email] Mon Nov  2 16:29:39 +0000 2009 -------
Created an attachment (id=981)
.hudson/jobs/project1/config.xml


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

Reply | Threaded
Open this post in threaded view
|

[Issue 4752] 1.331 fails to load some projects

pavageau
In reply to this post by pavageau
https://hudson.dev.java.net/issues/show_bug.cgi?id=4752






------- Additional comments from [hidden email] Mon Nov  2 16:30:23 +0000 2009 -------
Created an attachment (id=982)
.hudson/jobs/project2/config.xml


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

Reply | Threaded
Open this post in threaded view
|

[Issue 4752] 1.331 fails to load some projects

pavageau
In reply to this post by pavageau
https://hudson.dev.java.net/issues/show_bug.cgi?id=4752






------- Additional comments from [hidden email] Mon Nov  2 16:39:21 +0000 2009 -------
The installed plugins are:
nabaztag 1.6
Hudson Emma plugin 1.10
Hudson Sectioned View Plugin 1.5 (disabled)
Hudson Radiator View Plugin 1.2 (disabled)
Hudson FindBugs Plug-in 3.13
Hudson Sonar plugin 1.1 (disabled)
Hudson Cobertura plugin 0.8.9
Hudson SLOCCount Plug-in 1.3 (disabled)
Hudson SSH Slaves plugin 0.8
Hudson promoted builds plugin 1.5 (disabled)
Hudson Support Subscription Notification Plugin 1.1
Hudson Status Monitor 1.1 (disabled)
Hudson IRC Plugin 1.8-SNAPSHOT (private)
Hudson Task Scanner Plugin- 3.13
Hudson Warnings Plug-in 2.14
Hudson Violations plugin 0.7.4
Hudson Locks and Latches plugin 0.4
TuxDroid Plugin 1.5 (disabled)
Hudson Duplicate Code Scanner Plug-in 1.13
Hudson Dependency Analyzer Plugin 0.4
Hudson disk-usage plugin 0.9 (disabled)
Green Balls 1.4
Hudson build timeout plugin 1.5
Hudson Continuous Integration game 1.15
Hudson PMD Plug-in 2.13
Hudson Checkstyle Plug-in 2.14
Maven Integration plugin 1.331
Hudson Subversion Plug-in 1.7
Hudson JIRA plugin 1.16
Change Log History 1.1
Hudson M2 Extra Steps Plugin 1.1.2

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

Reply | Threaded
Open this post in threaded view
|

[Issue 4752] 1.331 fails to load some projects

natacado
In reply to this post by pavageau
https://hudson.dev.java.net/issues/show_bug.cgi?id=4752






------- Additional comments from [hidden email] Mon Nov  2 18:12:52 +0000 2009 -------
I have the same problem; downgrading to 1.330 fixed it for me as well. My plugin
list, if it's any help:

Hudson batch task plugin 1.8
Hudson Warnings Plug-in 2.14
SSH Slaves plugin 0.7
Hudson GIT plugin 0.7.3
Hudson description setter plugin 1.4
Hudson Subversion Plug-in 1.7
Hudson build timeout plugin 1.5
Hudson Cobertura plugin 0.8.9
Hudson S3 publisher plugin 0.0.1-SNAPSHOT (private-07/10/2009...)
Hudson SLOCCount Plug-in 1.3
Hudson Email Extension Plugin 2.2.1
Hudson Plot plugin 1.2
Maven Integration plugin 1.330 (this may have changed since downgrading...?)
Hudson Xvnc plugin 1.7
Hudson Violations plugin 0.7.4
Hudson Rake plugin 1.6.2
Hudson Support Subscription Notification Plugin 1.1
Hudson ruby metrics plugin 1.3
Hudson IRC Plugin 1.7
Hudson Ruby Plugin 1.1
Twitter plugin 0.4

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

Reply | Threaded
Open this post in threaded view
|

[Issue 4752] 1.331 fails to load some projects

natacado
In reply to this post by pavageau
https://hudson.dev.java.net/issues/show_bug.cgi?id=4752



User natacado changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|'mindless'                |'mindless,natacado'
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Mon Nov  2 18:15:05 +0000 2009 -------
Adding myself to cc list

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

Reply | Threaded
Open this post in threaded view
|

[Issue 4752] 1.331 fails to load some projects

Kohsuke Kawaguchi
Administrator
In reply to this post by pavageau
https://hudson.dev.java.net/issues/show_bug.cgi?id=4752



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Mon Nov  2 20:27:07 +0000 2009 -------
Reproduced and confirmed to be the problem in a change in XStream.

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

Reply | Threaded
Open this post in threaded view
|

[Issue 4752] 1.331 fails to load some projects

Kohsuke Kawaguchi
Administrator
In reply to this post by pavageau
https://hudson.dev.java.net/issues/show_bug.cgi?id=4752






------- Additional comments from [hidden email] Mon Nov  2 20:39:55 +0000 2009 -------
Fixed the root cause in http://kenai.com/projects/hudson/sources/xstream/revision/23

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

Reply | Threaded
Open this post in threaded view
|

[Issue 4752] 1.331 fails to load some projects

scm_issue_link
In reply to this post by pavageau
https://hudson.dev.java.net/issues/show_bug.cgi?id=4752



User scm_issue_link changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|STARTED                   |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Mon Nov  2 21:18:44 +0000 2009 -------
Code changed in hudson
User: : kohsuke
Path:
 branches/rc/core/pom.xml
http://fisheye4.cenqua.com/changelog/hudson/?cs=23422
Log:
[FIXED HUDSON-4752] integrated the new version of XStream


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

Reply | Threaded
Open this post in threaded view
|

[Issue 4752] 1.331 fails to load some projects

scm_issue_link
In reply to this post by pavageau
https://hudson.dev.java.net/issues/show_bug.cgi?id=4752






------- Additional comments from [hidden email] Mon Nov  2 21:57:49 +0000 2009 -------
Code changed in hudson
User: : kohsuke
Path:
 trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=23423
Log:
[HUDSON-4752] Fix integrated toward 1.332, out of cycle.


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