After updating to PK-Sim version 11.2, I received the following error when opening results from an previous model made in previous version of PK-SIM:
Application:
PK-Sim® 11.2.142
Value cannot be null.
Parameter name: source
Stack trace:
at System.Linq.OrderedEnumerable`2..ctor(IEnumerable`1 source, Func`2 keySelector, IComparer`1 comparer, Boolean descending)
at System.Linq.Enumerable.OrderBy[TSource,TKey](IEnumerable`1 source, Func`2 keySelector)
at PKSim.Core.Mappers.ProtocolToSchemaItemsMapper.MapFrom(Protocol protocol)
at PKSim.Presentation.Presenters.Simulations.GlobalPKAnalysisPresenter.<CanCalculateGlobalPK>b__33_0(Compound compound)
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at PKSim.Presentation.Presenters.Simulations.GlobalPKAnalysisPresenter.CanCalculateGlobalPK()
at PKSim.Presentation.Presenters.Simulations.PopulationPKAnalysisPresenter.CalculatePKAnalyses(IPopulationDataCollector populationDataCollector, ChartData`2 timeProfileChartData, PopulationStatisticalAnalysis populationAnalysis)
at PKSim.Presentation.Presenters.Charts.EditTimeProfileAnalysisChartPresenter.calculatePKAnalysis()
at PKSim.Presentation.Presenters.Charts.EditTimeProfileAnalysisChartPresenter.showAnalysis()
at PKSim.Presentation.Presenters.Charts.EditTimeProfileAnalysisChartPresenter.setViewMode(Boolean shouldShowAnalysis)
at PKSim.Presentation.Presenters.Charts.EditTimeProfileAnalysisChartPresenter.SwitchPKAnalysisPlot()
at PKSim.UI.Views.Charts.BasePKAnalysisWithChartView.switchPKAnalysis()
at OSPSuite.UI.Controls.BaseUserControl.<>c__DisplayClass23_0.<OnEvent>b__0()
at OSPSuite.Utility.Extensions.ExceptionExtensions.DoWithinExceptionHandler(Object callerObject, Action actionToExecute)
After updating to PK-Sim version 11.2, I received the following error when opening results from an previous model made in previous version of PK-SIM:
Application: PK-Sim® 11.2.142
Value cannot be null. Parameter name: source
Stack trace: