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 135943 - opening NB 6.1 uml class & state diagrams popped up AssertionError exception indefinitely
Summary: opening NB 6.1 uml class & state diagrams popped up AssertionError exception ...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-27 23:21 UTC by Peter Lam
Modified: 2008-08-06 23:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log file (289.86 KB, text/plain)
2008-05-27 23:22 UTC, Peter Lam
Details
6.1 uml project (177.28 KB, application/x-compressed)
2008-05-27 23:45 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-05-27 23:21:23 UTC
build 20080526.

- download and unzip the attached NB 6.1 uml project
- open the unzipped project
- expand the Model node 
- open the class diagram
Result: the following exception popped and the dialog could not be dismissed. have to kill ide from task manager. See
attached ide log file for complete exception stack trace.

java.lang.AssertionError: Scene.validate was not called after last change. Widget is not validated. See first Q/A at
http://graph.netbeans.org/faq.html page.
Comment 1 Peter Lam 2008-05-27 23:22:14 UTC
Created attachment 62015 [details]
ide log file
Comment 2 Peter Lam 2008-05-27 23:45:59 UTC
Created attachment 62016 [details]
6.1 uml project
Comment 3 Peter Lam 2008-05-28 00:34:25 UTC
opening the state diagram has the same result.
Comment 4 Sergey Petrov 2008-05-28 07:21:17 UTC
I can reproduce assertion with state diagram only, on class diagram I have exception in shape which may be related to
some problem with just commited enumeration, if I remove enumeration from 6.1 diagram I'm able to open it in 6.5. it's
required to reevaluate after complete enumeration realization, anyway it's another  exception and need to be filed as a
separate issue.
looking into state diagram now.
Comment 5 Sergey Petrov 2008-05-28 07:43:39 UTC
and for state I was able to reproduce assertion only once but got the same as for class diagram shape exception all
other times.
Comment 6 Sergey Petrov 2008-05-28 07:58:37 UTC
http://hg.netbeans.org/uml-main/rev/758057428770
most likely initial exception case asserting in some cases, can load both diagram now
Comment 7 Peter Lam 2008-08-06 23:10:06 UTC
verified in build 20080805.