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.39k stars 2.1k forks source link

WebTesting: Url Sample element; delete non-existant param throws exception #759

Closed asfimport closed 21 years ago

asfimport commented 23 years ago

khammond25 (Bug 3634): The user interface allows a user to attempt to delete a non-existant parameter in the WebTesting: Url Sample element. A java.lang.IndexOutOfBoundsException is thrown.

For example, add a WebTesting element and within it, add an Url Sample element. Next, with an empty Parameter Table, click the Delete button. You get the following exception:

Exception occurred during event dispatching: java.lang.IndexOutOfBoundsException: Index: -1, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:491) at java.util.ArrayList.remove(ArrayList.java:375) at org.apache.jmeter.config.Arguments.removeRow(Arguments.java:262) at org.apache.jmeter.config.gui.ArgumentsPanel.actionPerformed(Arguments Panel.java:146) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:14 50) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra ctButton.java:1504) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel .java:378) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250 ) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL istener.java:216) at java.awt.Component.processMouseEvent(Component.java:3717) at java.awt.Component.processEvent(Component.java:3546) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451 ) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    at java.awt.Container.dispatchEventImpl(Container.java:1200)
    at java.awt.Window.dispatchEventImpl(Window.java:912)
    at java.awt.Component.dispatchEvent(Component.java:2499)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
    at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10

3) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)

Severity: normal OS: other

Duplicated by:

asfimport commented 23 years ago

khammond25 (migrated from Bugzilla):

This bug has been marked as a duplicate of https://github.com/apache/jmeter/issues/753

asfimport commented 21 years ago

Jordi Salvat i Alabart (migrated from Bugzilla): Marking all bugs RESOLVED before JMeter 1.8's release date as VERIFIED. Yes, it's pretty poor QA procedure, but there's bugs here lingering since JMeter 1.6, and we need to clean up a little.

asfimport commented 21 years ago

Jordi Salvat i Alabart (migrated from Bugzilla): Bulk-closing all bugs RESOLVED before JMeter 1.8 release date.