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

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

    Details

    • Similar Issues:

      Description

      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)

      ....

        Attachments

          Activity

          Hide
          red888 red der added a comment -

          Im sorry this is not part of the actual plugin- it is a community plugin.

          Show
          red888 red der added a comment - Im sorry this is not part of the actual plugin- it is a community plugin.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: