java.lang.NullPointerException

Jenkins JIRA | Pavel Janoušek | 1 year ago
  1. 0

    NPE occurred when username in Process cleaner on Jenkins configuration page isn't populated. Potentially affected method createProcessTreeFor() in these classes: - PsBasedHPUXProcessTree - PsBasedUnixProcessTree - PsBasedWinProcessTree Stack trace: {code}java.lang.NullPointerException at java.lang.ProcessBuilder.start(ProcessBuilder.java:1010) at org.jenkinsci.plugins.proccleaner.PsBasedUnixProcessTree.createProcessTreeFor(PsBasedUnixProcessTree.java:41) at org.jenkinsci.plugins.proccleaner.PsKiller.kill(PsKiller.java:49) at org.jenkinsci.plugins.proccleaner.PsCleaner.clean(PsCleaner.java:69) at org.jenkinsci.plugins.proccleaner.ProcCleaner$CleanRequest.call(ProcCleaner.java:122) at org.jenkinsci.plugins.proccleaner.ProcCleaner$CleanRequest.call(ProcCleaner.java:111) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at org.jenkinsci.plugins.proccleaner.ProcCleaner.performCleanup(ProcCleaner.java:100) at org.jenkinsci.plugins.proccleaner.PostBuildCleanup.perform(PostBuildCleanup.java:54) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1527) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) {code}

    Jenkins JIRA | 1 year ago | Pavel Janoušek
    java.lang.NullPointerException
  2. 0

    NPE occurred when username in Process cleaner on Jenkins configuration page isn't populated. Potentially affected method createProcessTreeFor() in these classes: - PsBasedHPUXProcessTree - PsBasedUnixProcessTree - PsBasedWinProcessTree Stack trace: {code}java.lang.NullPointerException at java.lang.ProcessBuilder.start(ProcessBuilder.java:1010) at org.jenkinsci.plugins.proccleaner.PsBasedUnixProcessTree.createProcessTreeFor(PsBasedUnixProcessTree.java:41) at org.jenkinsci.plugins.proccleaner.PsKiller.kill(PsKiller.java:49) at org.jenkinsci.plugins.proccleaner.PsCleaner.clean(PsCleaner.java:69) at org.jenkinsci.plugins.proccleaner.ProcCleaner$CleanRequest.call(ProcCleaner.java:122) at org.jenkinsci.plugins.proccleaner.ProcCleaner$CleanRequest.call(ProcCleaner.java:111) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at org.jenkinsci.plugins.proccleaner.ProcCleaner.performCleanup(ProcCleaner.java:100) at org.jenkinsci.plugins.proccleaner.PostBuildCleanup.perform(PostBuildCleanup.java:54) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1527) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) {code}

    Jenkins JIRA | 1 year ago | Pavel Janoušek
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ktest crashes!

    GitHub | 3 years ago | grosu
    java.lang.NullPointerException

  1. muffinmannen 3 times, last 8 months ago
18 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. java.lang.NullPointerException

    No message provided

    at java.lang.ProcessBuilder.start()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessBuilder.start(ProcessBuilder.java:1010)
    1 frame
  3. org.jenkinsci.plugins
    ProcCleaner$CleanRequest.call
    1. org.jenkinsci.plugins.proccleaner.PsBasedUnixProcessTree.createProcessTreeFor(PsBasedUnixProcessTree.java:41)
    2. org.jenkinsci.plugins.proccleaner.PsKiller.kill(PsKiller.java:49)
    3. org.jenkinsci.plugins.proccleaner.PsCleaner.clean(PsCleaner.java:69)
    4. org.jenkinsci.plugins.proccleaner.ProcCleaner$CleanRequest.call(ProcCleaner.java:122)
    5. org.jenkinsci.plugins.proccleaner.ProcCleaner$CleanRequest.call(ProcCleaner.java:111)
    5 frames
  4. Hudson :: Remoting Layer
    LocalChannel.call
    1. hudson.remoting.LocalChannel.call(LocalChannel.java:45)
    1 frame
  5. org.jenkinsci.plugins
    PostBuildCleanup.perform
    1. org.jenkinsci.plugins.proccleaner.ProcCleaner.performCleanup(ProcCleaner.java:100)
    2. org.jenkinsci.plugins.proccleaner.PostBuildCleanup.perform(PostBuildCleanup.java:54)
    2 frames
  6. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
    4. hudson.model.Build$BuildExecution.post2(Build.java:183)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
    6. hudson.model.Run.execute(Run.java:1527)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:236)
    9 frames