Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs =================================================================== diff -u -rd499bba7f0abdb8481bfe1ffc619414116a13121 -rb2306061789f5e34a6f0994552b4431d01d220f0 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs (.../HeightStructuresPlugin.cs) (revision d499bba7f0abdb8481bfe1ffc619414116a13121) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs (.../HeightStructuresPlugin.cs) (revision b2306061789f5e34a6f0994552b4431d01d220f0) @@ -182,7 +182,7 @@ { foreach (var calculation in heightStructuresCalculations) { - HeightStructuresCalculationService.Validate(calculation, assessmentSection); + new HeightStructuresCalculationService().Validate(calculation, assessmentSection); } } @@ -465,7 +465,7 @@ return builder.AddValidateCalculationItem( context, - c => HeightStructuresCalculationService.Validate(c.WrappedData, c.AssessmentSection), + c => new HeightStructuresCalculationService().Validate(c.WrappedData, c.AssessmentSection), ValidateAllDataAvailableAndGetErrorMessageForCalculation) .AddPerformCalculationItem(calculation, context, Calculate, ValidateAllDataAvailableAndGetErrorMessageForCalculation) .AddClearCalculationOutputItem(calculation)