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 156554 - Stuck - while generating sequence diagram
Summary: Stuck - while generating sequence diagram
Status: RESOLVED INCOMPLETE
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Sequence (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-10 19:44 UTC by zuismanm
Modified: 2009-06-25 14:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zuismanm 2009-01-10 19:44:02 UTC
Hi! I am quite new in netbeans... I am using it for some middle range project in Java (IzPAck - if you know - some 200
classes in java... - not something huge...). I am working with NB 6.5 (6.1 at my home comp)... I have installed UML
plugin... Reverce engineering worked quite fine - I have got UML model of my project...  Automatic creation of
dependencies diagrams - worked... But - when I tried to create sequence diagram automatically (choose on model some
method of class and choose - "create sequence diagram") - it is another story... First time - it worked... I got diagram
(althought overloaded with reference to secondary classes - but - I did not find any option - to say wich classes to
include/exclude during diagram generation)
But - after this - I do not success to reproduce "first success"... Each time - I try to generate diagram - it stuck, or
create diagram with one class life line with no messages... I have tried it on XP and Redhat... (On Redhat - it always
stuck)
Can I somehow troubleshoot this problem??? Or - this feature is still "raw" and - it is waste of time to try to use it???

I can send you project... Where to have I to post/upload it???
Comment 1 Sergey Petrov 2009-01-11 08:51:51 UTC
it will be good if you can attach project to the issue, or you can send it by e-mail to me if don't want to share.
I see you specify 6.1 version for the issue, is it reproducible in both 6.1 and 6.5?
Comment 2 zuismanm 2009-01-15 13:47:24 UTC
Did you get zip file with project???
Comment 3 Sergey Petrov 2009-02-02 10:36:20 UTC
ok, I got it from ifolder, what class/operation should I try?
Comment 4 Sergey Petrov 2009-02-09 11:19:51 UTC
will try com.izforge.izpack.installer.Unpacker.run();
Comment 5 Sergey Petrov 2009-02-09 11:22:57 UTC
can't reproduce empty/stuck for now, but have some graph artefacts on right part of the diagram, need to investigate more.
Comment 6 Sergey Petrov 2009-02-09 11:38:37 UTC
tried with jdk5 also, it seems diagram is bigger then scene max width, it may also be the reason of problem on winXP.
Comment 7 Sergey Petrov 2009-02-09 19:55:51 UTC
one more issue is npe when re operation. can't get diagram from one lifeline/stuck yet.

can  you attach message.log?
Comment 8 Sergey Petrov 2009-02-10 09:34:53 UTC
got "one lifeline" once after model recreation after got corrupted model after save all with big diagram with out of memory.
Comment 9 Sergey Petrov 2009-02-10 09:39:31 UTC
some problems may appear because of memory limit. it seems this project+diagram (after little part fix in parsing)
require about 400-500Mb for netbeans. netbeans by default may got not enouth memory(some percent of physical memory
installed) then memory settings may be adjusted with netbeans.conf.
Comment 10 Quality Engineering 2009-02-18 10:44:10 UTC
Integrated into 'main-golden', will be available in build *200902180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3ae6b5756d53
User: sergeyp@netbeans.org
Log: fix #156554 - may help, but also some problem may be more hidden now: replace npe with logging to message.log