Bug 52221 - Nullpointer Exception with use Retrieve Embedded Resource without HTTP Cache Manager
Nullpointer Exception with use Retrieve Embedded Resource without HTTP Cache ...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
Nightly (Please specify date)
PC Linux
: P2 regression (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
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