java.lang.NullPointerException

Jenkins JIRA | Patrick Renaud | 6 years ago
  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

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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