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 96555

Summary: RE Operation: Nested Combined fragments are created above Lifelines/missed messages
Product: uml Reporter: Alexandr Scherbatiy <sunflower>
Component: Reverse EngineeringAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Nested Combined Fragments and Lifelines
reop seq diagram on recent build

Description Alexandr Scherbatiy 2007-02-26 11:16:40 UTC
Steps to reproduce:

- Reverse engineer the 'test' operation and create a Sequence diagram:
--------------------------------------------------------------------
  public void test(int[] m, boolean flag){
        
        if(m.length == 2){
            
            if(m[0] < m [1]){
                System.out.println(m[0]);
                if(flag){
                    System.out.println("Test");
                }else{
                    System.out.println("MyTest");
                }
                
                if(!flag){
                    System.out.println("Test");
                }else{
                    System.out.println("MyTest");
                }
                
            }
            
            if (m[0] > m [1]){
                System.out.println(m[1]);
            }
            
            if(m[0] == m [1]){
                System.out.println(m[0] + m[1]);
            }
        }
        
    }
--------------------------------------------------------------------
The one of generated combine fragments is laid above of lifelines.
Comment 1 Alexandr Scherbatiy 2007-02-26 11:17:33 UTC
Created attachment 38900 [details]
Nested Combined Fragments and Lifelines
Comment 2 Peter Lam 2007-03-20 23:32:04 UTC
low use case not currently impacting our installed user base.
Comment 3 Kris Richards 2007-08-21 20:35:43 UTC
changing to P3. This is visually a small problem, but all the data is correct.
Comment 4 Sergey Petrov 2008-05-15 12:54:28 UTC
cf now below boxes
also now if (m[0] > m [1]) and if(m[0] == m [1]) are located at bottom, not perfect but better correspond with operation.
but what is the problem is only four synch messages here, two last calls are missed, 
also expressions have 'm[0' instead of 'm[0]'
so let this issue remains open, and may be priority can be rised
Comment 5 George Vasick 2008-06-10 17:12:40 UTC
Removing obsolete assignments.  Bugs will be reassigned for M2.
Comment 6 Sergey Petrov 2008-09-04 19:56:01 UTC
current state is enough for 6.5
Comment 7 Peter Lam 2008-09-04 21:49:26 UTC
Attached screenshot is what it is in today's build 20080904. The 2 sync messages are missing from the last 2 combined
fragments.
Comment 8 Peter Lam 2008-09-04 21:50:08 UTC
Created attachment 69101 [details]
reop seq diagram on recent build
Comment 9 Sergey Petrov 2008-09-04 22:07:41 UTC
yes, it's exactly the same as in 6.1(there was 4 synch messages too) and looks to be parsing poblem