jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1771952 - in /jmeter/trunk: src/components/org/apache/jmeter/visualizers/backend/graphite/GraphiteBackendListenerClient.java xdocs/changes.xml
Date Tue, 29 Nov 2016 20:10:27 GMT
Author: fschumacher
Date: Tue Nov 29 20:10:27 2016
New Revision: 1771952

URL: http://svn.apache.org/viewvc?rev=1771952&view=rev
Log:
JMeter Graphite Backend Listener throws exception when test ends
and useRegexpForSamplersList is set to true.
Based on patch by Liu XP (liu_xp2003 at sina.com)

Bugzilla Id: 60428

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/GraphiteBackendListenerClient.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/GraphiteBackendListenerClient.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/GraphiteBackendListenerClient.java?rev=1771952&r1=1771951&r2=1771952&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/GraphiteBackendListenerClient.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/GraphiteBackendListenerClient.java
Tue Nov 29 20:10:27 2016
@@ -323,8 +323,10 @@ public class GraphiteBackendListenerClie
         }
         // Send last set of data before ending
         sendMetrics();
-        
-        samplersToFilter.clear();
+
+        if (samplersToFilter != null) {
+            samplersToFilter.clear();
+        }
         graphiteMetricsManager.destroy();
         super.teardownTest(context);
     }

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1771952&r1=1771951&r2=1771952&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Tue Nov 29 20:10:27 2016
@@ -180,6 +180,9 @@ Fill in some detail.
 
 <h3>General</h3>
 <ul>
+    <li><bug>60428</bug>JMeter Graphite Backend Listener throws exception
when test ends
+    and <code>useRegexpForSamplersList</code> is set to <code>true</code>.
+    Based on patch by Liu XP (liu_xp2003 at sina.com)</li>
 </ul>
 
  <!--  =================== Thanks =================== -->
@@ -189,6 +192,7 @@ Fill in some detail.
 </p>
 <ul>
 <li>Jerome Loisel (loisel.jerome at gmail.com)</li>
+<li>Liu XP (liu_xp2003 at sina.com)</li>
 </ul>
 <p>We also thank bug reporters who helped us improve JMeter. <br/>
 For this release we want to give special thanks to the following reporters for the clear
reports and tests made after our fixes:</p>



Mime
View raw message