Modify ↓
Opened 16 years ago
Closed 16 years ago
#3372 closed defect (fixed)
NPE when removing two ways from a relation via properties dialog
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
I selected two ways that are members in the same relation, and tried to remove them from that relation using the delete button in the properties dialog (not the relation editor)
Manifest-Version: 1.0 Ant-Version: Apache Ant 1.7.1 Created-By: 14.1-b02 (Sun Microsystems Inc.) Main-class: JOSM Main-Version: 2021 SVN Main-Date: 2009-08-31T10:33:32.777000Z Memory Usage: 85 MB / 910 MB (42 MB allocated, but free) Java version: 1.6.0_15 Plugins: AgPifoJ lakewalker utilsplugin validator wmsplugin Plugin AgPifoJ Version: 17363 Plugin lakewalker Version: 17375 Plugin utilsplugin Version: 17399 Plugin validator Version: 17352 Plugin wmsplugin Version: 17407 java.lang.IndexOutOfBoundsException: Index: 4, Size: 4 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.remove(ArrayList.java:387) at org.openstreetmap.josm.data.osm.Relation.removeMember(Relation.java:98) at org.openstreetmap.josm.gui.dialogs.PropertiesDialog$DeleteAction.deleteFromRelation(PropertiesDialog.java:849) at org.openstreetmap.josm.gui.dialogs.PropertiesDialog$DeleteAction.actionPerformed(PropertiesDialog.java:876) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6263) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) 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.



(In [2027]) fixed #3372: NPE when removing two ways from a relation via properties dialog