You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Object reference not set to an instance of an object.
Stack trace:
at OSPSuite.Core.Domain.SimulationQuantitySelection.Clone()
at OSPSuite.Core.Domain.OutputMapping.Clone()
at OSPSuite.Core.Domain.OutputMappings.<>c.<UpdatePropertiesFrom>b__1_0(OutputMapping x)
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at OSPSuite.Core.Domain.OutputMappings.UpdatePropertiesFrom(IUpdatable source, ICloneManager cloneManager)
at PKSim.Core.Model.Simulation.UpdatePropertiesFrom(IUpdatable sourceObject, ICloneManager cloneManager)
at OSPSuite.Core.Domain.Services.CloneManagerStrategy.Clone[T](T objectToClone)
at PKSim.Core.Services.Cloner.createClone[T](T objectToClone, ICloneManager cloneManager)
at PKSim.Core.Services.Cloner.CloneForModel[T](T objectToClone)
at PKSim.Presentation.Presenters.Simulations.ConfigureSimulationPresenterBase`1.createSimulationToConfigureBasedOn()
at PKSim.Presentation.Presenters.Simulations.ConfigureSimulationPresenterBase`1.configureSimulation(Simulation simulation, ISubPresenterItem subPresenterItem, Action actionToPerformBeforeDisplayingView)
at PKSim.Presentation.Presenters.Simulations.ConfigureSimulationPresenterBase`1.ConfigureSimulation(Simulation simulation)
at PKSim.Presentation.Services.ConfigureSimulationTask.<>c__DisplayClass8_0.<Configure>b__0(IConfigureSimulationPresenter x)
at PKSim.Presentation.Services.ConfigureSimulationTask.configure(Simulation simulationToConfigure, Func`2 configureAction)
at PKSim.Presentation.Services.ConfigureSimulationTask.Configure(Simulation simulationToConfigure)
at PKSim.Presentation.UICommands.ConfigureSimulationCommand.PerformExecute()
at OSPSuite.Presentation.UICommands.ObjectUICommand`1.Execute()
at OSPSuite.Presentation.UICommands.UICommandExtensions.ExecuteWithinExceptionHandler(IUICommand uiCommand, IEventPublisher eventPublisher, IChangePropagator changePropagator)
I had to remove the simulation and create a new one.
The text was updated successfully, but these errors were encountered:
This happened because an output mapping between an output and observation is created for a simulation in PK-Sim, then the output is removed from the simulation outputs.
I'll fix the issue for the future, but if it happens again you can open the simulation and remove/recreate the mappings, or add the output to the simulation, then remove the mapping, then remove the output again.
Application:
PK-Sim® 11.3.208
Object reference not set to an instance of an object.
Stack trace:
I had to remove the simulation and create a new one.
The text was updated successfully, but these errors were encountered: