This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149279 - interaction node is lost on 2nd reverse engineer action
Summary: interaction node is lost on 2nd reverse engineer action
Status: RESOLVED INCOMPLETE
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Viktor Lapitski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-06 18:47 UTC by George Vasick
Modified: 2010-08-16 19:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
before 2nd reverse engineer (13.23 KB, image/png)
2008-10-06 18:49 UTC, George Vasick
Details
after 2nd reverse engineer (9.32 KB, image/png)
2008-10-06 18:50 UTC, George Vasick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description George Vasick 2008-10-06 18:47:59 UTC
Steps to reproduce (from [nbusers] Problem with UML Sequence Diagram & Reverse engineer):

I create a new project with a main class named "Main" (suggested by
default). Then, i create an empty method named "toto()". Finally, in my
static main method, i create a new instance of my class Main, and i call
toto() from it.



> > public class Main {
> > 
> >     /**
> >      * @param args the command line arguments
> >      */
> >     public static void main(String[] args) {
> >         // TODO code application logic here
> >         new Main().toto();
> >     }
> >     
> >     public void toto() {
> >         
> >     }
> > 
> > }
> > 

For the moment, everything is good...

I reverse engineer my sources (right click on source packages > Reverse
Engineer). Now, i have a new UML projet with a model. 
After that, in my uml model, i decide to create two diagrams. The first one,
a class diagram, by right clicking on the class "Main" in my model ("Create
Diagram from selected elements"). The second one, by right clicking on the
"public void main (...)" method in my model ("Create Diagram from selected
elements").
Comment 1 George Vasick 2008-10-06 18:49:41 UTC
Created attachment 71225 [details]
before 2nd reverse engineer
Comment 2 George Vasick 2008-10-06 18:50:23 UTC
Created attachment 71226 [details]
after 2nd reverse engineer
Comment 3 George Vasick 2008-10-06 18:53:02 UTC
Problem still exists in 6.5, see attached before and after screenshots.  The calss and dependency diagrams remain in the
model esplorer, but the interaction node and sequence diagram for operation main() are missing.
Comment 4 Viktor Lapitski 2008-10-13 17:15:29 UTC
http://hg.netbeans.org/uml-main/rev/ae9bd325f080
Comment 5 Trey Spiva 2008-10-13 18:13:52 UTC
Reviewed
Comment 6 Peter Lam 2008-10-14 22:53:48 UTC
verified in NB 6.5 RC1 build 200810141115
Comment 7 vinila 2009-07-13 21:21:49 UTC
I'm using NetBeans IDE 6.5.1 (Build 200903060201) and still have this problem. Which version do I need to solve this 
issue?
Comment 8 javydreamercsw 2010-08-16 19:44:09 UTC
Please provide a more specific issue. From the description is not clear what the issue is. Keep in mind that we're working from what was left on 6.7.1 for the plugin and all comments are for 6.5.

Feel free to reopen if you are able to reproduce.