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 106612 - NPE while setting Load Generator for line
Summary: NPE while setting Load Generator for line
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-14 09:36 UTC by Peter Pis
Modified: 2007-06-15 13:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (3.16 KB, text/plain)
2007-06-14 09:37 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2007-06-14 09:36:35 UTC
Product Version: NetBeans IDE Dev (Build 070614) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System: Windows
XP version 5.1 running on x86; Cp1252; en_GB (nb) Userdir: D:\ide\6.0\user

Steps:
1. Open J2SE project
2. Open any source of the project.
3. Go to desired line of it and push "Alt+F8" and choose "Load Generator".

NPE is thrown.
Comment 1 Peter Pis 2007-06-14 09:37:20 UTC
Created attachment 43669 [details]
NPE
Comment 2 Peter Pis 2007-06-14 09:38:07 UTC
java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:396)
	at
org.netbeans.modules.profiler.ppoints.LoadGenProfilingPointFactory.storeProfilingPoint(LoadGenProfilingPointFactory.java:119)
	at org.netbeans.modules.profiler.ppoints.ProfilingPointFactory.saveProfilingPoints(ProfilingPointFactory.java:118)
	at org.netbeans.modules.profiler.ppoints.ProfilingPointFactory.saveProfilingPoints(ProfilingPointFactory.java:109)
	at org.netbeans.modules.profiler.ppoints.ProfilingPointsManager.storeProfilingPoints(ProfilingPointsManager.java:374)
...
Comment 3 J Bachorik 2007-06-14 12:38:27 UTC
fixed
Comment 4 J Bachorik 2007-06-14 13:50:51 UTC
target milestone adjusted
Comment 5 Peter Pis 2007-06-15 13:59:31 UTC
Verified.