Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsFailureMechanismResultView.cs =================================================================== diff -u -r2aa1338225863d1875dc48cf37e49b9be3561465 -r1b10713698cbe378c5e0be2b73ddb14e514fcdd7 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsFailureMechanismResultView.cs (.../GrassCoverErosionInwardsFailureMechanismResultView.cs) (revision 2aa1338225863d1875dc48cf37e49b9be3561465) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsFailureMechanismResultView.cs (.../GrassCoverErosionInwardsFailureMechanismResultView.cs) (revision 1b10713698cbe378c5e0be2b73ddb14e514fcdd7) @@ -38,8 +38,8 @@ /// public class GrassCoverErosionInwardsFailureMechanismResultView : FailureMechanismResultView { - private readonly IAssessmentSection assessmentSection; private const int assessmentLayerTwoAIndex = 2; + private readonly IAssessmentSection assessmentSection; private readonly RecursiveObserver calculationInputObserver; private readonly RecursiveObserver calculationOutputObserver; private readonly RecursiveObserver calculationGroupObserver; @@ -107,7 +107,13 @@ protected override object CreateFailureMechanismSectionResultRow(GrassCoverErosionInwardsFailureMechanismSectionResult sectionResult) { - return new GrassCoverErosionInwardsFailureMechanismSectionResultRow(sectionResult); + if (FailureMechanism == null) + { + return null; + } + + return new GrassCoverErosionInwardsFailureMechanismSectionResultRow(sectionResult, (GrassCoverErosionInwardsFailureMechanism) FailureMechanism, + assessmentSection); } protected override void AddDataGridColumns()