You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/07/08 02:39:16 UTC

svn commit: r961545 - /jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java

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: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org