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 editing Table Formula with X Argument #1756

Open
Yuri05 opened this issue Jan 13, 2025 · 0 comments
Open

Unhandled exception when editing Table Formula with X Argument #1756

Yuri05 opened this issue Jan 13, 2025 · 0 comments

Comments

@Yuri05
Copy link
Member

Yuri05 commented Jan 13, 2025

The OK button in the table object/Xarg object selection window can be clicked even if no object was selected.

Then the exception comes.

Application:
MoBi® 12.0.0

Object reference not set to an instance of an object.

Stack trace:

at OSPSuite.Core.Domain.ObjectPathFactory.addPathEntry(IEntity entity, ObjectPath objectPath)
   at OSPSuite.Core.Domain.ObjectPathFactory.CreateAbsoluteObjectPath(IEntity entity)
   at MoBi.Presentation.Presenter.SelectReferencePresenterBase.CreatePathFor(IEntity selection) in C:\SW-Dev\MoBi\branches\11.0\src\MoBi.Presentation\Presenter\SelectReferencePresenterBase.cs:line 190
   at MoBi.Presentation.Presenter.SelectReferencePresenterBase.GetSelection() in C:\SW-Dev\MoBi\branches\11.0\src\MoBi.Presentation\Presenter\SelectReferencePresenterBase.cs:line 185
   at MoBi.Presentation.Presenter.SelectFormulaUsablePathPresenter.getSelectedPath() in C:\SW-Dev\MoBi\branches\11.0\src\MoBi.Presentation\Presenter\SelectFormulaUsablePathPresenter.cs:line 51
   at MoBi.Presentation.Presenter.SelectFormulaUsablePathPresenter.GetSelection() in C:\SW-Dev\MoBi\branches\11.0\src\MoBi.Presentation\Presenter\SelectFormulaUsablePathPresenter.cs:line 45
   at MoBi.Presentation.Presenter.EditTableFormulaWithXArgumentFormulaPresenter.selectFormulaUsablePath(Func`2 predicate, String caption) in C:\SW-Dev\MoBi\branches\11.0\src\MoBi.Presentation\Presenter\EditTableFormulaWithXArgumentFormulaPresenter.cs:line 95
   at MoBi.Presentation.Presenter.EditTableFormulaWithXArgumentFormulaPresenter.SetTableObjectPath() in C:\SW-Dev\MoBi\branches\11.0\src\MoBi.Presentation\Presenter\EditTableFormulaWithXArgumentFormulaPresenter.cs:line 75
   at OSPSuite.UI.Controls.BaseUserControl.<>c__DisplayClass23_0.<OnEvent>b__0()
   at OSPSuite.Utility.Extensions.ExceptionExtensions.DoWithinExceptionHandler(Object callerObject, Action actionToExecute)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant