I have a standard set of sequential tasks surrounded with a parallel task 
like this:

<parallel>
<tasks>
<sequential>
<description>Build Linux</description>
<tasks>
...
</tasks>
</sequential>
 <sequential>
<description>Build Windows</description>
<tasks>
...
</tasks>
</sequential>
</tasks>
</parallel>

Under 1.6.7981.1 this worked with any problems.  Under 1.8.0.0, I get this 
exception that brings down the cruisecontrol service:


Error Message:System.NullReferenceException: Object reference not set to an 
instance of an object. at 
ThoughtWorks.CruiseControl.Core.Tasks.ParallelTask.GetStatusInformation(RunningSubTaskDetails
 
Details) at 
ThoughtWorks.CruiseControl.Core.Tasks.TaskContainerBase.SubTaskStartupInformationUpdated(String
 
information, Object UserObject) at 
ThoughtWorks.CruiseControl.Core.Util.BuildProgressInformation.DoStartupInformationUpdated(String
 
information) at 
ThoughtWorks.CruiseControl.Core.Util.BuildProgressInformation.SignalStartRunTask(String
 
information) at 
ThoughtWorks.CruiseControl.Core.Tasks.SequentialTask.Execute(IIntegrationResult 
result) at 
ThoughtWorks.CruiseControl.Core.Tasks.TaskBase.Run(IIntegrationResult 
result) at 
ThoughtWorks.CruiseControl.Core.Tasks.TaskContainerBase.RunTask(ITask task, 
IIntegrationResult result, RunningSubTaskDetails taskDetails) at 
ThoughtWorks.CruiseControl.Core.Tasks.ParallelTask.<>c__DisplayClass2.<Execute>b__0(Object
 
state)

Looking at the source code could it be that tasksDetails in ParallelTask 
has not been created yet and is therefore null?



Reply via email to