java.lang.NullPointerException

Jenkins JIRA | Oliver Gondža | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [JIRA] (JENKINS-38505) NPE in PsBasedUnixProcessTree.createProcessTreeFor

    Google Groups | 6 months ago | ogo...@gmail.com (JIRA)
    java.lang.NullPointerException
  2. 0

    NPE thrown in 1.2 on https://github.com/jenkinsci/proc-cleaner-plugin/blob/a707177556af5dc391508593fa5b41a00e7021af/src/main/java/org/jenkinsci/plugins/proccleaner/PsBasedUnixProcessTree.java#L64 {noformat} java.lang.NullPointerException at org.jenkinsci.plugins.proccleaner.PsBasedUnixProcessTree.createProcessTreeFor(PsBasedUnixProcessTree.java:64) at org.jenkinsci.plugins.proccleaner.PsKiller.kill(PsKiller.java:51) at org.jenkinsci.plugins.proccleaner.PsCleaner.clean(PsCleaner.java:69) at org.jenkinsci.plugins.proccleaner.ProcCleaner$CleanRequest.call(ProcCleaner.java:127) at org.jenkinsci.plugins.proccleaner.ProcCleaner$CleanRequest.call(ProcCleaner.java:116) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at ......remote call to ci-osp-rhel7-7427(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1413) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:778) at org.jenkinsci.plugins.proccleaner.ProcCleaner.performCleanup(ProcCleaner.java:105) at org.jenkinsci.plugins.proccleaner.PreBuildCleanup.preCheckout(PreBuildCleanup.java:54) at jenkins.scm.SCMCheckoutStrategy.preCheckout(SCMCheckoutStrategy.java:76) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:530) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) {noformat} The problems seems to be it expects STDOUT even in case it failed.

    Jenkins JIRA | 6 months ago | Oliver Gondža
    java.lang.NullPointerException
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    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 org.jenkinsci.plugins.proccleaner.PsBasedUnixProcessTree.createProcessTreeFor()
    2. org.jenkinsci.plugins
      ProcCleaner$CleanRequest.call
      1. org.jenkinsci.plugins.proccleaner.PsBasedUnixProcessTree.createProcessTreeFor(PsBasedUnixProcessTree.java:64)
      2. org.jenkinsci.plugins.proccleaner.PsKiller.kill(PsKiller.java:51)
      3. org.jenkinsci.plugins.proccleaner.PsCleaner.clean(PsCleaner.java:69)
      4. org.jenkinsci.plugins.proccleaner.ProcCleaner$CleanRequest.call(ProcCleaner.java:127)
      5. org.jenkinsci.plugins.proccleaner.ProcCleaner$CleanRequest.call(ProcCleaner.java:116)
      5 frames
    3. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:121)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:49)
      3. hudson.remoting.Request$2.run(Request.java:326)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      4 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames