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 147156 - a11y: nesting class or package thows Assertion Error
Summary: a11y: nesting class or package thows Assertion Error
Status: VERIFIED WORKSFORME
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords: A11Y, REGRESSION
Depends on:
Blocks:
 
Reported: 2008-09-13 00:24 UTC by Peter Lam
Modified: 2008-09-15 20:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log file (30.34 KB, text/plain)
2008-09-13 00:25 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-09-13 00:24:54 UTC
build 20080912.

Using shortcut to nest a class to a class or a class to a package popped up the following exception. See attached log
file for complete exception.

- create a package and a class
- select the package and the the class with Ctrl+leftclick or use Ctrl+Plus to lock the selections
- press Ctrl+P to bring up the context palette
- select the containment icon and press Ctrl+Enter

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.
	at org.netbeans.api.visual.widget.Widget.paint(Widget.java:1396)
	at org.netbeans.api.visual.widget.Widget.paintChildren(Widget.java:1472)
	at org.netbeans.api.visual.widget.Widget.paint(Widget.java:1420)
	at org.netbeans.api.visual.widget.Widget.paintChildren(Widget.java:1472)
	at org.netbeans.api.visual.widget.Widget.paint(Widget.java:1420)
	at org.netbeans.api.visual.widget.SceneComponent.paint(SceneComponent.java:129)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
...
Comment 1 Peter Lam 2008-09-13 00:25:22 UTC
Created attachment 69789 [details]
ide log file
Comment 2 Trey Spiva 2008-09-15 20:03:53 UTC
I am not able to reproduce the issue.  I have also worked with QE and he is not able to reproduce it either.
Comment 3 Peter Lam 2008-09-15 20:05:55 UTC
verified in build 20080915. The problem is no longer reproducible in this new build.