#5394 closed defect (fixed)
wayselector crashed
Reported by: | anonymous | Owned by: | skela |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin | Version: | latest |
Keywords: | Cc: |
Description
Downloaded coastline of Mediterranean Sea via XAPI in two sessions, one for the west one for east side. Merged the files in JOSM.
Selected one coastline-way and hit Shift-W:
Windows 7 64 Bit
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-08-30 01:31:30
Last Changed Author: ulfl
Revision: 3497
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-08-30 02:01:03 +0200 (Mon, 30 Aug 2010)
Last Changed Rev: 3497
Identification: JOSM/1.5 (3497 de)
Memory Usage: 927 MB / 1777 MB (298 MB allocated, but free)
Java version: 1.6.0_14, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Windows 7
Dataset consistency test: No problems found
Plugin: DirectUpload (22017)
Plugin: PicLayer (22549)
Plugin: RoadSigns (22850)
Plugin: editgpx (22548)
Plugin: lakewalker (21706)
Plugin: measurement (22547)
Plugin: multipoly-convert (21706)
Plugin: openstreetbugs (22723)
Plugin: remotecontrol (22734)
Plugin: validator (22805)
Plugin: wayselector (21706)
Plugin: wmsplugin (22856)
java.lang.UnsupportedOperationException
at java.util.AbstractCollection.add(Unknown Source)
at org.openstreetmap.josm.plugins.wayselector.WaySelection.extend(WaySelection.java:130)
at org.openstreetmap.josm.plugins.wayselector.WaySelectorPlugin$WaySelectAction.actionPerformed(WaySelectorPlugin.java:54)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.KeyboardManager.fireBinding(Unknown Source)
at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (0)
Change History (2)
comment:1 by , 15 years ago
Owner: | changed from | to
---|
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Sorry, the offending method call was a leftover from early days of development when I had no clear idea what data structures would be really needed. The set of currently selected ways does not need to be updated while we attempt to extend the selection. This bug was fixed in [o23101], and I optimized and commented the WaySelection.findWay() method in [o23104]. Thank you for the report.
I can repeat this on my system. Sorry, I had not updated JOSM for a while. It seems that the something has changed in the selection management.