[JIRA] (JENKINS-54372) NoStaplerConstructorException on jenkins.plugins.git.MergeWithGitSCMExtension

7 views
Skip to first unread message

gzlist@googlemail.com (JIRA)

unread,
Oct 31, 2018, 12:07:03 PM10/31/18
to jenkinsc...@googlegroups.com
Martin _ created an issue
 
Jenkins / Bug JENKINS-54372
NoStaplerConstructorException on jenkins.plugins.git.MergeWithGitSCMExtension
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-plugin
Created: 2018-10-31 16:06
Environment: Jenkins 2.138.2
Pipeline 2.6
Git 3.8.0/3.9.1 (both tested)
Git client plugin 2.7.3
Labels: regression pipeline
Priority: Minor Minor
Reporter: Martin _

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mark.earl.waite@gmail.com (JIRA)

unread,
Oct 31, 2018, 4:41:03 PM10/31/18
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Oct 31, 2018, 4:47:02 PM10/31/18
to jenkinsc...@googlegroups.com
Mark Waite commented on Bug JENKINS-54372
 
Re: NoStaplerConstructorException on jenkins.plugins.git.MergeWithGitSCMExtension

May be related to workflow cps plugin 2.59 or 2.60. Unclear if the correct fix is to add DataBoundConstructor's into classes in the git plugin or to make some change in the workflow cps plugin.

Sam Van Oort or Jesse Glick can you provide more guidance?

jglick@cloudbees.com (JIRA)

unread,
Nov 1, 2018, 4:18:01 PM11/1/18
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Duplicate
Change By: Jesse Glick
Status: Open Resolved
Resolution: Duplicate

mark.earl.waite@gmail.com (JIRA)

unread,
Oct 22, 2019, 9:33:50 PM10/22/19
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Duplicate
Change By: Mark Waite
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages