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

Check Updates PeriodicWork dies horribly in the case of invalid signature

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • jenkins-2.2

      Runtime exceptions should be handled at least

      Stacktrace:

      May 12, 2016 12:24:18 AM hudson.init.impl.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler uncaughtException
      SEVERE: A thread (Download metadata thread/57) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      	at java.util.ArrayList.rangeCheck(ArrayList.java:653)
      	at java.util.ArrayList.get(ArrayList.java:429)
      	at jenkins.util.JSONSignatureValidator.verifySignature(JSONSignatureValidator.java:85)
      	at hudson.model.UpdateSite.verifySignature(UpdateSite.java:224)
      	at hudson.model.UpdateSite.updateData(UpdateSite.java:203)
      	at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:175)
      	at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1408)
      	at jenkins.model.DownloadSettings$DailyCheck.execute(DownloadSettings.java:121)
      	at hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:99)
      	at java.lang.Thread.run(Thread.java:745)
      

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: