Open-Systems-Pharmacology / PK-Sim

PK-Sim® is a comprehensive software tool for whole-body physiologically based pharmacokinetic modeling
Other
103 stars 50 forks source link

V12: Error when calling popup menu for >2 simulations #2792

Closed Yuri05 closed 1 year ago

Yuri05 commented 1 year ago

If I select >2 simulations and perform right click in order to get the popup menu: the error below appears grafik

Application:
PK-Sim® 12.0.0

Object reference not set to an instance of an object.

Stack trace:

at OSPSuite.UI.Mappers.MenuBarSubMenuToBarSubItemMapper.MapFrom(BarManager barManager, IMenuBarSubMenu menuBarSubMenu)
   at OSPSuite.UI.Mappers.MenuBarItemToBarItemMapper.MapFrom(BarManager barManager, IMenuBarItem menuBarItem)
   at OSPSuite.UI.Views.ContextMenuView.Display(IView view, Point location)
   at OSPSuite.Presentation.Presenters.ContextMenus.ContextMenu.Show(IView parentView, Point popupLocation)
   at PKSim.Presentation.Presenters.Main.ExplorerPresenter`2.ShowContextMenu(IReadOnlyList`1 treeNodes, Point popupLocation) in C:\SW-Dev\PK-Sim\branches\11.0\src\PKSim.Presentation\Presenters\Main\ExplorerPresenter.cs:line 94
   at OSPSuite.Presentation.Extensions.PresenterWithContextMenuExpression`1.<>c__DisplayClass3_0.<At>b__0()
   at OSPSuite.Utility.Extensions.ExceptionExtensions.DoWithinExceptionHandler(Object callerObject, Action actionToExecute)