Bug 52221 - Nullpointer Exception with use Retrieve Embedded Resource without HTTP Cache Manager
Summary: Nullpointer Exception with use Retrieve Embedded Resource without HTTP Cache ...
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: Nightly (Please specify date)
Hardware: PC Linux
: P2 regression (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 13:31 UTC by Julian Cesar
Modified: 2011-11-21 13:54 UTC (History)
1 user (show)



Attachments
JMX to reproduce the exception (9.75 KB, application/x-extension-jmx)
2011-11-21 13:31 UTC, Julian Cesar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Cesar 2011-11-21 13:31:32 UTC
Created attachment 27972 [details]
JMX to reproduce the exception

The behavior Retrieve All Embedded Resources From HTML Files only work if the component HTTP Cache Manager is enabled.

The JMX with this problem is attached in the bug and the revision is r1204392.

Exception: 

java.lang.NullPointerException
	at org.apache.jmeter.testelement.property.TestElementProperty.iterator(TestElementProperty.java:160)
	at org.apache.jmeter.testelement.AbstractTestElement.setTemporary(AbstractTestElement.java:468)
	at org.apache.jmeter.testelement.AbstractTestElement.addProperty(AbstractTestElement.java:270)
	at org.apache.jmeter.testelement.AbstractTestElement.addProperty(AbstractTestElement.java:288)
	at org.apache.jmeter.testelement.AbstractTestElement.setProperty(AbstractTestElement.java:316)
	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.setCacheManager(HTTPSamplerBase.java:775)
Comment 1 Sebb 2011-11-21 13:54:59 UTC
Thanks for the report; it's very useful to have such reports on nightly builds.

Fixed in SVN:

URL: http://svn.apache.org/viewvc?rev=1204496&view=rev
Log:
Bug 52221 - Nullpointer Exception with use Retrieve Embedded Resource without HTTP Cache Manager

Modified:
   jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
   jmeter/trunk/xdocs/changes.xml
Comment 2 The ASF infrastructure team 2022-09-24 20:37:48 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2656