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 150206

Summary: [65cat] AssertionError at org.netbeans.api.visual.widget.Widget.addChild
Product: uml Reporter: sunbiz <sunbiz>
Component: Diagram ActivityAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker CC: sunbiz
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=128137
Issue Type: DEFECT Exception Reporter: 128137
Attachments: stacktrace
stacktrace

Description sunbiz 2008-10-15 11:53:35 UTC
Build: NetBeans IDE Dev (Build 200810140201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows Vista, 6.0, x86

User Comments:
sunbiz: Pressed Sync Diagram button from the toolbar after autolayout and got this exception



Stacktrace: 
java.lang.AssertionError
        at org.netbeans.api.visual.widget.Widget.addChild(Widget.java:235)
        at org.netbeans.api.visual.widget.Widget.addChild(Widget.java:226)
        at org.netbeans.modules.uml.diagrams.nodes.activity.InvocationWidget.initializeNode(InvocationWidget.java:106)
        at org.netbeans.modules.uml.drawingarea.view.UMLNodeWidget.refresh(UMLNodeWidget.java:971)
        at org.netbeans.modules.uml.drawingarea.actions.SyncDiagramAction.actionPerformed(SyncDiagramAction.java:95)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Comment 1 sunbiz 2008-10-15 11:53:46 UTC
Created attachment 71847 [details]
stacktrace
Comment 2 sunbiz 2010-08-18 18:14:39 UTC
Created attachment 101498 [details]
stacktrace

Steps to reproduce:
1.) Create new UML Project
2.) Create new Activity Diagram
3.) Drag an Invocation from the palette
4.) Click on dependency... another connected invocation is generated
5.) Press the Sync Diagram icon from the toolbar... exception is thrown