Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception when removing PI #2025

Closed
msevestre opened this issue Jun 2, 2023 · 0 comments
Closed

Unhandled Exception when removing PI #2025

msevestre opened this issue Jun 2, 2023 · 0 comments
Assignees

Comments

@msevestre
Copy link
Member

@Yuri05 commented on Tue May 23 2023

If you click on Continue: PK-Sim does not work properly anymore (Crashes wehn open any new project, etc.)

grafik

System.NullReferenceException: Object reference not set to an instance of an object.
   at OSPSuite.Utility.Extensions.EnumerableExtensions.Each[T](IEnumerable`1 list, Action`1 action)
   at OSPSuite.Core.Chart.CurveChart.RemoveCurvesForColumns(IEnumerable`1 dataColumns)
   at OSPSuite.Core.Chart.CurveChart.RemoveCurvesForDataRepository(DataRepository dataRepository)
   at OSPSuite.Presentation.Presenters.ParameterIdentifications.ParameterIdentificationResidualVsTimeChartPresenter.Clear()
   at OSPSuite.Presentation.Presenters.EditAnalyzablePresenter`4.<>c.<ReleaseFrom>b__13_0(ISimulationAnalysisPresenter x)
   at OSPSuite.Utility.Extensions.EnumerableExtensions.Each[T](IEnumerable`1 list, Action`1 action)
   at OSPSuite.Presentation.Presenters.EditAnalyzablePresenter`4.ReleaseFrom(IEventPublisher eventPublisher)
   at OSPSuite.Presentation.Core.ApplicationController.removePresenter(ISingleStartPresenter presenterToClose)
   at OSPSuite.Presentation.Core.ApplicationController.removePresenter(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at OSPSuite.Presentation.Presenters.SingleStartPresenter`2.OnFormClosed()
   at OSPSuite.Presentation.Presenters.SingleStartContainerPresenter`4.OnFormClosed()
   at OSPSuite.UI.Views.BaseMdiChildView.<.ctor>b__2_0(Object o, FormClosedEventArgs e)
   at System.Windows.Forms.FormClosedEventHandler.Invoke(Object sender, FormClosedEventArgs e)
   at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
   at System.Windows.Forms.Form.WmClose(Message& m)
   at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



@msevestre msevestre self-assigned this Jun 2, 2023
msevestre added a commit that referenced this issue Jun 2, 2023
msevestre added a commit that referenced this issue Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant