-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins 2.235.5 (attempting to upgrade to 2.249.1)
Java 1.8.0.252
Folder plugin 6.14
If I upgrade our Jenkins instance from 2.235.5 to the new stable 2.249.1 release, I get warnings about unreadable data for the Folder plugin after it comes back up. Our various folders then have no content; attempting to navigate into them gives an error (I think it was a 404).
Here is the complaint about the Folder plugin data, issued once for each folder:
com.cloudbees.hudson.plugins.folder.Folder ConversionException: Could not call hudson.model.ListView.readResolve() : null ---- Debugging information ---- message : Could not call hudson.model.ListView.readResolve() : null cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException cause-message : Could not call hudson.model.ListView.readResolve() : null class : hudson.model.ListView required-type : hudson.model.ListView converter-type : hudson.util.RobustReflectionConverter path : /com.cloudbees.hudson.plugins.folder.Folder/folderViews/views/hudson.model.ListView line number : 34 -------------------------------
I have tried the upgrade a couple of times, in case it was some kind of transient issue, but it failed in exactly the same way both times.
(Fortunately, downgrading back to 2.235.5 gets everything back to normal.)
- duplicates
-
JENKINS-62661 Views with status filters lost upgrading from 2.238 to 2.240
-
- Closed
-
Does the folder config.xml file include a statusFilter XML tag?
JENKINS-62661notes that views defined with statusFilter do not upgrade from Jenkins 2.235.5 to Jenkins 2.249.1. There is a data migration missing.I confirmed that when a view defined on a folder in Jenkins 2.235.5 includes a status filter (for example, "Enabled Jobs only"), that view is lost when upgrading to Jenkins 2.249.1. I had 3 views in a folder in Jenkins 2.235.5. I added a status filter "Enabled Jobs only" in Jenkins 2.235.5 to 2 of the views. When I upgraded to 2.249.1, the 2 views were deleted, leaving only 1 view in the folder.