Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360552

Summary: [Control mode] NPE when controlling an uml with an unavailable profile applied
Product: [Modeling] Papyrus Reporter: Mathieu Velten <mathieu.velten>
Component: CoreAssignee: Mathieu Velten <mathieu.velten>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Mathieu Velten CLA 2011-10-11 11:08:08 EDT
NPE when controlling an uml with an unavailable profile applied.

Caused by: java.lang.NullPointerException

at org.eclipse.papyrus.controlmode.umlprofiles.helpers.ProfileApplicationHelper.isSameProfileApplied(ProfileApplicationHelper.java:95)
at org.eclipse.papyrus.controlmode.umlprofiles.helpers.ProfileApplicationHelper.duplicateProfileApplication(ProfileApplicationHelper.java:47)
at org.eclipse.papyrus.controlmode.umlprofiles.commands.UMLProfileControlCommand.duplicateAppliedProfiles(UMLProfileControlCommand.java:71)
at org.eclipse.papyrus.controlmode.umlprofiles.commands.UMLProfileControlCommand.access$0(UMLProfileControlCommand.java:68)
at org.eclipse.papyrus.controlmode.umlprofiles.commands.UMLProfileControlCommand$1.run(UMLProfileControlCommand.java:47)
Comment 1 Sébastien Gérard CLA 2013-05-27 04:49:05 EDT
Closed as fixed in 0.10.0
Comment 2 Sébastien Gérard CLA 2013-05-27 04:49:23 EDT
FIxed