Bug 43006 - Null Pointer Exception if icon.properties file not found
Summary: Null Pointer Exception if icon.properties file not found
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.3
Hardware: All All
: P5 trivial (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-31 15:15 UTC by Fernando Ruscitti
Modified: 2007-08-11 03:16 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Ruscitti 2007-07-31 15:15:11 UTC
Hello, I was building JMeter and when I tried to run it from eclipse, the 
icon.properties file could not be found.
This leads to a NPE, if you look at the code in JMeterUtils.java, line 191:

is = JMeterUtils.class.getClassLoader().getResource(file).openStream();

so if the getResource(file) return null, the openStream raises the NPE.

Just a detail.
Regards.
Fernando.
Comment 1 Sebb 2007-08-11 03:16:28 UTC
Thanks - fixed in SVN r564889
Comment 2 The ASF infrastructure team 2022-09-24 20:37:40 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1984