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 143662

Summary: AssertionError: tn must be our child!
Product: platform Reporter: Roman Mostyka <romanmostyka>
Component: ExplorerAssignee: t_h <t_h>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=89972
Issue Type: DEFECT Exception Reporter: 89972
Attachments: stacktrace

Description Roman Mostyka 2008-08-12 19:09:54 UTC
Build: NetBeans IDE Dev (Build 080812)
VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26
OS: Windows XP, 5.1, x86

User Comments: 
1. Connect to MySQL DB.
2. Tried to disconnect.

Result: AssertionError arises.

Stacktrace: 
java.lang.AssertionError: tn must be our child!
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:94)
        at org.openide.explorer.view.VisualizerChildren.getIndex(VisualizerChildren.java:161)
        at org.openide.explorer.view.VisualizerNode.getIndex(VisualizerNode.java:276)
        at javax.swing.tree.DefaultTreeModel.getIndexOfChild(DefaultTreeModel.java:142)
        at javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:176)
        at javax.swing.tree.AbstractLayoutCache.getPreferredWidth(AbstractLayoutCache.java:228)
Comment 1 Roman Mostyka 2008-08-12 19:10:14 UTC
Created attachment 67163 [details]
stacktrace
Comment 2 Lukas Hasik 2008-08-12 19:34:28 UTC
the exception reporter should discover that this is a duplicate.

*** This issue has been marked as a duplicate of 143051 ***