-
Bug
-
Resolution: Not A Defect
-
Blocker
-
Jenkins 2.128
Bitbucket Aged References SCM Filter0.1.0
Bitbucket Branch Source 2.2.11
When adding theĀ Aged refs filter to a job config and saving I get this error:
org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.scm_filter.BitbucketAgedRefsTrait
at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:265)
at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:764)
at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83)
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:678)
Caused: java.lang.IllegalArgumentException: Failed to instantiate class jenkins.scm.api.trait.SCMSourceTrait from {"retentionDays":"60","stapler-class":"org.jenkinsci.plugins.scm_filter.BitbucketAgedRefsTrait","$class":"org.jenkinsci.plugins.scm_filter.BitbucketAgedRefsTrait"}
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:680)
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:727)
at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:478)
at org.kohsuke.stapler.RequestImpl.injectSetters(RequestImpl.java:833)
at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:783)
at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83)
....