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.
Profiler 070509 NetBeans IDE Dev (Build 070509) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 Steps to reproduce: - Open snapshot http://www.netbeans.org/nonav/issues/showattachment.cgi/40613/cpu13.nps - Invoke context menu for javax.swing.JFrame.<init>() element and select Show subtree - Click Find button - Enter "cursor" - Press Find Next button several times - RESULT: NPE is thrown java.lang.NullPointerException at javax.swing.JComponent.scrollRectToVisible(JComponent.java:3055) at com.sun.tools.profiler.ui.components.JTreeTable.selectFoundNode(JTreeTable.java:590) at com.sun.tools.profiler.ui.components.JTreeTable.doFindNext(JTreeTable.java:535) ...
Created attachment 42314 [details] Exception
fixed in trunk - the find action was trying to locate a matching node not belonging to the selected subtree. now this situation is handled correctly and the node is treated as non-matching
Verified with Profiler 1.2 070703 Product Version: NetBeans IDE Dev (Build 200707031200) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)