Found similar issue. Jenkins 2.7.3. By experimentation, I found that I 
could get project(s) to load by adding

<buildWrappers/>

immediately before

<executionStrategy class="Hudson.matrix.DefaultMatrixExecutionStrategyImpl">

in config.xml

On Tuesday, August 23, 2016 at 8:22:58 AM UTC-7, Gavin Williams wrote:

> Ah, actually, apologies, I got this issue mixed up with another one I'm 
> currently having... 
>
> Yes, there is an error in the logs for the Multi-Configuration project. 
>
> Aug 23, 2016 3:59:58 PM jenkins.InitReactorRunner$1 onTaskFailed
>> 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:755)
>>         at 
>> hudson.matrix.MatrixProject.updateTransientActions(MatrixProject.java:460)
>>         at hudson.model.AbstractProject.onLoad(AbstractProject.java:339)
>>         at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:501)
>>         at hudson.model.Items.load(Items.java:333)
>>         at jenkins.model.Jenkins$17.run(Jenkins.java:2823)
>>         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:998)
>>         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:1142)
>>         at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>         at java.lang.Thread.run(Thread.java:745)
>
>
> I've just ditched the Project config unfortunately though, so let me see 
> if I can re-create... 
>
> Cheers
> Gavin  
>
> On Tuesday, 23 August 2016 16:20:36 UTC+1, Gavin Williams wrote:
>>
>> Daniel
>>
>> An example config.xml is here: 
>> https://gist.github.com/fatmcgav/19660174fed68f9df6c70797f079bc72
>>
>> Nothing obvious in the logs, and some complaints about 'Unreadable Data'. 
>> A couple of lines corresponding to this project:
>>
>>> hudson.model.FreeStyleProject Unit_4 NoSuchMethodError: 
>>> org.jruby.RubyClass.getVariableAccessorForWrite(Ljava/lang/String;)Lorg/jruby/RubyClass$VariableAccessor;,
>>>  
>>> InstantiationError: null, MissingFieldException: No field 'pluginid' found 
>>> in class 'hudson.model.FreeStyleProject'
>>> hudson.model.FreeStyleProject Unit_4 NoSuchMethodError: 
>>> org.jruby.RubyClass.getVariableAccessorForWrite(Ljava/lang/String;)Lorg/jruby/RubyClass$VariableAccessor;,
>>>  
>>> InstantiationError: null, MissingFieldException: No field 'pluginid' found 
>>> in class 'hudson.model.FreeStyleProject'
>>
>>
>> From a plugins POV, I'm using:
>> * RVM
>> * Build Name Setter
>> * EnvInjector
>> * Git
>>
>> Plus a few others that probably aren't relevant.. 
>>
>> Cheers
>> Gavin 
>>
>> On Tuesday, 23 August 2016 16:03:38 UTC+1, Daniel Beck wrote:
>>>
>>> Please provide the config.xml of the affected job. It seems to be 
>>> invalid. 
>>>
>>> Maybe a plugin is failing to load. Anything in the logs, or on /manage? 
>>>
>>> > On 23.08.2016, at 15:37, Gavin Williams <[email protected]> wrote: 
>>> > 
>>> > The latest occurrence on a fresh install with latest of everything is: 
>>> > * Jenkins: 2.7.2 
>>> > * Matrix Project plugin: 1.7.1 
>>> > 
>>> > Cheers 
>>> > Gavin 
>>> > 
>>> > On Tuesday, 23 August 2016 13:01:05 UTC+1, Daniel Beck wrote: 
>>> > What versions of Jenkins and the Matrix Project plugin is this? 
>>> > 
>>> > > On 23.08.2016, at 13:54, Gavin Williams <[email protected]> wrote: 
>>> > > 
>>> > > Just to confirm, I hit exactly the same error on a fresh Jenkins 2 
>>> installation... 
>>> > > 
>>> > > Anyone hit anything similar? 
>>> > > 
>>> > > Cheers 
>>> > > Gavin 
>>> > > 
>>> > > On Friday, 19 August 2016 17:21:44 UTC+1, 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/28dbe048-73e8-43e2-b9fe-7b98e0bf2703%40googlegroups.com.
>>>  
>>>
>>> > > For more options, visit https://groups.google.com/d/optout. 
>>> > 
>>> > 
>>> > -- 
>>> > 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/5b833923-593d-4817-8f1b-85ad187f6722%40googlegroups.com.
>>>  
>>>
>>> > For more options, visit https://groups.google.com/d/optout. 
>>>
>>>

-- 
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/84ecdcc6-6ac7-476e-84c8-e3dcdd7fdd7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to