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

Unclear error message when a release is unavailable

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • adoptopenjdk-plugin
    • None
    • Jenkins 2.190.1
      AdoptOpenJDK installer Plugin 1.2
    • 1.4

      After upgrading Jenkins, the selected JDK is no longer being installed.
      I have tried jdk-11.0.4+11.4, jdk-11.0.4+11.4_openj9-0.15.1 and jdk-11.0.4+11.2.

      java.io.IOException: Unable to locate binary. ID: jdk-11.0.4+11.4_openj9-0.15.1, Platform: LINUX, CPU: amd64
      	at io.jenkins.plugins.adoptopenjdk.AdoptOpenJDKInstaller.performInstallation(AdoptOpenJDKInstaller.java:116)
      	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:69)
      	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109)
      	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
      	at hudson.model.JDK.forNode(JDK.java:147)
      	at hudson.model.JDK.forNode(JDK.java:60)
      	at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:152)
      	at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:133)
      	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Finished: FAILURE
      

      The previous tool appears to have been removed. $JENKINS_HOME/node/tools/hudson.model.JDK/JDK_11 is an empty directory.

            mmchr Mads Mohr Christensen
            jameshowe James Howe
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: