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

Git Plugin can't serialize configuration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      Git plugin: 0.9.1
      Hudson: 1.363
    • Similar Issues:

      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. git.hpi
          2.61 MB
          Andrew Bayer
        2. gitlog.txt
          86 kB
          Lewisham

          Activity

          Hide
          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...

          Show
          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...
          Hide
          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.

          Show
          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.
          Hide
          abayer Andrew Bayer added a comment -

          Fixed in 0.9.2.

          Show
          abayer Andrew Bayer added a comment - Fixed in 0.9.2.

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              lewisham Lewisham
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: