Index: Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs =================================================================== diff -u -r19d976fb7e64bc4c23ca6a601eb47d876b1fecff -r2be62a16f4a6d90a76ebb53967a7b7ea3a445cd1 --- Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs (.../WaveHeightCalculationService.cs) (revision 19d976fb7e64bc4c23ca6a601eb47d876b1fecff) +++ Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs (.../WaveHeightCalculationService.cs) (revision 2be62a16f4a6d90a76ebb53967a7b7ea3a445cd1) @@ -189,9 +189,17 @@ return; } - GeneralResult generalResult = waveHeightCalculation.CalculateIllustrationPoints - ? GetGeneralResult(calculator.IllustrationPointsResult) - : null; + GeneralResult generalResult = null; + try + { + generalResult = waveHeightCalculation.CalculateIllustrationPoints + ? GetGeneralResult(calculator.IllustrationPointsResult) + : null; + } + catch (ArgumentException e) + { + log.Error(string.Format(Resources.SetGeneralResult_Error_while_converting_generalresult, waveHeightCalculation.Name) + " " + e.Message); + } HydraulicBoundaryLocationOutput hydraulicBoundaryLocationOutput = CreateHydraulicBoundaryLocationOutput( messageProvider, waveHeightCalculation.Name, calculationInput.Beta, norm, calculator.Converged, generalResult);