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 98064 - [ProfilingPoints] NPE for PP at first line of java file
Summary: [ProfilingPoints] NPE for PP at first line of java file
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-16 10:12 UTC by Ivan Sidorkin
Modified: 2007-03-26 13:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (26.35 KB, text/plain)
2007-03-16 10:13 UTC, Ivan Sidorkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2007-03-16 10:12:55 UTC
NetBeans IDE Dev (Build 200703151900)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

- create Java Application
- insert Reset Results PP to Main.java at line 1
- start Analyze Performance task
NPE
Comment 1 Ivan Sidorkin 2007-03-16 10:13:48 UTC
Created attachment 39576 [details]
IDE log
Comment 2 Jiri Sedlacek 2007-03-22 18:08:43 UTC
Caused by the fact that profiling point is defined outside of the class - has 
no class context. Such PPs are now simply skipped, additional checking on the 
UI (customizer) level needs to be implemented in future.

Fixed for M8.
Comment 3 Ivan Sidorkin 2007-03-26 13:31:49 UTC
verified in 070323