| Summary: | [Validation] Exception while dragging the mouse over ModelExplorer | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Yann Tanguy <yann.tanguy> |
| Component: | Core | Assignee: | Ansgar Radermacher <ansgar.radermacher> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.7.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 313986 | ||
|
Description
Yann Tanguy
I fixed the bug by simply adding a check. In general, the error occurred, when a problem marker exist but the referenced model element does not. The underlying question is whether Papyrus should remove a problem marker immediately, if the referenced element is removed (a part of "life validation", could be done by a model listener). Therefore I leave the bug open for the moment. (In reply to comment #0) > Got the following NPE related to Marker in ModelExplorer while moving mouse > over element in the model explorer. > > To reproduce: > - Create a sequence diagram > - Create 2 lifeline and a message between > - Validate the model (Event should get marked invalid) > - Delete invalid Event from model explorer > - Create a new message > - Drag the mouse over new event created with the new message This bug is no longer reproducible. |