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

Cant use bitbucket-scm-filter-aged-refs plugin

XMLWordPrintable

      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)

      ....

            Unassigned Unassigned
            red888 red der
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: