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 212359

Summary: ClassCastException: [Lorg.openide.nodes.Node; cannot be cast to [Lorg.netbeans.modules.csl.navigation.ElementNode;
Product: editor Reporter: Vladimir Riha <vriha>
Component: CSL (API & infrastructure)Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED DUPLICATE    
Severity: normal CC: karel_barel, sdedic, tjchambers, vriha
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 187799
Attachments: stacktrace

Description Vladimir Riha 2012-05-11 08:12:32 UTC
Build: NetBeans IDE Dev (Build 201205100400)
VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Linux

User Comments:
vriha: Double clicking in Navigator window for javascript file

tjchambers: Clicked a filter button at the bottom of the Navigator pane. Which BTW is uselessly empty except for an html icon.

tjchambers: Clicked a filter button at the bottom of the Navigator pane. Which BTW is uselessly empty except for an html icon.

karel_barel: turned off "Show fields" filter button on Navigator side pane

tjchambers: Clicked a filter button at the bottom of the Navigator pane. Which BTW is uselessly empty except for an html icon.




Stacktrace: 
java.lang.ClassCastException: [Lorg.openide.nodes.Node; cannot be cast to [Lorg.netbeans.modules.csl.navigation.ElementNode;
   at org.netbeans.modules.csl.navigation.ElementNode.refreshRecursively(ElementNode.java:206)
   at org.netbeans.modules.csl.navigation.ElementNode.refreshRecursively(ElementNode.java:196)
   at org.netbeans.modules.csl.navigation.ClassMemberPanelUI$7.run(ClassMemberPanelUI.java:372)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Comment 1 Vladimir Riha 2012-05-11 08:12:42 UTC
Created attachment 119336 [details]
stacktrace
Comment 2 Vladimir Riha 2012-05-11 08:14:35 UTC
I can confirm other comments, happened more likely after I clicked on some of the filter button in Navigator (it took some time before the exception was shown and in between I double clicked on item in navigator...)
Comment 3 Svata Dedic 2012-05-23 08:33:35 UTC

*** This bug has been marked as a duplicate of bug 212278 ***