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 143051 - [65cat] AssertionError: tn must be our child!
Summary: [65cat] AssertionError: tn must be our child!
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: t_h
URL: http://statistics.netbeans.org/except...
Keywords:
: 143620 143662 143758 143840 143945 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-06 14:04 UTC by _ theanuradha
Modified: 2008-12-22 13:32 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 87153


Attachments
stacktrace (3.28 KB, text/plain)
2008-08-06 14:04 UTC, _ theanuradha
Details
stacktrace (3.19 KB, text/plain)
2008-08-12 15:21 UTC, Petr Dvorak
Details
stacktrace (5.93 KB, text/plain)
2008-08-14 15:59 UTC, ulfzibis
Details
stacktrace (48 bytes, text/plain)
2008-08-14 16:00 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ theanuradha 2008-08-06 14:04:21 UTC
Build: NetBeans IDE Dev (Build 080806)
VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27
OS: Windows XP, 5.1, x86

User Comments: 
just try to expand node

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.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:515)
Comment 1 _ theanuradha 2008-08-06 14:04:48 UTC
Created attachment 66691 [details]
stacktrace
Comment 2 Lukas Hasik 2008-08-06 14:26:41 UTC
the stacktrace is similar to other issues that were closed as duplicates of 140629

anuradha, could you try with the latest build? The fix for 140629 is available in trunk from 200808060201 (for sure).
Comment 3 _ theanuradha 2008-08-06 14:58:51 UTC
I'm on latest build so I think issue till there or new issue with similar stack trace  
Comment 4 Petr Dvorak 2008-08-12 15:21:43 UTC
Build: NetBeans IDE Dev (Build 200808120201)
VM: Java HotSpot(TM) Client VM, 1.5.0_15-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_15-b04
OS: Linux, 2.6.24-19-generic, i386

User Comments: 
I simply expanded node in Services view (Servers>JBoss Application Server>Applications>EJB Modules). I expanded WebApplications node before, I had some web applications deployed.

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.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:511)
Comment 5 Petr Dvorak 2008-08-12 15:21:52 UTC
Created attachment 67146 [details]
stacktrace
Comment 6 Petr Dvorak 2008-08-12 16:04:15 UTC
*** Issue 143620 has been marked as a duplicate of this issue. ***
Comment 7 Lukas Hasik 2008-08-12 19:34:19 UTC
*** Issue 143662 has been marked as a duplicate of this issue. ***
Comment 8 Lukas Hasik 2008-08-13 14:45:45 UTC
*** Issue 143758 has been marked as a duplicate of this issue. ***
Comment 9 Roman Mostyka 2008-08-14 15:46:41 UTC
*** Issue 143840 has been marked as a duplicate of this issue. ***
Comment 10 ulfzibis 2008-08-14 15:59:34 UTC
Build: NetBeans IDE Dev (Build 200808120201)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 


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.getVisiblePathsFrom(FixedHeightLayoutCache.java:269)
        at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1138)
Comment 11 ulfzibis 2008-08-14 15:59:38 UTC
Created attachment 67426 [details]
stacktrace
Comment 12 ulfzibis 2008-08-14 16:00:23 UTC
Build: NetBeans IDE Dev (Build 200808120201)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.AssertionError: tn must be our child!
Comment 13 ulfzibis 2008-08-14 16:00:37 UTC
Created attachment 67427 [details]
stacktrace
Comment 14 t_h 2008-08-14 17:26:57 UTC
Fixed in 7b2c90a6b2b5 + 41016530780a
Comment 15 t_h 2008-08-14 17:27:28 UTC
*** Issue 143945 has been marked as a duplicate of this issue. ***
Comment 16 t_h 2008-08-14 17:32:04 UTC
Sorry I meant 7b2c90a6b2b5 + 8d9ff4b2102a
Comment 17 muligan 2008-10-03 13:41:43 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200809251401)
Comment 18 t_h 2008-10-03 15:00:20 UTC
new reports are from completely different assert
Comment 19 Tomas Danek 2008-10-06 16:48:31 UTC
Tomasi, may i close the bug as fixed? (new potentional problems will be tracked separately)..if not, I'll change TM and
remove "fix-in-65"...
Comment 20 t_h 2008-10-06 20:47:38 UTC
ok, closing...
Comment 21 Exceptions Reporter 2008-11-02 14:16:00 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 081102)
http://statistics.netbeans.org/exceptions/detail.do?id=135156
Comment 22 t_h 2008-11-03 09:38:14 UTC
new reports belongs to issue 151951