java.lang.NullPointerException

Jenkins JIRA | Patrick Renaud | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Copy of http://issues.hudson-ci.org/browse/HUDSON-8673. The Git plugin v1.1.4 dumps an NPE when running on a linux slave v1.395. Note that it works when running on master. Had to rollback to 1.388. Started by user anonymous Building remotely on aab-suse-vm1 Checkout:test / /data/scm/hudson/workspace/test - hudson.remoting.Channel@e62a39:aab-suse-vm1 Using strategy: Default Last Built Revision: Revision 69b63216de95988ad4d363e65701b7172936992d (origin/dev) Checkout:test / /data/scm/hudson/workspace/test - hudson.remoting.LocalChannel@5d625d62 GitAPI created Fetching changes from the remote Git repository Fetching upstream changes from ssh://git.lmc.ericsson.se:29418/aab.git [test] $ /pub/scm/tools/git/git-1.7.3/bin/git fetch -t ssh://git.lmc.ericsson.se:29418/aab.git +refs/heads/:refs/remotes/origin/ [test] $ /pub/scm/tools/git/git-1.7.3/bin/git ls-tree HEAD [test] $ /pub/scm/tools/git/git-1.7.3/bin/git tag -l dev [test] $ /pub/scm/tools/git/git-1.7.3/bin/git rev-parse origin/dev FATAL: null java.lang.NullPointerException at hudson.plugins.git.GitAPI.revParse(GitAPI.java:182) at hudson.plugins.git.util.DefaultBuildChooser.getCandidateRevisions(DefaultBuildChooser.java:75) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:843) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:740) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1931) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:432) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:810)

    Jenkins JIRA | 6 years ago | Patrick Renaud
    java.lang.NullPointerException
  2. 0

    Copy of http://issues.hudson-ci.org/browse/HUDSON-8673. The Git plugin v1.1.4 dumps an NPE when running on a linux slave v1.395. Note that it works when running on master. Had to rollback to 1.388. Started by user anonymous Building remotely on aab-suse-vm1 Checkout:test / /data/scm/hudson/workspace/test - hudson.remoting.Channel@e62a39:aab-suse-vm1 Using strategy: Default Last Built Revision: Revision 69b63216de95988ad4d363e65701b7172936992d (origin/dev) Checkout:test / /data/scm/hudson/workspace/test - hudson.remoting.LocalChannel@5d625d62 GitAPI created Fetching changes from the remote Git repository Fetching upstream changes from ssh://git.lmc.ericsson.se:29418/aab.git [test] $ /pub/scm/tools/git/git-1.7.3/bin/git fetch -t ssh://git.lmc.ericsson.se:29418/aab.git +refs/heads/:refs/remotes/origin/ [test] $ /pub/scm/tools/git/git-1.7.3/bin/git ls-tree HEAD [test] $ /pub/scm/tools/git/git-1.7.3/bin/git tag -l dev [test] $ /pub/scm/tools/git/git-1.7.3/bin/git rev-parse origin/dev FATAL: null java.lang.NullPointerException at hudson.plugins.git.GitAPI.revParse(GitAPI.java:182) at hudson.plugins.git.util.DefaultBuildChooser.getCandidateRevisions(DefaultBuildChooser.java:75) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:843) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:740) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1931) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:432) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:810)

    Jenkins JIRA | 6 years ago | Patrick Renaud
    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 | 3 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 hudson.plugins.git.GitAPI.revParse()
    2. Hudson GIT plugin
      GitSCM$2.invoke
      1. hudson.plugins.git.GitAPI.revParse(GitAPI.java:182)
      2. hudson.plugins.git.util.DefaultBuildChooser.getCandidateRevisions(DefaultBuildChooser.java:75)
      3. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:843)
      4. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:740)
      4 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:1931)
      1 frame
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:114)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:270)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:432)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      6. java.lang.Thread.run(Thread.java:810)
      6 frames