Author: sebb
Date: Thu Jul  8 00:39:16 2010
New Revision: 961545

URL: http://svn.apache.org/viewvc?rev=961545&view=rev
Log: (empty)

Modified:
    
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java

Modified: 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java?rev=961545&r1=961544&r2=961545&view=diff
==============================================================================
--- 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
 (original)
+++ 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
 Thu Jul  8 00:39:16 2010
@@ -1072,7 +1072,9 @@ public abstract class HTTPSamplerBase ex
 
         // Iterate through the URLs and download each image:
         if (urls != null && urls.hasNext()) {
-            res = container;
+            if (container != null) { // prevent NPE TODO incomplete solution
+                res = container;
+            }
 
             // Get the URL matcher
             String re=getEmbeddedUrlRE();



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to