apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.37k stars 2.1k forks source link

after run jmeter, click clear all button, The log shows NullPointerException #5576

Closed asfimport closed 3 years ago

asfimport commented 3 years ago

chazhongbao (Bug 65579):

  1. Start jemter
  2. Click the run button
  3. Click the Clean All button Expected result: the log displays correctly Actual result: the log prompts NullPointerException

Environmental description: jmeter version: daily build (2021-09-17) java version: java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

Operating system version: Version Windows 10 Home Chinese Version Version number 21H1 Installation date ‎2021/‎8/‎1 Operating system internal version 19043.1165 Serial number YX029CKY Experience Windows Feature Experience Pack 120.2212.3530.0

Created attachment log%20%20of%20%20after%20click%20clear%20all%20button.txt: error log

log%20%20of%20%20after%20click%20clear%20all%20button.txt ```` 2021-09-17 21:34:36,160 DEBUG o.a.j.g.GuiPackage: Gui retrieved = org.apache.jmeter.visualizers.ViewResultsFullVisualizer[察看结果树,0,0,1975x1431,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.border.EmptyBorder@4fb9bea4,flags=9,maximumSize=,minimumSize=,preferredSize=] 2021-09-17 21:34:36,160 DEBUG o.a.j.g.GuiPackage: Gui retrieved = kg.apc.jmeter.vizualizers.CompositeGraphGui[jp@gc - Composite Graph,0,0,1985x1431,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.border.EmptyBorder@67719915,flags=9,maximumSize=,minimumSize=,preferredSize=] 2021-09-17 21:34:36,160 DEBUG o.a.j.g.GuiPackage: Gui retrieved = kg.apc.jmeter.vizualizers.ConnectTimesOverTimeGui[jp@gc - Connect Times Over Time,0,0,1985x1431,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.border.EmptyBorder@2886cc39,flags=9,maximumSize=,minimumSize=,preferredSize=] 2021-09-17 21:34:36,162 DEBUG o.a.j.g.GuiPackage: Gui retrieved = kg.apc.jmeter.vizualizers.ResponseTimesOverTimeGui[jp@gc - Response Times Over Time,0,0,1985x654,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.border.EmptyBorder@51468b8f,flags=9,maximumSize=,minimumSize=,preferredSize=] 2021-09-17 21:34:36,173 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[AWT-EventQueue-0,6,main] java.lang.NullPointerException: null at com.github.weisj.darklaf.ui.tree.DarkTreeExpansionAnimationListener$TreeStateAnimator.repaint(DarkTreeExpansionAnimationListener.java:93) ~[darklaf-core-2.7.2.jar:2.7.2] at com.github.weisj.darklaf.ui.tree.DarkTreeExpansionAnimationListener$TreeStateAnimator.paintCycleEnd(DarkTreeExpansionAnimationListener.java:109) ~[darklaf-core-2.7.2.jar:2.7.2] at java.awt.event.InvocationEvent.dispatch(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue.access$500(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_131] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_131] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:1.8.0_131] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_131] 2021-09-17 21:34:36,173 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[AWT-EventQueue-0,6,main] java.lang.NullPointerException: null at com.github.weisj.darklaf.ui.tree.DarkTreeExpansionAnimationListener$TreeStateAnimator.repaint(DarkTreeExpansionAnimationListener.java:93) ~[darklaf-core-2.7.2.jar:2.7.2] at com.github.weisj.darklaf.ui.tree.DarkTreeExpansionAnimationListener$TreeStateAnimator.paintCycleEnd(DarkTreeExpansionAnimationListener.java:109) ~[darklaf-core-2.7.2.jar:2.7.2] at java.awt.event.InvocationEvent.dispatch(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue.access$500(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_131] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_131] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:1.8.0_131] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_131] 2021-09-17 21:34:36,174 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[AWT-EventQueue-0,6,main] java.lang.NullPointerException: null at com.github.weisj.darklaf.ui.tree.DarkTreeExpansionAnimationListener$TreeStateAnimator.repaint(DarkTreeExpansionAnimationListener.java:93) ~[darklaf-core-2.7.2.jar:2.7.2] at com.github.weisj.darklaf.ui.tree.DarkTreeExpansionAnimationListener$TreeStateAnimator.paintCycleEnd(DarkTreeExpansionAnimationListener.java:109) ~[darklaf-core-2.7.2.jar:2.7.2] at java.awt.event.InvocationEvent.dispatch(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue.access$500(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_131] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_131] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_131] at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:1.8.0_131] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_131] at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_131] 2021-09-17 21:34:36,537 DEBUG o.a.j.v.ViewResultsFullVisualizer: Expanded: [[Root]] 2021-09-17 21:34:36,537 DEBUG o.a.j.v.ViewResultsFullVisualizer: Elements: [Root] ````

Version: Nightly Severity: normal OS: All

asfimport commented 3 years ago

chazhongbao (migrated from Bugzilla): null

asfimport commented 3 years ago

chazhongbao (migrated from Bugzilla): This is the correct script, please ignore the previously submitted script

Created attachment JMeterscript.jmx: Test script

asfimport commented 3 years ago

chazhongbao (migrated from Bugzilla): Please help me delete this file, which contains private information, thank you.

asfimport commented 3 years ago

@FSchumacher (migrated from Bugzilla): I can't reproduce this on my setup, but I have opened a bug on the Darklaf project: https://github.com/weisJ/darklaf/issues/275

@reporter, can you reproduce the bug with a test plan, that uses no third party plugin?

asfimport commented 3 years ago

chazhongbao (migrated from Bugzilla): I can't, but I know what's going on, this bug can be closed.

asfimport commented 3 years ago

@FSchumacher (migrated from Bugzilla): commit 1e69fefa0f250a7a149843d5e7074b7909010971 Author: Felix Schumacher <felix.schumacher@internetallee.de> AuthorDate: Sat Sep 18 11:09:45 2021 +0200

Update Darklaf to 2.7.3

The update of Darklaf to 2.7.2 came with a regression regarding tooltips
on linux and a NPE when playing an animation on JTrees.

https://github.com/weisJ/darklaf/issues/274
https://github.com/weisJ/darklaf/issues/275
https://github.com/apache/jmeter/issues/5576

gradle.properties | 2 +- src/dist/src/dist/expected_release_jars.csv | 16 ++++++++-------- xdocs/changes.xml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-)