java.lang.NullPointerException

Jenkins JIRA | Flat Zoli | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    A build manually triggered with the gerrit-trigger plugin failed with the following output: Manually triggered by user anonymous for Gerrit: http://localhost:8010/1 Checkout:workspace / /var/lib/jenkins/jobs/Playground-gerrit/workspace - hudson.remoting.LocalChannel@bd5d765 Using strategy: Gerrit Trigger Checkout:workspace / /var/lib/jenkins/jobs/Playground-gerrit/workspace - hudson.remoting.LocalChannel@bd5d765 Fetching changes from the remote Git repository Fetching upstream changes from ssh://xxxx@ubisrv1:29418/playground.git Commencing build of Revision 636920c6a48c59f5cdf1dee1d3346ecc1dde4821 (null) Checking out Revision 636920c6a48c59f5cdf1dee1d3346ecc1dde4821 (null) FATAL: null java.lang.NullPointerException at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser.getFirstParent(GerritTriggerBuildChooser.java:108) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser.prevBuildForChangelog(GerritTriggerBuildChooser.java:79) at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1210) at hudson.plugins.git.GitSCM.access$700(GitSCM.java:57) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1175) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1120) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1120) at hudson.model.AbstractProject.checkout(AbstractProject.java:1182) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:537) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:425) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:146)

    Jenkins JIRA | 6 years ago | Flat Zoli
    java.lang.NullPointerException
  2. 0

    A build manually triggered with the gerrit-trigger plugin failed with the following output: Manually triggered by user anonymous for Gerrit: http://localhost:8010/1 Checkout:workspace / /var/lib/jenkins/jobs/Playground-gerrit/workspace - hudson.remoting.LocalChannel@bd5d765 Using strategy: Gerrit Trigger Checkout:workspace / /var/lib/jenkins/jobs/Playground-gerrit/workspace - hudson.remoting.LocalChannel@bd5d765 Fetching changes from the remote Git repository Fetching upstream changes from ssh://xxxx@ubisrv1:29418/playground.git Commencing build of Revision 636920c6a48c59f5cdf1dee1d3346ecc1dde4821 (null) Checking out Revision 636920c6a48c59f5cdf1dee1d3346ecc1dde4821 (null) FATAL: null java.lang.NullPointerException at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser.getFirstParent(GerritTriggerBuildChooser.java:108) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser.prevBuildForChangelog(GerritTriggerBuildChooser.java:79) at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1210) at hudson.plugins.git.GitSCM.access$700(GitSCM.java:57) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1175) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1120) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1120) at hudson.model.AbstractProject.checkout(AbstractProject.java:1182) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:537) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:425) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:146)

    Jenkins JIRA | 6 years ago | Flat Zoli
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser.getFirstParent()
    2. com.sonyericsson.hudson
      GerritTriggerBuildChooser.prevBuildForChangelog
      1. com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser.getFirstParent(GerritTriggerBuildChooser.java:108)
      2. com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser.prevBuildForChangelog(GerritTriggerBuildChooser.java:79)
      2 frames
    3. Hudson GIT plugin
      GitSCM$4.invoke
      1. hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1210)
      2. hudson.plugins.git.GitSCM.access$700(GitSCM.java:57)
      3. hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1175)
      4. hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1120)
      4 frames
    4. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:758)
      2. hudson.FilePath.act(FilePath.java:740)
      2 frames
    5. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1120)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1182)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:537)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:425)
      4. hudson.model.Run.run(Run.java:1376)
      5. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      6. hudson.model.ResourceController.execute(ResourceController.java:88)
      7. hudson.model.Executor.run(Executor.java:146)
      7 frames