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 88519 - Hang or unstable work after addition of combined fragment within another one
Summary: Hang or unstable work after addition of combined fragment within another one
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Sequence (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Kris Richards
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-11-02 15:05 UTC by Sergey Petrov
Modified: 2006-11-23 13:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test java class (1015 bytes, text/plain)
2006-11-16 15:06 UTC, Alexandr Scherbatiy
Details
StackOverflowError in IDE log file (263.08 KB, text/plain)
2006-11-21 13:44 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2006-11-02 15:05:41 UTC
reproducible with coke, coco 061101_7
unable to reproduce in jse8

Hang or unstable work after addition of combined fragment within another one or
within shown interaction boundary.

steps to reproduce:
1. create package with scoped sequence diagram
2. add two lifelines
3. invoke 'Show Interaction Boundary' from diagram context menu
4. place combined fragment within the boundary
ide hangs (sometimes may response to some actions and hangs again)
java cpu useage goes to 90-99% for a long time (entire system became slow)

in steps with two combined fragments I was able to invoke context menu twice
after step 4 and to drop one more lifeline, and all hangs completely
Comment 1 Alexandr Scherbatiy 2006-11-16 15:04:34 UTC
The issues affects Reverse Engineer Operation area.

Steps to reproduce:
- Reverse Engineer the attached java class
- Reverse Engineer 'test' operation from the class
IDE hangs.
Comment 2 Alexandr Scherbatiy 2006-11-16 15:06:21 UTC
Created attachment 36097 [details]
Test java class
Comment 3 Alexandr Scherbatiy 2006-11-21 13:44:35 UTC
Created attachment 36170 [details]
StackOverflowError in IDE log file
Comment 4 Kris Richards 2006-11-21 21:34:11 UTC
removed super.doDraw for the InteractionFragmentDrawEngine.doDraw method. This takes care of the 
first noted StackOverflow.
Comment 5 Kris Richards 2006-11-21 21:37:22 UTC
both issues fixed.
Comment 6 Sergey Petrov 2006-11-22 11:35:50 UTC
which two issues?
initially:
-about combined fragment within interaction boundary - fixed
-combined fragment within combined fragment - still reproducible
Comment 7 Sergey Petrov 2006-11-22 11:37:25 UTC
(tried with 061121_17)
Comment 8 Sergey Petrov 2006-11-22 12:16:15 UTC
even with boundary+fragment there is issue: StackOverflow on fragment resize (I
can file as separate issue)
Comment 9 Kris Richards 2006-11-22 17:42:34 UTC
removed super.doDraw for the CombinedFragmentDrawEngine.doDraw method.
Comment 10 Kris Richards 2006-11-22 17:58:47 UTC
can you please file a separate bug concerning the fragment resize; including a "how to reproduce".
Comment 11 Sergey Petrov 2006-11-23 13:40:46 UTC
can't reproduce resize issue with 061123_1
verified