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

NoStaplerConstructorException on jenkins.plugins.git.MergeWithGitSCMExtension

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • git-plugin
    • Jenkins 2.138.2
      Pipeline 2.6
      Git 3.8.0/3.9.1 (both tested)
      Git client plugin 2.7.3

      After updating Jenkins plugins to latest today, Jenkins master is periodically logging a warning when running pipelines involving git checkout:

      Oct 31, 2018 3:40:40 PM org.jenkinsci.plugins.workflow.cps.DSL invokeStep
      WARNING: Error storing the arguments for step: checkout
      org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class jenkins.plugins.git.MergeWithGitSCMExtension
        at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames (ClassDescriptor.java:265)
        at org.jenkinsci.plugins.structs.describable.DescribableModel.<init> (DescribableModel.java:144)
        at org.jenkinsci.plugins.structs.describable.DescribableModel.of (DescribableModel.java:114)
        at org.jenkinsci.plugins.workflow.cps.actions.ArgumentsActionImpl.sanitizeObjectAndRecordMutation (ArgumentsActionImpl.java:294)
        at org.jenkinsci.plugins.workflow.cps.actions.ArgumentsActionImpl.sanitizeListAndRecordMutation (ArgumentsActionImpl.java:242)
        at org.jenkinsci.plugins.workflow.cps.actions.ArgumentsActionImpl.sanitizeObjectAndRecordMutation (ArgumentsActionImpl.java:313)
        at org.jenkinsci.plugins.workflow.cps.actions.ArgumentsActionImpl.sanitizeMapAndRecordMutation (ArgumentsActionImpl.java:386)
        at org.jenkinsci.plugins.workflow.cps.actions.ArgumentsActionImpl.sanitizeObjectAndRecordMutation (ArgumentsActionImpl.java:311)
        at org.jenkinsci.plugins.workflow.cps.actions.ArgumentsActionImpl.sanitizeMapAndRecordMutation (ArgumentsActionImpl.java:386)
        at org.jenkinsci.plugins.workflow.cps.actions.ArgumentsActionImpl.<init> (ArgumentsActionImpl.java:74)
        at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep (DSL.java:245)
        at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod (DSL.java:178)
        at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod (CpsScript.java:122)
      ...
      

      See also issue https://issues.jenkins-ci.org/browse/JENKINS-34070 which is similar but for a different class.

            Unassigned Unassigned
            gz Martin _
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: