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

Bug 348847

Summary: [Class Diagram] NPE while creating a Diagram from an existing UML model
Product: [Modeling] Papyrus Reporter: Nicolas Guyomar <nicolas.guyomar>
Component: CoreAssignee: Patrick Tessier <Patrick.Tessier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
NPE stacktrace
none
Test UML resource to reproduce the NPE none

Description Nicolas Guyomar CLA 2011-06-09 04:48:13 EDT
Created attachment 197672 [details]
NPE stacktrace

Hi,

I followed Michael procedure detailed here http://www.eclipse.org/forums/index.php/t/210580/, to create a Diagram from an uml model, but I got the attached NPE.

Step to reproduce : 
-select the UML model 'My.uml' in the package explorer
-create Papyrus model with File->New->Papyrus Model
-press Next, choose 'UML'
-press Next, choose 'Class Diagram'
-press Next, choose 'Model' as a root element, press Finish

I'm using MDT Papyrus - SDK: Runtime, Tools, Documentation and sources (Incubation)	0.8.0.v201106080743

Regards,
Nicolas Guyomar
Comment 1 Nicolas Guyomar CLA 2011-06-09 04:49:24 EDT
Created attachment 197673 [details]
Test UML resource to reproduce the NPE

Please find attached a simple uml resource to reproduce the NPE.
Comment 2 Camille Letavernier CLA 2013-05-06 14:15:18 EDT
Works as expected in the current version (0.10M7)

I close this task