Modify ↓
Opened 13 years ago
Last modified 5 years ago
#7869 new defect
delete while edit tag dialog opens results in unhandled exception
Reported by: | dieterdreist | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
I clicked on "edit tag" and while the dialogue was opening hit d (because it is the first letter of what I wanted to put into the tag). This resulted in an unhandled exception (I was too fast, so the node was deleted before the dialog to edit the tag of the node had opened):
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2012-07-15 01:31:12 Last Changed Author: bastiK Revision: 5341 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2012-07-14 20:23:00 +0200 (Sat, 14 Jul 2012) Last Changed Rev: 5341 Identification: JOSM/1.5 (5341 en) Memory Usage: 963 MB / 989 MB (236 MB allocated, but free) Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) Client VM Operating system: Linux Dataset consistency test: No problems found Plugin: ImportImagePlugin (28412) Plugin: OpeningHoursEditor (28477) Plugin: PicLayer (27883) Plugin: buildings_tools (28412) Plugin: dataimport (28412) Plugin: editgpx (28412) Plugin: licensechange (28412) Plugin: measurement (28412) Plugin: multipoly-convert (28412) Plugin: osmarender (28412) Plugin: pdfimport (28448) Plugin: photo_geotagging (28412) Plugin: public_transport (28412) Plugin: restart (28438) Plugin: reverter (28412) Plugin: tagging-preset-tester (28412) Plugin: terracer (28412) Plugin: undelete (28416) Plugin: utilsplugin2 (28412) java.lang.ArrayIndexOutOfBoundsException: 0 >= 0 at java.util.Vector.elementAt(Vector.java:427) at javax.swing.table.DefaultTableModel.getValueAt(DefaultTableModel.java:632) at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog.selectionChanged(PropertiesDialog.java:941) at org.openstreetmap.josm.data.osm.event.SelectionEventManager.fireEvents(SelectionEventManager.java:78) at org.openstreetmap.josm.data.osm.event.SelectionEventManager.access$200(SelectionEventManager.java:20) at org.openstreetmap.josm.data.osm.event.SelectionEventManager$1.run(SelectionEventManager.java:85) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:602) at java.awt.EventQueue$1.run(EventQueue.java:600) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:611) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
With version 15520 I could still reproduce this behavior. Actually delete has the HotKey "delete" instead of "d". But it's not easy to reproduce, but the detailed steps are: