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

Git Plugin can't serialize configuration

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • git-plugin
    • None
    • Git plugin: 0.9.1
      Hudson: 1.363

    Description

      Whenever attempting to save a configuration with a Git SCM, the saving step dies.

      Appears to be:

      java.lang.RuntimeException: Failed to serialize hudson.plugins.git.util.GerritBuildChooser#logger for class hudson.plugins.git.util.GerritBuildChooser
      hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:164)
      hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)

      (full log attached)

      May be related to JENKINS-6595 or JENKINS-6807

      Attachments

        1. gitlog.txt
          86 kB
        2. git.hpi
          2.61 MB

        Activity

          abayer Andrew Bayer added a comment -

          Hrm - I'm not seeing this in my install, but I'm not using GerritBuildChooser. I think I see the problem, though...

          abayer Andrew Bayer added a comment - Hrm - I'm not seeing this in my install, but I'm not using GerritBuildChooser. I think I see the problem, though...
          abayer Andrew Bayer added a comment -

          There are two different problems here - first is that logger variable in GerritBuildChooser, which wasn't declared properly and was utterly and completely superfluous anyway. So that's nuked. Second, the logic for the build chooser selector in the configuration screen of new projects was defaulting to Gerrit rather than, well, Default. So that's fixed too.

          abayer Andrew Bayer added a comment - There are two different problems here - first is that logger variable in GerritBuildChooser, which wasn't declared properly and was utterly and completely superfluous anyway. So that's nuked. Second, the logic for the build chooser selector in the configuration screen of new projects was defaulting to Gerrit rather than, well, Default. So that's fixed too.
          abayer Andrew Bayer added a comment -

          Fixed in 0.9.2.

          abayer Andrew Bayer added a comment - Fixed in 0.9.2.

          People

            abayer Andrew Bayer
            Lewisham Lewisham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: