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

Jenkins jobs build steps disappear after version upgrade to 2.46.1 due to the uninstalled Shared Objects plugin

    Details

    • Similar Issues:

      Description

      This morning, after I upgraded the version to 2.46.1 (latest), all my job build steps become empty in the web UI, but I can still see the job config.xml has those configuration.  I also see this error message pop up “You have data stored in an older format and/or unreadable data.) and all error messages contain this:

       

      ConversionException: org.jenkinsci.plugins.sharedobjects.SharedObjectJobProperty : org.jenkinsci.plugins.sharedobjects.SharedObjectJobProperty ---- Debugging information ---- message : org.jenkinsci.plugins.sharedobjects.SharedObjectJobProperty cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException cause-message : org.jenkinsci.plugins.sharedobjects.SharedObjectJobProperty class : [Lorg.jenkinsci.plugins.envinject.model.EnvInjectJobPropertyContributor; required-type : [Lorg.jenkinsci.plugins.envinject.model.EnvInjectJobPropertyContributor; converter-type : com.thoughtworks.xstream.converters.collections.ArrayConverter path : /project/properties/EnvInjectJobProperty/contributors/org.jenkinsci.plugins.sharedobjects.SharedObjectJobProperty line number : 31 -------------------------------, MissingFieldException: No field 'org.jenkinsci.plugins.sharedobjects.ToolInstallationJobProperty' found in class 'org.jenkinsci.plugins.envinject.EnvInjectJobProperty'

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Do you still have the SharedObjects plugin installed?

          Show
          oleg_nenashev Oleg Nenashev added a comment - Do you still have the SharedObjects plugin installed?
          Hide
          monkeylittle Monkey Little added a comment -

          It is strange, if I go to the plugin manage page, I can't seem to find this plugin (shared objects), but the binary is on the file system???

          Show
          monkeylittle Monkey Little added a comment - It is strange, if I go to the plugin manage page, I can't seem to find this plugin (shared objects), but the binary is on the file system???
          Hide
          monkeylittle Monkey Little added a comment -

          Hi Oleg,

           

          Thank you so much for quick response and you saved me !!!

          I just installed shared object plugin and it's now working!

          What remains strange is this plugin must be there before otherwise envinject plugin won't work, so why is this?  Maybe the new upgrade drop shared object plugin?  I'm not sure.

          Show
          monkeylittle Monkey Little added a comment - Hi Oleg,   Thank you so much for quick response and you saved me !!! I just installed shared object plugin and it's now working! What remains strange is this plugin must be there before otherwise envinject plugin won't work, so why is this?  Maybe the new upgrade drop shared object plugin?  I'm not sure.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          I am not sure what has happened as well. You may want to check the system logs for last operations with the instance. EnvInject plugin can work without SharedObjects well, but it produces extension points being used by the SharedObjects.

          XStream deserialization behavior is not perfect in this case, the data should just be skipped and then displayed in the Old Data Monitor

          Show
          oleg_nenashev Oleg Nenashev added a comment - I am not sure what has happened as well. You may want to check the system logs for last operations with the instance. EnvInject plugin can work without SharedObjects well, but it produces extension points being used by the SharedObjects. XStream deserialization behavior is not perfect in this case, the data should just be skipped and then displayed in the Old Data Monitor
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          No plan to work on the XStream follow-up anytime soon. The plugin is up for adoption. Pull requests will be appreciated, reviewed and integrated if possible.

          Show
          oleg_nenashev Oleg Nenashev added a comment - No plan to work on the XStream follow-up anytime soon. The plugin is up for adoption. Pull requests will be appreciated, reviewed and integrated if possible.

            People

            • Assignee:
              Unassigned
              Reporter:
              monkeylittle Monkey Little
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: