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

NoClassDefFoundErrors after updating

    Details

    • Similar Issues:
    • Released As:
      1.11

      Description

      After updating to latest Jenkins and artifact-manager-s3, I see an unreadable message for pretty much every single build on the manage old data page:

      NoClassDefFoundError: com/google/common/base/Supplier, ConversionException: Could not call io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager.readResolve() : Missing provider field : Could not call io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager.readResolve() : Missing provider field ---- Debugging information ---- message : Could not call io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager.readResolve() : Missing provider field cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException cause-message : Could not call io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager.readResolve() : Missing provider field class : io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager required-type : io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager converter-type : hudson.util.RobustReflectionConverter path : /flow-build/artifactManager line number : 792 -------------------------------

      Additionally, attempting to validate the s3 bucket configuration on the settings page gets me a "NoClassDefFoundError:com/google/common/collect/Sets"

       

      This is obviously breaking the ability to fetch artifacts from old builds, and new builds are dumping their artifacts right on the local file system rather than going to S3.

        Attachments

          Issue Links

            Activity

            Hide
            baf Robert Ferris added a comment -

            Also, downgrading to 1.9 makes the problem go away.

            Show
            baf Robert Ferris added a comment - Also, downgrading to 1.9 makes the problem go away.
            Hide
            mwos Michał Woś added a comment -

            +1

            Also reloading configuration-as-code dies because of the same problem. And yes, downgrading to 1.9 does the job.

            Show
            mwos Michał Woś added a comment - +1 Also reloading configuration-as-code dies because of the same problem. And yes, downgrading to 1.9 does the job.
            Hide
            spenser309 Spenser Gilliland added a comment -

            +1 looks like this in the configuration screen after you click validate bucket 

             

            Show
            spenser309 Spenser Gilliland added a comment - +1 looks like this in the configuration screen after you click validate bucket   
            Hide
            timja Tim Jacomb added a comment -
            Show
            timja Tim Jacomb added a comment - cc Jesse Glick
            Hide
            jglick Jesse Glick added a comment -

            git bisect confirms that https://github.com/jenkinsci/artifact-manager-s3-plugin/pull/122 caused the plugin to no longer bundle a special version of Guava.

            Show
            jglick Jesse Glick added a comment - git bisect confirms that https://github.com/jenkinsci/artifact-manager-s3-plugin/pull/122 caused the plugin to no longer bundle a special version of Guava.
            Hide
            jglick Jesse Glick added a comment -

            Without JENKINS-41827 it is hard to have automated tests catch this sort of thing, unfortunately.

            Show
            jglick Jesse Glick added a comment - Without JENKINS-41827 it is hard to have automated tests catch this sort of thing, unfortunately.
            Hide
            jglick Jesse Glick added a comment -

            Sorry for the disruption!

            Show
            jglick Jesse Glick added a comment - Sorry for the disruption!

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                baf Robert Ferris
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: