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 111215 - [ProfilingPoints] NPE on selecting wrong file as load script
Summary: [ProfilingPoints] NPE on selecting wrong file as load script
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-27 11:11 UTC by Maksim Khramov
Modified: 2007-10-05 09:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stacktrace log for this issue (5.43 KB, text/plain)
2007-07-27 11:11 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2007-07-27 11:11:06 UTC
NetBeans IDE Dev (Build 200707261200) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
Steps to reproduce:
1.Create Java Application project
2.Open profiling points window
3.Invoke Add Profiling point command
4.Select Load Generator profiling point type.
5.Click next
6.Click Browse button, and select any file as target. ( I use an empty file)
The NPE is thrown:
java.lang.NullPointerException
	at org.netbeans.modules.profiler.ppoints.ui.LoadGeneratorCustomizer.isScriptValid(LoadGeneratorCustomizer.java:165)
	at org.netbeans.modules.profiler.ppoints.ui.LoadGeneratorCustomizer.updateValidity(LoadGeneratorCustomizer.java:175)
	at org.netbeans.modules.profiler.ppoints.ui.LoadGeneratorCustomizer.insertUpdate(LoadGeneratorCustomizer.java:548)

see full stacktrace in attachment
Comment 1 Maksim Khramov 2007-07-27 11:11:46 UTC
Created attachment 45820 [details]
Stacktrace log for this issue
Comment 2 Jiri Sedlacek 2007-07-27 12:53:32 UTC
Fixed for Beta1.
Comment 3 Maksim Khramov 2007-10-05 09:20:44 UTC
Verified in build 200710031200