hudson.AbortException: Unable to install JDK unless a valid username/password is provided.

Jenkins JIRA | Thomas Neumeier | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    It seems Oracle is blocking access to older JDKs without login from the URL in the stacktrace. Possible solutions: - change url to http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html as it currently does not require login - provide username/password support for oracle accounts. - update the list to support auto install for JDK 7 u10 {code} Installing JDK jdk-7u9-oth-JPR Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz Your Oracle account doesn't appear valid. Please specify a valid username/password ERROR: Unable to install JDK unless a valid username/password is provided. Skipping Cobertura coverage report as build was not UNSTABLE or better ... Installing JDK jdk-7u9-oth-JPR Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz Your Oracle account doesn't appear valid. Please specify a valid username/password ERROR: Publisher hudson.tasks.Mailer aborted due to exception hudson.AbortException: Unable to install JDK unless a valid username/password is provided. at hudson.tools.JDKInstaller.locate(JDKInstaller.java:421) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:125) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203) at hudson.model.JDK.forNode(JDK.java:122) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:310) at hudson.model.Run.getEnvironment(Run.java:1967) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:930) at hudson.tasks.Mailer.perform(Mailer.java:112) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1543) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Finished: FAILURE {code}

    Jenkins JIRA | 4 years ago | Thomas Neumeier
    hudson.AbortException: Unable to install JDK unless a valid username/password is provided.
  2. 0

    It seems Oracle is blocking access to older JDKs without login from the URL in the stacktrace. Possible solutions: - change url to http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html as it currently does not require login - provide username/password support for oracle accounts. - update the list to support auto install for JDK 7 u10 {code} Installing JDK jdk-7u9-oth-JPR Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz Your Oracle account doesn't appear valid. Please specify a valid username/password ERROR: Unable to install JDK unless a valid username/password is provided. Skipping Cobertura coverage report as build was not UNSTABLE or better ... Installing JDK jdk-7u9-oth-JPR Downloading JDK from http://download.oracle.com/otn/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz Your Oracle account doesn't appear valid. Please specify a valid username/password ERROR: Publisher hudson.tasks.Mailer aborted due to exception hudson.AbortException: Unable to install JDK unless a valid username/password is provided. at hudson.tools.JDKInstaller.locate(JDKInstaller.java:421) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:125) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203) at hudson.model.JDK.forNode(JDK.java:122) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:310) at hudson.model.Run.getEnvironment(Run.java:1967) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:930) at hudson.tasks.Mailer.perform(Mailer.java:112) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1543) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Finished: FAILURE {code}

    Jenkins JIRA | 4 years ago | Thomas Neumeier
    hudson.AbortException: Unable to install JDK unless a valid username/password is provided.
  3. 0

    builds aborted due to time out in agent connection?

    GitHub | 2 years ago | adriaanm
    hudson.AbortException: no workspace for scala-2.11.x-validate-test #107
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Intermittent "Slave went offline during the build"

    GitHub | 2 years ago | retronym
    hudson.AbortException: no workspace for scala-2.11.x-integrate-ide #71
  6. 0

    Plugin always fails to merge even when there are no merge conflicts

    GitHub | 2 years ago | CVirus
    hudson.AbortException: No test report files were found. Configuration error?

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.AbortException

      Unable to install JDK unless a valid username/password is provided.

      at hudson.tools.JDKInstaller.locate()
    2. Hudson
      Executor.run
      1. hudson.tools.JDKInstaller.locate(JDKInstaller.java:421)
      2. hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:125)
      3. hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
      4. hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
      5. hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203)
      6. hudson.model.JDK.forNode(JDK.java:122)
      7. hudson.model.AbstractProject.getEnvironment(AbstractProject.java:310)
      8. hudson.model.Run.getEnvironment(Run.java:1967)
      9. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:930)
      10. hudson.tasks.Mailer.perform(Mailer.java:112)
      11. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      12. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
      13. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
      14. hudson.model.Build$BuildExecution.post2(Build.java:183)
      15. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
      16. hudson.model.Run.execute(Run.java:1543)
      17. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      18. hudson.model.ResourceController.execute(ResourceController.java:88)
      19. hudson.model.Executor.run(Executor.java:236)
      19 frames