| Summary: | Too many NullPointerException (NPE) | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Vincent Hémery <vincent.hemery> |
| Component: | Core | Assignee: | Project Inbox <mdt-papyrus-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Vincent Hémery
Fix NPE while opening class diagram with associations loaded, but linked to a not loaded element. The equals comparison must be performed with EcoreUtil.equals Concerned methods are org.eclipse.papyrus.diagram.clazz.custom.helper.AssociationEndSourceLabelHelper.getUMLElement(GraphicalEditPart) and org.eclipse.papyrus.diagram.clazz.custom.helper.AssociationEndTargetLabelHelper.getUMLElement(GraphicalEditPart) commit 5412 on trunk, 5411 on 0.8.X I close this task which is too generic (And there aren't so many NPEs anymore) |