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

Summary: a11y: nesting class or package thows Assertion Error
Product: uml Reporter: Peter Lam <petersl>
Component: General DiagramAssignee: Trey Spiva <tspiva>
Status: VERIFIED WORKSFORME    
Severity: blocker Keywords: A11Y, REGRESSION
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: ide log file

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.