sbt and allure tool downloads fail because tool installation list is empty on updates.jenkins.io

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: allure-plugin, sbt-plugin
    • None
    • Environment:

      The sbt downloader reports an index out of bounds exception to the Jenkins log when trying to prepare the list of available sbt installers. The log entry looks like this:

      2026-01-14 13:59:42.549+0000 [id=64]    WARNING jenkins.DailyCheck#execute: Unable to update downloadable [org.jvnet.hudson.plugins.SbtPluginBuilder.SbtInstaller]
      java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
              at hudson.tools.DownloadFromUrlInstaller$DescriptorImpl.isDefaultSchema(DownloadFromUrlInstaller.java:162)
              at hudson.tools.DownloadFromUrlInstaller$DescriptorImpl$1.reduce(DownloadFromUrlInstaller.java:140)
              at hudson.model.DownloadService$Downloadable.updateNow(DownloadService.java:413)
              at jenkins.DailyCheck.execute(DailyCheck.java:84)
              at hudson.model.AsyncPeriodicWork.lambda$doRun$0(AsyncPeriodicWork.java:110)
              at java.base/java.lang.Thread.run(Thread.java:1583)
      

      The tool installer metadata (linked from updates.jenkins.io) shows that the sbt installer JSON file contains only an empty list.

      Needs changes or a fix in the crawler that reads the list of available sbt installers.

      This seems to be a recent change, since the issue was first detected in tests run from a plugin bill of materials pull request

      The allure download has the same problem. The tool installer metadata is incorrect. Those are the two installers that are using XmlPage parsing to generate their data from repo1.maven.org.

            Assignee:
            Mark Waite
            Reporter:
            Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: