Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47416

Views deleted by upgrade from cloudbees-folders 6.1.2 to 6.2.0

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
    • Environment:
      Docker image running Jenkins 2.73.2
      cloudbees-folder-plugin 6.2.0
      upgrading folders from prior cloudbees-folder-plugin
    • Similar Issues:

      Description

      When I installed cloudbees-folder-plugin 6.2.0, the views defined in several of my folders were deleted.

      An administrative monitor appeared warning about unreadable data. The message was:

      ConversionException: Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
      no parent set on com.cloudbees.hudson.plugins.folder.Folder[null] :
      Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
      no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
      ---- Debugging information ----
      message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
      cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
      cause-message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
      class : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder required-type : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder
      converter-type : hudson.util.RobustReflectionConverter path
      : /com.cloudbees.hudson.plugins.folder.Folder/folderViews line number : 157 -------------------------------
      

      To duplicate the problem:

      1. Clone, build, and run the docker instance
          $ git lfs clone https://github.com/MarkEWaite/docker-lfs JENKINS-47416
          $ cd JENKINS-47416
          $ git lfs fetch origin JENKINS-47416
          $ git checkout -b lts-with-plugins JENKINS-47416
          $ docker build -t jenkins:JENKINS-47416 .
          $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-47416
        
      2. Click "Manage Jenkins"
      3. Clck the "Manage" button to the right of "You have data stored in an older format and/or unreadable data" (opens http://localhost:8080/administrativeMonitor/OldData/manage )

      One of the folder config.xml files is available in the docker image

      Conversion exception is thrown even if I update the folder definition to 6.1.2 format before upgrading the cloudbees-folders plugin.

        Attachments

          Issue Links

            Activity

            markewaite Mark Waite created issue -
            markewaite Mark Waite made changes -
            Field Original Value New Value
            Description When I installed cloudbees-folder-plugin 6.2.0, the views defined in several of my folders were deleted.

            An administrative monitor appeared warning about unreadable data. The message was:

            {noformat}
            ConversionException: Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null] :
            Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            ---- Debugging information ----
            message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
            cause-message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            class : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder required-type : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder
            converter-type : hudson.util.RobustReflectionConverter path
            : /com.cloudbees.hudson.plugins.folder.Folder/folderViews line number : 157 -------------------------------
            {noformat}

            To duplicate the problem:

            # Clone, build, and run the docker instance
            {code}
              $ git lfs clone https://github.com/MarkEWaite/docker-lfs JENKINS-xxx
              $ cd JENKINS-xxx
              $ git lfs fetch origin public/JENKINS-xxx
              $ git checkout -b lts-with-plugins JENKINS-xxx
              $ docker build -t jenkins:JENKINS-xxx .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-xxx
            {code}
            # Click "Manage Jenkins"
            # Clck the "Manage" button to the left of "You have data stored in an older format and/or unreadable data"
            When I installed cloudbees-folder-plugin 6.2.0, the views defined in several of my folders were deleted.

            An administrative monitor appeared warning about unreadable data. The message was:

            {noformat}
            ConversionException: Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null] :
            Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            ---- Debugging information ----
            message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
            cause-message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            class : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder required-type : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder
            converter-type : hudson.util.RobustReflectionConverter path
            : /com.cloudbees.hudson.plugins.folder.Folder/folderViews line number : 157 -------------------------------
            {noformat}

            To duplicate the problem:

            # Clone, build, and run the docker instance
            {code}
              $ git lfs clone https://github.com/MarkEWaite/docker-lfs JENKINS-47416
              $ cd JENKINS-47416
              $ git lfs fetch origin JENKINS-47416
              $ git checkout -b lts-with-plugins JENKINS-47416
              $ docker build -t jenkins:JENKINS-47416 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-47416
            {code}
            # Click "Manage Jenkins"
            # Clck the "Manage" button to the left of "You have data stored in an older format and/or unreadable data" (opens http://localhost:8080/administrativeMonitor/OldData/manage )

            One of the folder config.xml files is available in the [docker image|https://github.com/MarkEWaite/docker-lfs/blob/JENKINS-47416/ref/jobs/Git-Client-Folder/config.xml])
            markewaite Mark Waite made changes -
            Description When I installed cloudbees-folder-plugin 6.2.0, the views defined in several of my folders were deleted.

            An administrative monitor appeared warning about unreadable data. The message was:

            {noformat}
            ConversionException: Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null] :
            Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            ---- Debugging information ----
            message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
            cause-message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            class : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder required-type : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder
            converter-type : hudson.util.RobustReflectionConverter path
            : /com.cloudbees.hudson.plugins.folder.Folder/folderViews line number : 157 -------------------------------
            {noformat}

            To duplicate the problem:

            # Clone, build, and run the docker instance
            {code}
              $ git lfs clone https://github.com/MarkEWaite/docker-lfs JENKINS-47416
              $ cd JENKINS-47416
              $ git lfs fetch origin JENKINS-47416
              $ git checkout -b lts-with-plugins JENKINS-47416
              $ docker build -t jenkins:JENKINS-47416 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-47416
            {code}
            # Click "Manage Jenkins"
            # Clck the "Manage" button to the left of "You have data stored in an older format and/or unreadable data" (opens http://localhost:8080/administrativeMonitor/OldData/manage )

            One of the folder config.xml files is available in the [docker image|https://github.com/MarkEWaite/docker-lfs/blob/JENKINS-47416/ref/jobs/Git-Client-Folder/config.xml])
            When I installed cloudbees-folder-plugin 6.2.0, the views defined in several of my folders were deleted.

            An administrative monitor appeared warning about unreadable data. The message was:

            {noformat}
            ConversionException: Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null] :
            Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            ---- Debugging information ----
            message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
            cause-message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            class : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder required-type : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder
            converter-type : hudson.util.RobustReflectionConverter path
            : /com.cloudbees.hudson.plugins.folder.Folder/folderViews line number : 157 -------------------------------
            {noformat}

            To duplicate the problem:

            # Clone, build, and run the docker instance
            {code}
              $ git lfs clone https://github.com/MarkEWaite/docker-lfs JENKINS-47416
              $ cd JENKINS-47416
              $ git lfs fetch origin JENKINS-47416
              $ git checkout -b lts-with-plugins JENKINS-47416
              $ docker build -t jenkins:JENKINS-47416 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-47416
            {code}
            # Click "Manage Jenkins"
            # Clck the "Manage" button to the left of "You have data stored in an older format and/or unreadable data" (opens http://localhost:8080/administrativeMonitor/OldData/manage )

            One of the folder config.xml files is available in the [docker image|https://github.com/MarkEWaite/docker-lfs/blob/JENKINS-47416/ref/jobs/Git-Client-Folder/config.xml]
            markewaite Mark Waite made changes -
            Description When I installed cloudbees-folder-plugin 6.2.0, the views defined in several of my folders were deleted.

            An administrative monitor appeared warning about unreadable data. The message was:

            {noformat}
            ConversionException: Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null] :
            Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            ---- Debugging information ----
            message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
            cause-message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            class : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder required-type : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder
            converter-type : hudson.util.RobustReflectionConverter path
            : /com.cloudbees.hudson.plugins.folder.Folder/folderViews line number : 157 -------------------------------
            {noformat}

            To duplicate the problem:

            # Clone, build, and run the docker instance
            {code}
              $ git lfs clone https://github.com/MarkEWaite/docker-lfs JENKINS-47416
              $ cd JENKINS-47416
              $ git lfs fetch origin JENKINS-47416
              $ git checkout -b lts-with-plugins JENKINS-47416
              $ docker build -t jenkins:JENKINS-47416 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-47416
            {code}
            # Click "Manage Jenkins"
            # Clck the "Manage" button to the left of "You have data stored in an older format and/or unreadable data" (opens http://localhost:8080/administrativeMonitor/OldData/manage )

            One of the folder config.xml files is available in the [docker image|https://github.com/MarkEWaite/docker-lfs/blob/JENKINS-47416/ref/jobs/Git-Client-Folder/config.xml]
            When I installed cloudbees-folder-plugin 6.2.0, the views defined in several of my folders were deleted.

            An administrative monitor appeared warning about unreadable data. The message was:

            {noformat}
            ConversionException: Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null] :
            Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            ---- Debugging information ----
            message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
            cause-message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            class : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder required-type : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder
            converter-type : hudson.util.RobustReflectionConverter path
            : /com.cloudbees.hudson.plugins.folder.Folder/folderViews line number : 157 -------------------------------
            {noformat}

            To duplicate the problem:

            # Clone, build, and run the docker instance
            {code}
              $ git lfs clone https://github.com/MarkEWaite/docker-lfs JENKINS-47416
              $ cd JENKINS-47416
              $ git lfs fetch origin JENKINS-47416
              $ git checkout -b lts-with-plugins JENKINS-47416
              $ docker build -t jenkins:JENKINS-47416 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-47416
            {code}
            # Click "Manage Jenkins"
            # Clck the "Manage" button to the right of "You have data stored in an older format and/or unreadable data" (opens http://localhost:8080/administrativeMonitor/OldData/manage )

            One of the folder config.xml files is available in the [docker image|https://github.com/MarkEWaite/docker-lfs/blob/JENKINS-47416/ref/jobs/Git-Client-Folder/config.xml]
            markewaite Mark Waite made changes -
            Description When I installed cloudbees-folder-plugin 6.2.0, the views defined in several of my folders were deleted.

            An administrative monitor appeared warning about unreadable data. The message was:

            {noformat}
            ConversionException: Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null] :
            Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            ---- Debugging information ----
            message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
            cause-message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            class : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder required-type : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder
            converter-type : hudson.util.RobustReflectionConverter path
            : /com.cloudbees.hudson.plugins.folder.Folder/folderViews line number : 157 -------------------------------
            {noformat}

            To duplicate the problem:

            # Clone, build, and run the docker instance
            {code}
              $ git lfs clone https://github.com/MarkEWaite/docker-lfs JENKINS-47416
              $ cd JENKINS-47416
              $ git lfs fetch origin JENKINS-47416
              $ git checkout -b lts-with-plugins JENKINS-47416
              $ docker build -t jenkins:JENKINS-47416 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-47416
            {code}
            # Click "Manage Jenkins"
            # Clck the "Manage" button to the right of "You have data stored in an older format and/or unreadable data" (opens http://localhost:8080/administrativeMonitor/OldData/manage )

            One of the folder config.xml files is available in the [docker image|https://github.com/MarkEWaite/docker-lfs/blob/JENKINS-47416/ref/jobs/Git-Client-Folder/config.xml]
            When I installed cloudbees-folder-plugin 6.2.0, the views defined in several of my folders were deleted.

            An administrative monitor appeared warning about unreadable data. The message was:

            {noformat}
            ConversionException: Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null] :
            Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() :
            no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            ---- Debugging information ----
            message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
            cause-message : Could not call com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder.readResolve() : no parent set on com.cloudbees.hudson.plugins.folder.Folder[null]
            class : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder required-type : com.cloudbees.hudson.plugins.folder.views.DefaultFolderViewHolder
            converter-type : hudson.util.RobustReflectionConverter path
            : /com.cloudbees.hudson.plugins.folder.Folder/folderViews line number : 157 -------------------------------
            {noformat}

            To duplicate the problem:

            # Clone, build, and run the docker instance
            {code}
              $ git lfs clone https://github.com/MarkEWaite/docker-lfs JENKINS-47416
              $ cd JENKINS-47416
              $ git lfs fetch origin JENKINS-47416
              $ git checkout -b lts-with-plugins JENKINS-47416
              $ docker build -t jenkins:JENKINS-47416 .
              $ docker run -i --rm --publish 8080:8080 jenkins:JENKINS-47416
            {code}
            # Click "Manage Jenkins"
            # Clck the "Manage" button to the right of "You have data stored in an older format and/or unreadable data" (opens http://localhost:8080/administrativeMonitor/OldData/manage )

            One of the folder config.xml files is available in the [docker image|https://github.com/MarkEWaite/docker-lfs/blob/JENKINS-47416/ref/jobs/Git-Client-Folder/config.xml]

            Conversion exception is thrown even if I update the folder definition to 6.1.2 format before upgrading the cloudbees-folders plugin.
            markewaite Mark Waite made changes -
            Summary Views deleted in folders by upgrade from 6.1.2 to 6.2.0 Views deleted by upgrade from cloudbees-folders 6.1.2 to 6.2.0
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Labels regression
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-38606 [ JENKINS-38606 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "core PR 3088 (Web Link)" [ 17885 ]
            jglick Jesse Glick made changes -
            Component/s core [ 15593 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 114 (Web Link)" [ 17886 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 17888 ]
            jglick Jesse Glick made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            danielbeck Daniel Beck made changes -
            Labels regression lts-candidate regression
            olivergondza Oliver Gond┼ża made changes -
            Labels lts-candidate regression regression

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                markewaite Mark Waite
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: