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 070216 NetBeans IDE Dev (Build 200702151900) 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 freeform project - Right-click Anagrams.java and select Profile File - Select Analyze Performance, Entire Application, Profile All Classes - RESULT: java.lang.NullPointerException at org.netbeans.modules.profiler.utils.SourceUtils.hasMainMethod(SourceUtils.java:459)
Created attachment 38612 [details] Exception
Created attachment 38613 [details] Freeform app
fixed in trunk added a sanity check for NULL value before attempting to use the value
Verified with Profiler 070226 NetBeans IDE Dev (Build 200702251900) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251