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

No JDK named ‘null’ found in Jenkins 1.635

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • core
    • Jenkins 1.635

    Description

      Theory: This problem was introduced in Jenkins 1.635, as a result of the fix for JENKINS-755.

      I observe numerous No JDK named ‘null’ found messages in the job log for many jobs. The message looks like it is generated during the post-build steps.

      Attachments

        Issue Links

          Activity

            djviking Sverre Moe added a comment -

            I have the same problem with a Multi-configuration project where there is no option of selecting a JDK. Its output is right after starting builders and publishers from a template project (which are also a Multi-configuration project).

            [TemplateProject] Starting builders from: template-project
            No JDK named ‘null’ found
            [TemplateProject] Starting publishers from: template-project-publishers
            No JDK named ‘null’ found

            djviking Sverre Moe added a comment - I have the same problem with a Multi-configuration project where there is no option of selecting a JDK. Its output is right after starting builders and publishers from a template project (which are also a Multi-configuration project). [TemplateProject] Starting builders from: template-project No JDK named ‘null’ found [TemplateProject] Starting publishers from: template-project-publishers No JDK named ‘null’ found
            wilfredh Wilfred Hughes added a comment - Opened https://github.com/jenkinsci/jenkins/pull/1896

            Code changed in jenkins
            User: Wilfred Hughes
            Path:
            core/src/main/java/hudson/model/JDK.java
            core/src/test/java/jenkins/model/JDKNameTest.java
            http://jenkins-ci.org/commit/jenkins/707d4ba135ec9e3e6a681f1acb4e243e2b5aa9b6
            Log:
            JENKINS-31217 Treat null as a default JDK name.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Wilfred Hughes Path: core/src/main/java/hudson/model/JDK.java core/src/test/java/jenkins/model/JDKNameTest.java http://jenkins-ci.org/commit/jenkins/707d4ba135ec9e3e6a681f1acb4e243e2b5aa9b6 Log: JENKINS-31217 Treat null as a default JDK name.

            Code changed in jenkins
            User: Daniel Beck
            Path:
            core/src/main/java/hudson/model/JDK.java
            core/src/test/java/jenkins/model/JDKNameTest.java
            http://jenkins-ci.org/commit/jenkins/a2d9b797ec269e92a01a111887bef93e023a5f24
            Log:
            Merge pull request #1896 from Wilfred/jenkins-31217

            JENKINS-31217 Treat null as a default JDK name.

            Compare: https://github.com/jenkinsci/jenkins/compare/505fde00125c...a2d9b797ec26

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/model/JDK.java core/src/test/java/jenkins/model/JDKNameTest.java http://jenkins-ci.org/commit/jenkins/a2d9b797ec269e92a01a111887bef93e023a5f24 Log: Merge pull request #1896 from Wilfred/jenkins-31217 JENKINS-31217 Treat null as a default JDK name. Compare: https://github.com/jenkinsci/jenkins/compare/505fde00125c...a2d9b797ec26
            danielbeck Daniel Beck added a comment -

            Fixed towards 1.637.

            danielbeck Daniel Beck added a comment - Fixed towards 1.637.

            People

              wilfredh Wilfred Hughes
              mwebber Matthew Webber
              Votes:
              11 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: