https://bz.apache.org/bugzilla/show_bug.cgi?id=63789

            Bug ID: 63789
           Summary: Summary Report Listener throws NullPointerException
           Product: JMeter
           Version: 5.1.1
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_5.2

During test execution, Summary Report listener throws - at random intervals -
sample result errors of the following type:

2019-09-30 16:23:56,961 ERROR o.a.j.t.ListenerNotifier: Detected problem in
Listener.
java.lang.NullPointerException: null
        at java.util.concurrent.ConcurrentHashMap.putVal(Unknown Source)
~[?:1.8.0_65]
        at java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
~[?:1.8.0_65]
        at java.util.Collections$SetFromMap.add(Unknown Source) ~[?:1.8.0_65]
        at
org.apache.jmeter.samplers.SampleResult.markFile(SampleResult.java:504)
~[ApacheJMeter_core.jar:5.1.1 r1855137]
        at
org.apache.jmeter.reporters.ResultCollector.isResultMarked(ResultCollector.java:582)
~[ApacheJMeter_core.jar:5.1.1 r1855137]
        at
org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:549)
~[ApacheJMeter_core.jar:5.1.1 r1855137]
        at
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:70)
[ApacheJMeter_core.jar:5.1.1 r1855137]
        at
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:980)
[ApacheJMeter_core.jar:5.1.1 r1855137]
        at
org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:569)
[ApacheJMeter_core.jar:5.1.1 r1855137]
        at
org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:486)
[ApacheJMeter_core.jar:5.1.1 r1855137]
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:253)
[ApacheJMeter_core.jar:5.1.1 r1855137]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_65]
2019-09-30 16:23:56,961 INFO o.a.j.t.ListenerNotifier: Continuing to process
further listeners

As result, sample results with this error are not recorded in the results file.
In a small 2 minute test, with 100 threads, ramp-up at 60 seconds and a single
dummy sampler in the thread group, I get each time approx. 4-5 errors

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to