Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40151

JobFanIn plugin "FATAL: null java.lang.NullPointerException"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • job-fan-in-plugin
    • None
    • Build
      Jenkins: Jenkins ver. 2.10
      Java Version: "1.7.0_09-icedtea"
      OS : Windows7
      apache-tomcat-7.0.61
      job-fan-in-plugin 1.1.2

      Hi Team,

      I am facing FATAL: null java.lang.NullPointerException error during build.

      I have a configuration of jobfenin plugin where I want to make sure all mapped job in fanin plugin execute first. I have 10 jobs which has to build first and all the job are getting built successfully but jobfanin plugin is not working as expected. I am getting below error in one of the job.

      FATAL: null
      java.lang.NullPointerException
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.isNotBuildingAndStable(FanInReverseBuildTrigger.java:229)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.thisAndUpstreamAreNotBuildingAndStable(FanInReverseBuildTrigger.java:204)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.thisAndUpstreamAreNotBuildingAndStable(FanInReverseBuildTrigger.java:210)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.thisAndUpstreamAreNotBuildingAndStable(FanInReverseBuildTrigger.java:210)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.thisAndUpstreamAreNotBuildingAndStable(FanInReverseBuildTrigger.java:210)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.thisAndUpstreamAreNotBuildingAndStable(FanInReverseBuildTrigger.java:210)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.thisAndUpstreamAreNotBuildingAndStable(FanInReverseBuildTrigger.java:210)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.thisAndUpstreamAreNotBuildingAndStable(FanInReverseBuildTrigger.java:210)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.thisAndUpstreamAreNotBuildingAndStable(FanInReverseBuildTrigger.java:210)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.thisAndUpstreamAreNotBuildingAndStable(FanInReverseBuildTrigger.java:210)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.thisAndUpstreamAreNotBuildingAndStable(FanInReverseBuildTrigger.java:210)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.thisAndUpstreamAreNotBuildingAndStable(FanInReverseBuildTrigger.java:210)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.allUpsteamIsBuild(FanInReverseBuildTrigger.java:186)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger.access$300(FanInReverseBuildTrigger.java:62)
      at org.lonkar.jobfanin.FanInReverseBuildTrigger$1.shouldTriggerBuild(FanInReverseBuildTrigger.java:249)
      at hudson.tasks.BuildTrigger.execute(BuildTrigger.java:246)
      at hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:681)
      at hudson.model.Build$BuildExecution.cleanUp(Build.java:200)
      at hudson.model.Run.execute(Run.java:1767)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)

      Which might be restricting the job to trigger.

      Please help resolve this issue

            lonkaryogeshr Yogesh Lonkar
            rajendra_rawat17 rajendra rawat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: