Using Jenkins 1.626


I have configured 19 projects with a reverse build trigger "Build after other 
projects are built".

After building the upstream project, these 19 projects (minus those disabled) 
should be triggered as well.

I have rechecked the configuration for every downstream projects. They look 
fine. I have even re-saved all those projects.

My projects are all multi-configuration jobs.


Still I am getting a NullPointerException for one of the downstream projects:


Warning: you have no plugins providing access control for builds, so falling 
back to legacy behavior of permitting any downstream builds to be triggered
Triggering a new build of project2
project3 is disabled. Triggering skipped
project4 is disabled. Triggering skipped
Triggering a new build of project5
Triggering a new build of project6
Triggering a new build of project7
Triggering a new build of project8
FATAL: null
java.lang.NullPointerException
 <http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException> 
       at 
jenkins.triggers.ReverseBuildTrigger.shouldTrigger(ReverseBuildTrigger.java:111)
 
<http://stacktrace.jenkins-ci.org/search/?query=jenkins.triggers.ReverseBuildTrigger.shouldTrigger&entity=method>
        at 
jenkins.triggers.ReverseBuildTrigger.access$000(ReverseBuildTrigger.java:84) 
<http://stacktrace.jenkins-ci.org/search/?query=jenkins.triggers.ReverseBuildTrigger.access$000&entity=method>
        at 
jenkins.triggers.ReverseBuildTrigger$1.shouldTriggerBuild(ReverseBuildTrigger.java:141)
 
<http://stacktrace.jenkins-ci.org/search/?query=jenkins.triggers.ReverseBuildTrigger$1.shouldTriggerBuild&entity=method>
        at hudson.tasks.BuildTrigger.execute(BuildTrigger.java:245) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildTrigger.execute&entity=method>
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:687)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp&entity=method>
        at hudson.model.Run.execute(Run.java:1788) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method>
        at hudson.matrix.MatrixBuild.run(MatrixBuild.java:301) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.matrix.MatrixBuild.run&entity=method>
        at hudson.model.ResourceController.execute(ResourceController.java:98) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>
        at hudson.model.Executor.run(Executor.java:381) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>
Finished: SUCCESS


It is impossible to find out which project it has a problem with, among the 
total 19 downstream projects.


There are many reported bugs on this matter, most Closed and resolved:

https://issues.jenkins-ci.org/browse/JENKINS-23191

https://issues.jenkins-ci.org/browse/JENKINS-25758

https://issues.jenkins-ci.org/browse/JENKINS-23686



The configuration for alle downstream projects look the same

    <jenkins.triggers.ReverseBuildTrigger>
      <spec></spec>
      <upstreamProjects>project1</upstreamProjects>
      <threshold>
        <name>SUCCESS</name>
        <ordinal>0</ordinal>
        <color>BLUE</color>
        <completeBuild>true</completeBuild>
      </threshold>
    </jenkins.triggers.ReverseBuildTrigger>


I have even tried restarting Jenkins, but that didn't work.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ba33093f-fc8a-47ca-a02b-40f7f687ac5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to