Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315355 - NPE while converting a KDM source model to UML
Summary: NPE while converting a KDM source model to UML
Status: CLOSED DUPLICATE of bug 312380
Alias: None
Product: MoDisco
Classification: Modeling
Component: Main (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Fabien Giquel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 04:19 EDT by Frédéric Madiot CLA
Modified: 2010-10-04 13:30 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Madiot CLA 2010-06-02 04:19:30 EDT
A NPE occurs when converting a KDM source model to UML
In RC2
Comment 1 Nicolas Bros CLA 2010-06-02 08:52:51 EDT
I just tested with Eclipse 3.6RC2 (201005260304) and MoDisco 0.8.0 RC2 ( 0.8.0.v201005260304) installed from http://download.eclipse.org/releases/helios.

- created a Java project
- created a Java class with a main method and a print statement
- did "Discover KDM code model from Java project" on the Java project
- then "Discover UML model from KDM model" on the KDM model

It works for me: I get a UML model and no error.

Could you provide a complete scenario to reproduce your error?
A stacktrace would be useful too.
Comment 2 Fabien Giquel CLA 2010-06-03 04:19:24 EDT
The error occurs when transforming "kdm.source" model to "uml" model.
kdm.source models contains only informations about artefacts hierarchy but no information about Java code it self.

The scenario is :

- created a Java project
- did "Discover KDM source model from Java project" on the Java project
- then "Discover UML model from KDM model" on the KDM model.
Comment 3 Fabien Giquel CLA 2010-06-03 06:38:51 EDT
The issue was already fixed for 0.9.0 (see 312380)
As it is not a critical issue, it will not be fixed in 0.8.0 RC4 (Helios).

*** This bug has been marked as a duplicate of bug 312380 ***
Comment 4 Hugo Bruneliere CLA 2010-10-04 13:30:59 EDT
Bug fixed in original bug.