java.lang.NullPointerException

Jenkins JIRA | eguess74 | 5 years ago
  1. 0

    We are trying to migrate from master only to master/slave architecture. We have Linux based master and two Linux slaves so far. Some of the builds are failing on slave with the NPE below. When simply rerun on the master - they work fine. Not all the projects are failing that are built on the slave. Most are working fine. I see no differences repository state wise between the ones that failed and ones that built successfully on the same slave node. This exception doesn't get logged into the log file, there is no information about the failed build as well other than the job log. the jobs are set to build qa and master branches, before that we merge onto origin/master to check if the qa branch changes are fast-forwardable (no conflicts) thus the "Merging revision [SHA-1] onto ...". But in the error below it tries to merge onto null. jenkins 1.436, git plugin 1.11 we will try to update plugin and see if the problem persists Exception: Seen branch in repository origin/HEAD Seen branch in repository origin/master Seen branch in repository origin/qa Commencing build of Revision 16b1541a246e350453da70d469c592c2fe2406ce (origin/qa) Merging Revision 16b1541a246e350453da70d469c592c2fe2406ce (origin/qa) onto null FATAL: null java.lang.NullPointerException at hudson.plugins.git.GitAPI.revParse(GitAPI.java:243) at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:1075) at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:1058) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Jenkins JIRA | 5 years ago | eguess74
    java.lang.NullPointerException
  2. 0

    We are trying to migrate from master only to master/slave architecture. We have Linux based master and two Linux slaves so far. Some of the builds are failing on slave with the NPE below. When simply rerun on the master - they work fine. Not all the projects are failing that are built on the slave. Most are working fine. I see no differences repository state wise between the ones that failed and ones that built successfully on the same slave node. This exception doesn't get logged into the log file, there is no information about the failed build as well other than the job log. the jobs are set to build qa and master branches, before that we merge onto origin/master to check if the qa branch changes are fast-forwardable (no conflicts) thus the "Merging revision [SHA-1] onto ...". But in the error below it tries to merge onto null. jenkins 1.436, git plugin 1.11 we will try to update plugin and see if the problem persists Exception: Seen branch in repository origin/HEAD Seen branch in repository origin/master Seen branch in repository origin/qa Commencing build of Revision 16b1541a246e350453da70d469c592c2fe2406ce (origin/qa) Merging Revision 16b1541a246e350453da70d469c592c2fe2406ce (origin/qa) onto null FATAL: null java.lang.NullPointerException at hudson.plugins.git.GitAPI.revParse(GitAPI.java:243) at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:1075) at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:1058) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Jenkins JIRA | 5 years ago | eguess74
    java.lang.NullPointerException
  3. 0

    Git plugin NPE while merging "onto null"

    Google Groups | 5 years ago | sti
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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

    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$3.invoke
      1. hudson.plugins.git.GitAPI.revParse(GitAPI.java:243)
      2. hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:1075)
      3. hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:1058)
      3 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022)
      1 frame
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:287)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:662)
      6 frames