Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348847 - [Class Diagram] NPE while creating a Diagram from an existing UML model
Summary: [Class Diagram] NPE while creating a Diagram from an existing UML model
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 04:48 EDT by Nicolas Guyomar CLA
Modified: 2013-05-06 14:15 EDT (History)
0 users

See Also:


Attachments
NPE stacktrace (6.47 KB, text/plain)
2011-06-09 04:48 EDT, Nicolas Guyomar CLA
no flags Details
Test UML resource to reproduce the NPE (321 bytes, application/octet-stream)
2011-06-09 04:49 EDT, Nicolas Guyomar CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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