Index: Ringtoets/Piping/src/Ringtoets.Piping.Service/PipingInputService.cs =================================================================== diff -u -r091761507d94a388b18fefebd38a5d106b9b89c4 -r64bd67e9f323c7d0b692ace8a30254deefaeec43 --- Ringtoets/Piping/src/Ringtoets.Piping.Service/PipingInputService.cs (.../PipingInputService.cs) (revision 091761507d94a388b18fefebd38a5d106b9b89c4) +++ Ringtoets/Piping/src/Ringtoets.Piping.Service/PipingInputService.cs (.../PipingInputService.cs) (revision 64bd67e9f323c7d0b692ace8a30254deefaeec43) @@ -68,6 +68,10 @@ pipingInput.StochasticSoilProfile = pipingInput.StochasticSoilModel.StochasticSoilProfiles.First(); return; } + if (pipingInput.StochasticSoilProfile == null || pipingInput.StochasticSoilModel.StochasticSoilProfiles.Contains(pipingInput.StochasticSoilProfile)) + { + return; + } } pipingInput.StochasticSoilProfile = null; } Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingCalculationsViewTest.cs =================================================================== diff -u -r820cebfd76a4993992451b6cdd5697f2510acfc9 -r64bd67e9f323c7d0b692ace8a30254deefaeec43 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingCalculationsViewTest.cs (.../PipingCalculationsViewTest.cs) (revision 820cebfd76a4993992451b6cdd5697f2510acfc9) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/Views/PipingCalculationsViewTest.cs (.../PipingCalculationsViewTest.cs) (revision 64bd67e9f323c7d0b692ace8a30254deefaeec43) @@ -934,7 +934,6 @@ { SurfaceLine = surfaceLine1, StochasticSoilModel = stochasticSoilModelA, - StochasticSoilProfile = stochasticSoilProfile1, HydraulicBoundaryLocation = hydraulicBoundaryLocation1, DampingFactorExit = {