Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsContext.cs =================================================================== diff -u -r3c832ffce74b527eb1d588aa722840f0a80330b7 -rc2b77b22666a09fdc2348440c76cd37325aeba7d --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsContext.cs (.../MacroStabilityInwardsContext.cs) (revision 3c832ffce74b527eb1d588aa722840f0a80330b7) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PresentationObjects/MacroStabilityInwardsContext.cs (.../MacroStabilityInwardsContext.cs) (revision c2b77b22666a09fdc2348440c76cd37325aeba7d) @@ -99,14 +99,17 @@ { throw new ArgumentNullException(nameof(surfaceLines)); } + if (stochasticSoilModels == null) { throw new ArgumentNullException(nameof(stochasticSoilModels)); } + if (macroStabilityInwardsFailureMechanism == null) { throw new ArgumentNullException(nameof(macroStabilityInwardsFailureMechanism)); } + if (assessmentSection == null) { throw new ArgumentNullException(nameof(assessmentSection));