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

Java failed to install though it was set to auto-install from tools

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • tool-labels-plugin
    • None

      steps to reproduce:

      jenkins slave/node & master are of same host.

      configure java to install automatically selected version 8u221

      run the job

       

      error in console:
      Installing JDK jdk-8u221-oth-JPR
      Downloading JDK from
      https://download.oracle.com/otn/java/jdk/8u221-b11/230deb18db3e4014bb8e3e8324f81b43/jdk-8u221-windows-x64.exe
      ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (
      https://jenkins.io/redirect/report-an-issue
      ).
      java.lang.IllegalStateException: Unable to find a form in the response:

      <html xmlns="
      http://www.w3.org/1999/xhtml
      " xml:lang="en" lang="en" dir="ltr">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <title>Single Sign-On</title>
      <link rel='stylesheet' href='/oam/pages/css/login_page.css'/>
      <link rel="stylesheet" type="text/css" href="/oam/pages/css/general.css" >

      <!-- Start Disable frame hijacking Script-->

      <!-- End Disable frame hijacking Script-->

      <style>
      body
      {
      background:url('/oam/pages/images/loginpage_bg.png');
      background-repeat:repeat-x;
      background-color:#185E87;
      }
      </style>
      </head>
      <body>
      <div Style="position:absolute; visibility:show; left:0px; top:0px;z-index:1">
      <img src="/oam/pages/images/login_logo.png" />
      </div>
      <div Style="position:relative; visibility:show; left:0px; top:0px;z-index:1">
      <div id="top">
      <div id="login-header">
      </div>
      <div id="content">
      <div id="login">
      <div id="title">Error</div>
      <div class="message-row">
      <p class="loginFailed">System error. Please re-try your action. If you continue to get this error, please contact the Administrator.</p>
      </div>
      </div>
      </div>
      </div>
      </div>
      <div class="login-footer-version">
      <div class="info">

      <p id="copyright">Copyright © 1996,2015, Oracle and/or its affiliates. All rights reserved.</p>
      <p id="trademark">Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.</p>
      </div>
      </div>
      </body>
      </html>

      at hudson.tools.JDKInstaller.locate(JDKInstaller.java:524)
      at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:150)
      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:148)
      at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:341)
      at hudson.model.Run.getEnvironment(Run.java:2383)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:864)
      at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:57)
      at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:168)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:634)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      at hudson.model.Run.execute(Run.java:1853)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:427)
      project=hudson.maven.MavenModuleSet@3e14707c[Exchange_Validations]
      project.getModules()=[hudson.maven.MavenModule@6d3be7e3[Exchange_Validations/exchange:ExchangeValidations][Exchange_Validations/exchange:ExchangeValidations][relativePath:C:\Users\lakancha\Documents\ExchangeValidations]]
      project.getRootModule()=hudson.maven.MavenModule@6d3be7e3[Exchange_Validations/exchange:ExchangeValidations][Exchange_Validations/exchange:ExchangeValidations][relativePath:C:\Users\lakancha\Documents\ExchangeValidations]
      FATAL: Unable to find a form in the response:

      <html xmlns="
      http://www.w3.org/1999/xhtml
      " xml:lang="en" lang="en" dir="ltr">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <title>Single Sign-On</title>
      <link rel='stylesheet' href='/oam/pages/css/login_page.css'/>
      <link rel="stylesheet" type="text/css" href="/oam/pages/css/general.css" >

      <!-- Start Disable frame hijacking Script-->

      <!-- End Disable frame hijacking Script-->

      <style>
      body
      {
      background:url('/oam/pages/images/loginpage_bg.png');
      background-repeat:repeat-x;
      background-color:#185E87;
      }
      </style>
      </head>
      <body>
      <div Style="position:absolute; visibility:show; left:0px; top:0px;z-index:1">
      <img src="/oam/pages/images/login_logo.png" />
      </div>
      <div Style="position:relative; visibility:show; left:0px; top:0px;z-index:1">
      <div id="top">
      <div id="login-header">
      </div>
      <div id="content">
      <div id="login">
      <div id="title">Error</div>
      <div class="message-row">
      <p class="loginFailed">System error. Please re-try your action. If you continue to get this error, please contact the Administrator.</p>
      </div>
      </div>
      </div>
      </div>
      </div>
      <div class="login-footer-version">
      <div class="info">

      <p id="copyright">Copyright © 1996,2015, Oracle and/or its affiliates. All rights reserved.</p>
      <p id="trademark">Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.</p>
      </div>
      </div>
      </body>
      </html>

      java.lang.IllegalStateException: Unable to find a form in the response:

      <html xmlns="
      http://www.w3.org/1999/xhtml
      " xml:lang="en" lang="en" dir="ltr">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <title>Single Sign-On</title>
      <link rel='stylesheet' href='/oam/pages/css/login_page.css'/>
      <link rel="stylesheet" type="text/css" href="/oam/pages/css/general.css" >

      <!-- Start Disable frame hijacking Script-->

      <!-- End Disable frame hijacking Script-->

      <style>
      body
      {
      background:url('/oam/pages/images/loginpage_bg.png');
      background-repeat:repeat-x;
      background-color:#185E87;
      }
      </style>
      </head>
      <body>
      <div Style="position:absolute; visibility:show; left:0px; top:0px;z-index:1">
      <img src="/oam/pages/images/login_logo.png" />
      </div>
      <div Style="position:relative; visibility:show; left:0px; top:0px;z-index:1">
      <div id="top">
      <div id="login-header">
      </div>
      <div id="content">
      <div id="login">
      <div id="title">Error</div>
      <div class="message-row">
      <p class="loginFailed">System error. Please re-try your action. If you continue to get this error, please contact the Administrator.</p>
      </div>
      </div>
      </div>
      </div>
      </div>
      <div class="login-footer-version">
      <div class="info">

      <p id="copyright">Copyright © 1996,2015, Oracle and/or its affiliates. All rights reserved.</p>
      <p id="trademark">Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.</p>
      </div>
      </div>
      </body>
      </html>

      at hudson.tools.JDKInstaller.locate(JDKInstaller.java:524)
      at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:150)
      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:148)
      at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:341)
      at hudson.model.Run.getEnvironment(Run.java:2383)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:864)
      at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:57)
      at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:168)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:634)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      at hudson.model.Run.execute(Run.java:1853)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:427)
      Finished: FAILURE

            kazssym Kaz Nishimura
            kprasadbio L V Prasad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: