https://bz.apache.org/bugzilla/show_bug.cgi?id=63906
Bug ID: 63906 Summary: NPE for InfluxDB backend listener during failover testing Product: JMeter Version: 5.1.1 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Main Assignee: issues@jmeter.apache.org Reporter: sergiy.iam...@playtech.com Target Milestone: JMETER_5.2 Created attachment 36873 --> https://bz.apache.org/bugzilla/attachment.cgi?id=36873&action=edit test plan view BL works fine most of the time. However I had to run specific kind of test - failover, where I test how does start/stop/restart/deploy etc are going on the backend side. This obviously results in some outage and there are lots of errors and delays during such actions. As I said such behavior is expected but during one such restart I got following exception on all my load injectors: ******************* 2019-11-06 06:52:41,928 ERROR o.a.j.JMeter: Uncaught exception: java.lang.NullPointerException: null at org.apache.jmeter.visualizers.backend.ErrorMetric.getResponseMessage(ErrorMetric.java:71) ~[ApacheJMeter_components.jar:r1859277] at org.apache.jmeter.visualizers.backend.ErrorMetric.hashCode(ErrorMetric.java:92) ~[ApacheJMeter_components.jar:r1859277] at java.util.HashMap.hash(HashMap.java:339) ~[?:1.8.0_222] at java.util.HashMap.getOrDefault(HashMap.java:1057) ~[?:1.8.0_222] at org.apache.jmeter.visualizers.backend.SamplerMetric.add(SamplerMetric.java:98) ~[ApacheJMeter_components.jar:r1859277] at org.apache.jmeter.visualizers.backend.influxdb.InfluxdbBackendListenerClient.handleSampleResults(InfluxdbBackendListenerClient.java:307) ~[ApacheJMeter_components.jar:r1859277] at org.apache.jmeter.visualizers.backend.BackendListener.sendToListener(BackendListener.java:267) ~[ApacheJMeter_components.jar:r1859277] at org.apache.jmeter.visualizers.backend.BackendListener$Worker.run(BackendListener.java:239) ~[ApacheJMeter_components.jar:r1859277] ******************* The main problem is that whole test stack after that exception. Meaning no more load were produced. -- You are receiving this mail because: You are the assignee for the bug.