We had something similar. Jenkins 2.7.3. After some experimentation, I 
found that adding the empty tag:

<buildWrappers/>

right before the executionStrategy tag at the end of the config.xml, like 
this:

.
.
.
  <buildWrappers/>
  <executionStrategy 
class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
    <runSequentially>false</runSequentially>
  </executionStrategy>
</matrix-project>

and then reloading configuration from disk fixed the problem. The matrix 
job now loaded.

On Friday, August 19, 2016 at 9:21:44 AM UTC-7, Gavin Williams wrote:

> Afternoon all
>
> I've just upgraded one of our Jenkins hosts from 1.6 to 2.18, and 
> unfortunately it appears to have broken some of our Multi-configuration 
> projects. 
>
> Upon restarting Jenkins, the following is logged:
>
>> SEVERE: Failed Loading job Microservice_Matrix_Unit
>> java.lang.NullPointerException
>>         at 
>> hudson.matrix.MatrixProject.createTransientActions(MatrixProject.java:450)
>>         at 
>> hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:756)
>>         at 
>> hudson.matrix.MatrixProject.updateTransientActions(MatrixProject.java:460)
>>         at hudson.model.AbstractProject.onLoad(AbstractProject.java:340)
>>         at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:501)
>>         at hudson.model.Items.load(Items.java:333)
>>         at jenkins.model.Jenkins$17.run(Jenkins.java:2942)
>>         at 
>> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
>>         at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
>>         at jenkins.model.Jenkins$7.runTask(Jenkins.java:1026)
>>         at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
>>         at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
>>         at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>         at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>         at java.lang.Thread.run(Thread.java:745)
>
>
> I've not found anything of any use whilst googling... 
>
> Any ideas on how I can fix the jobs?
>
> Regards
> Gavin  
>

-- 
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/f28b97cc-f322-4272-b14a-e4db6e8646ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to