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 78419 - RE Operation: local to the loop Lifeline is destroyed outside the bounds of combined fragment
Summary: RE Operation: local to the loop Lifeline is destroyed outside the bounds of c...
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-06-19 23:52 UTC by bugbridge
Modified: 2009-05-25 21:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
picture (77.55 KB, image/png)
2006-06-20 13:34 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-06-19 23:52:48 UTC
Original submitter: sunflower

Description:
Steps to reproduce:

- Do Reverse Engineering of 'testLoopFor' method and create a Sequence diagram:

  ---------------------------------------------------------------
    public void testLoopFor(){
        
        double a[] = { 1 , 2, 3 , 4, 5 } ;
        double b[] = { 5 , 4, 3 , 2, 1 } ;
        double c[] = { 0 , 0, 0 , 0, 0 } ;
        
        
        for( int i = 0; i < a.length; i++ ){
            c[i] = a[i] + b[i];
        }
        
    }
  ---------------------------------------------------------------

- There is a 'i:int' Lifeline on the Sequence diagram. It is 
  in the 'loop' Combined fragment. But The '' 'i:int' Lifeline
  is destroyed  outside the bounds of combined fragment.
  (See attached picture)
Comment 1 Sergey Petrov 2006-06-20 13:34:47 UTC
Created attachment 31220 [details]
picture
Comment 2 Sergey Petrov 2008-05-14 15:07:43 UTC
top "red circle" works now, bottom one doesn't work yet as should do.