Modify

Ticket #5394 (closed defect: fixed)

Opened 18 months ago

Last modified 17 months ago

wayselector crashed

Reported by: anonymous Owned by: skela
Priority: normal Component: Plugin wayselector
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

Change History

comment:1 Changed 17 months ago by skela

  • Owner changed from team to skela

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.

comment:2 Changed 17 months ago by stoecker

  • Component changed from Plugin to Plugin wayselector

comment:3 Changed 17 months ago by skela

  • Status changed from new to closed
  • Resolution set to fixed

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 r23101, and I optimized and commented the WaySelection.findWay() method in r23104. Thank you for the report.

comment:4 Changed 17 months ago by stoecker

Please us  [o23101] and  [o23104] when refering to OSM SVN.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.