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

Bitbucket Notifier has a deprecated dependency preventing the addition of new repos

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Bitbucket Build Status Notifier Plugin v1.4.2
      Jenkins Multiple SCMs plugin v0.6

      `Bitbucket Notifier` has a dependency on the `[Jenkins Multiple SCMs|https://plugins.jenkins.io/multiple-scms/]` which currently deprecated and has not been updated for ~4 years.  

       

      When scanning repos to add a new repo, we get a stack trace:
      java.lang.NullPointerException: Descriptor list is null for context 'class hudson.model.Hudson' in thread 'Handling GET /configure from 174.65.113.32 : Jetty (winstone)-223488 Jenkins/configure.jelly GlobalLibraries/config.jelly LibraryConfiguration/config.jelly SCMRetriever/DescriptorImpl/config.jelly MultiSCM/DescriptorImpl/config.jelly'
      at hudson.model.DescriptorVisibilityFilter.apply(DescriptorVisibilityFilter.java:73)
      at hudson.Functions.filterDescriptors(Functions.java:2045)
      at sun.reflect.GeneratedMethodAccessor836.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
      at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
      at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
      at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
      at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
      at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
      at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)
       

      This is very similar to this issue:

      https://issues.jenkins-ci.org/browse/JENKINS-52837

      which was resolved by moving away from the Jenkins Multiple SCM plugin.

          [JENKINS-62882] Bitbucket Notifier has a deprecated dependency preventing the addition of new repos

          Jeremy Myslinski created issue -

          Borja Serrano added a comment -

          here any update on this flagbit? I know this is an open source project and I cannot ask for anything, but it seems a quiet important one, and the dependency has been deprecated for a long while. 

          Borja Serrano added a comment - here any update on this flagbit ? I know this is an open source project and I cannot ask for anything, but it seems a quiet important one, and the dependency has been deprecated for a long while. 
          Borja Serrano made changes -
          Attachment New: image-2022-03-24-12-59-18-057.png [ 57535 ]
          Borja Serrano made changes -
          Attachment New: image-2022-03-24-13-00-07-075.png [ 57536 ]
          Borja Serrano made changes -
          Attachment New: image-2022-03-24-13-00-39-021.png [ 57537 ]

          Borja Serrano added a comment -

          flagbit I see in Github that the code does not depend on the deprecated plugin anymore, nevertheless in Jenkins it still says the dependency exists and I cannot uninstall the deprecated plugin from the UI:

           

          Borja Serrano added a comment - flagbit  I see in Github that the code does not depend on the deprecated plugin anymore, nevertheless in Jenkins it still says the dependency exists and I cannot uninstall the deprecated plugin from the UI:  

          Karsten Koop added a comment -

          I see in Github that the code does not depend on the deprecated plugin anymore

          It seems it is fixed in master since 19 Oct 2021, but since then there has been no release (current release 1.4.2 is from 6 Mar 2020). So just creating a new release from current master would probably fix this.

          Karsten Koop added a comment - I see in Github that the code does not depend on the deprecated plugin anymore It seems it is fixed in master since 19 Oct 2021, but since then there has been no release (current release 1.4.2 is from 6 Mar 2020). So just creating a new release from current master would probably fix this.

          Thomas Tardy added a comment -

          Hi flagbit

          CC: renescheibe

          Anybody able to create a new release?

          Thomas Tardy added a comment - Hi flagbit CC: renescheibe Anybody able to create a new release?
          Kalle Niemitalo made changes -
          Link New: This issue is duplicated by JENKINS-70451 [ JENKINS-70451 ]
          Meyer made changes -
          Attachment New: image-2023-02-28-16-26-31-079.png [ 60029 ]

            flagbit Antonio Mansilla
            jmizzle Jeremy Myslinski
            Votes:
            12 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: