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

Slave#createLauncher relies on autoboxing and can thrown NPE

    Details

    • Similar Issues:

      Description

      in hudson.model.Slave#createLauncher
      hudson.Launcher.RemoteLauncher#RemoteLauncher(TaskListener,VirtualChannel,boolean) is invoked using Computer.isUnix() as argument, which return a Boolean. Autoboxing let us do such thing, but can result in NPE.

        Attachments

          Issue Links

            Activity

            ndeloof Nicolas De Loof created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Labels newbie-friendly
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "PR #2923 (Web Link)" [ 17152 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels newbie-friendly lts-candidate newbie-friendly
            olivergondza Oliver Gond┼ża made changes -
            Labels lts-candidate newbie-friendly 2.60.3-fixed newbie-friendly
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-23305 [ JENKINS-23305 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-47455 [ JENKINS-47455 ]
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2328 (Web Link)" [ 18342 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-23305 [ JENKINS-23305 ]

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                ndeloof Nicolas De Loof
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: