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

Downloading bundle when none is selected fails with a NoSuchElementException

    • 1283.v9ddb_0284a_00c

      In the Support page, when hitting "Download Bundle" without selecting any, the request fails with an exception:

      2021-11-18 15:41:47.664+0000 [id=300070]	WARNING	o.e.j.s.h.ContextHandler$Context#log: Error while serving https://jenkins.example.com/support/downloadBundles
      java.util.NoSuchElementException
      	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1471)
      	at java.util.HashMap$KeyIterator.next(HashMap.java:1493)
      	at com.cloudbees.jenkins.support.SupportAction.doDownloadBundles(SupportAction.java:198)
              [...]
      

          [JENKINS-67175] Downloading bundle when none is selected fails with a NoSuchElementException

          Julie Heard added a comment - Culprit is https://github.com/jenkinsci/support-core-plugin/blob/665d89fa360793c17c321e9554d7f957e87acb06/src/main/java/com/cloudbees/jenkins/support/SupportAction.java#L214

            jglick Jesse Glick
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: