-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
Created three jobs and enabled the Trac plugin for them. Upon
disabling the Trac plugin (or removing it) and restarting Hudson,
all three jobs disappear. After re-enabling the plugin, the jobs
are back.
As Kohsuke suggested[1], the problem is with XStream
trying to read the jobs' config.xml files. Specifically,
the problem is an XStream CannotResolveClassException
for hudson.plugins.trac.TracRepositoryBrowser.
I suspect RobustCollectionConverter is not being used
because TracRepositoryBrowser is in a "browser" element
that is not part of a Collection. I have not traced
through the XStream Converter selection to say for sure
though.
I will attach a sample config.xml and a stack trace.
--Brad
[1] http://www.nabble.com/jobs-disappear-after-disabling-Trac-plugin-tf3649227.html