Created attachment 36171 [details] jmeter log file Since JMeter 5 the aggregrate functionality is not working any more. I checked it with JMeter 4.0. There the aggregate report/graph works. I could reproduce it with a Sample Debugger. *Steps to reproduce* Configure a Thread Group with a Debug Sample. Add Aggregate Report as Listener. Run the Test Plan the following WARN can be found in the log files. => WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [...] see attached log file. Using the Aggregate Graph will end up in an exception (also in attached log file) and no graph will be displayed: ERROR o.a.j.JMeter: Uncaught exception: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:422) ~[?:1.8.0_181] at java.util.ArrayList.get(ArrayList.java:435) ~[?:1.8.0_181] at org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.java:187) ~[jorphan.jar:5.0 r1840935] at org.apache.jmeter.visualizers.StatGraphVisualizer.getData(StatGraphVisualizer.java:638) ~[ApacheJMeter_components.jar:5.0 r1840935] at org.apache.jmeter.visualizers.StatGraphVisualizer.makeGraph(StatGraphVisualizer.java:594) ~[ApacheJMeter_components.jar:5.0 r1840935] at org.apache.jmeter.visualizers.StatGraphVisualizer.actionMakeGraph(StatGraphVisualizer.java:790) ~[ApacheJMeter_components.jar:5.0 r1840935] at org.apache.jmeter.visualizers.StatGraphVisualizer.actionPerformed(StatGraphVisualizer.java:702) ~[ApacheJMeter_components.jar:5.0 r1840935] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) ~[?:1.8.0_181] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) ~[?:1.8.0_181] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) ~[?:1.8.0_181] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) ~[?:1.8.0_181] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) ~[?:1.8.0_181] at java.awt.Component.processMouseEvent(Component.java:6539) ~[?:1.8.0_181] at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) ~[?:1.8.0_181] at java.awt.Component.processEvent(Component.java:6304) ~[?:1.8.0_181] at java.awt.Container.processEvent(Container.java:2239) ~[?:1.8.0_181] at java.awt.Component.dispatchEventImpl(Component.java:4889) ~[?:1.8.0_181] at java.awt.Container.dispatchEventImpl(Container.java:2297) ~[?:1.8.0_181] at java.awt.Component.dispatchEvent(Component.java:4711) ~[?:1.8.0_181] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) ~[?:1.8.0_181] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) ~[?:1.8.0_181] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) ~[?:1.8.0_181] at java.awt.Container.dispatchEventImpl(Container.java:2283) ~[?:1.8.0_181] at java.awt.Window.dispatchEventImpl(Window.java:2746) ~[?:1.8.0_181] at java.awt.Component.dispatchEvent(Component.java:4711) ~[?:1.8.0_181] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) ~[?:1.8.0_181] at java.awt.EventQueue.access$500(EventQueue.java:97) ~[?:1.8.0_181] at java.awt.EventQueue$3.run(EventQueue.java:709) ~[?:1.8.0_181] at java.awt.EventQueue$3.run(EventQueue.java:703) ~[?:1.8.0_181] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) ~[?:1.8.0_181] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) ~[?:1.8.0_181] at java.awt.EventQueue$4.run(EventQueue.java:733) ~[?:1.8.0_181] at java.awt.EventQueue$4.run(EventQueue.java:731) ~[?:1.8.0_181] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) ~[?:1.8.0_181] at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) ~[?:1.8.0_181] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_181] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_181] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_181] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_181] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_181] at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_181]
Created attachment 36172 [details] test plan with Sample Debugger
Issue has been introduced by : - http://svn.apache.org/viewvc?rev=1834634&view=rev
(In reply to Philippe Mouawad from comment #2) > Issue has been introduced by : > > - http://svn.apache.org/viewvc?rev=1834634&view=rev It's related to Bug 60705
pmouawad@apache.org 9:50 PM (0 minutes ago) to commits Author: pmouawad Date: Sun Sep 30 19:50:23 2018 New Revision: 1842408 URL: http://svn.apache.org/viewvc?rev=1842408&view=rev Log: Bug 62770 : Aggregate Graph throws ArrayIndexOutOfBoundsException Bugzilla Id: 62770 Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java jmeter/trunk/xdocs/changes.xml
Thanks for report. Fix will be available in 5.1 version. Meanwhile if you can test tomorrow the nightly build and confirm bug is fixed, it will be very nice of you. Thanks
*** Bug 62896 has been marked as a duplicate of this bug. ***
Hi all, Could you please advise if there's a workaround for this bug? And, also, where is it possible to test on new build, which contains a fix? Thanks!
(In reply to Natalia from comment #7) > Hi all, > > Could you please advise if there's a workaround for this bug? > > And, also, where is it possible to test on new build, which contains a fix? > > Thanks! No workaround. You can use nightly build which is close to release. https://ci.apache.org/projects/jmeter/nightlies/
Thank you! I've uploaded a latest jmeter test version, where bug is supposed to be fixed. And tried to open the file in aggregate report template. But there's still an error there.
Created attachment 36422 [details] jmeter log file, error tested on r1852962
(In reply to Natalia from comment #10) > Created attachment 36422 [details] > jmeter log file, error tested on r1852962 Hello Natalia, The stacktrace you show has no relation with this bug report. Can you create a new issue and attach: - your test plan if possible, otherwise try to remove as much as possible provided you still reproduce issue, or send it privately to me - jmeter.log Thanks
Thank you Philippe! I've created a separate ticket: id=63148