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.
Product Version: NetBeans IDE Dev (Build 201101240001) Java: 1.6.0_21; Java HotSpot(TM) Client VM 17.0-b17 System: Windows 7 version 6.1 running on x86; Cp1251; ru_RU (nb) --------------------------------------------------------- -- open disk.h from Quote in editor -- invoke Navigate->View Include Hierarchy from context menu -- rename disk.cc to disk_new.cc -- open Hierarchy View and press Refresh button or invoke via context menu => NPE -- delete project w/ sources => project is deleted from ide, but some files remains on a hard-disk. java.lang.NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getName(FileImpl.java:1279) at org.netbeans.modules.cnd.navigation.includeview.IncludedChildren$MyComparator.compare(IncludedChildren.java:140) at org.netbeans.modules.cnd.navigation.includeview.IncludedChildren$MyComparator.compare(IncludedChildren.java:137) at java.util.Arrays.mergeSort(Arrays.java:1270) at java.util.Arrays.sort(Arrays.java:1210) at java.util.Collections.sort(Collections.java:159) at org.netbeans.modules.cnd.navigation.includeview.IncludedChildren.resetKeys(IncludedChildren.java:87) at org.netbeans.modules.cnd.navigation.includeview.IncludedChildren.addNotify(IncludedChildren.java:127) at org.openide.nodes.Children.callAddNotify(Children.java:568) at org.openide.nodes.EntrySupport$Default.getArray(EntrySupport.java:770) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:172) at org.openide.nodes.EntrySupport$Default.snapshot(EntrySupport.java:149) at org.openide.nodes.Children.snapshot(Children.java:525) at org.openide.explorer.view.TreeView.expandNode(TreeView.java:626) at org.netbeans.modules.cnd.navigation.includeview.IncludeHierarchyPanel$7$1.run(IncludeHierarchyPanel.java:398) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
http://hg.netbeans.org/cnd-main/rev/2f697103cfa5
Integrated into 'main-golden', will be available in build *201101270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2f697103cfa5 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fix for #194696 - NPE in IncludeHierarchyView
Created attachment 105526 [details] disk.cc.cc in Hierarchy tree Now Include Hierarchy View contains disk.cc.cc file in the tree. I investigate problem will file new bug.
see iz194922
*** Bug 195895 has been marked as a duplicate of this bug. ***