Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5329 closed defect (duplicate)

Joining two large overlapping areas (with many points on the common boundary) crashes JOSM

Reported by: maximeguillaud Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. select two large overlapping areas (with many common points on the boundary)
  2. select "join overlapping areas" from the tools menu

What is the expected result?
resulting area is displayed

What happens instead?
josm crashes

Please provide any additional information below. Attach a screenshot if possible.

For instances, the two areas currently in the database will cause a crash if attempting the join:
http://www.openstreetmap.org/browse/way/72458389
http://www.openstreetmap.org/browse/way/72458580

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-08-13 10:44:46
Last Changed Author: ulfl
Revision: 3429
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-08-12 11:17:59 +0200 (Thu, 12 Aug 2010)
Last Changed Rev: 3429

Identification: JOSM/1.5 (3429 en)
Memory Usage: 213 MB / 1779 MB (67 MB allocated, but free)
Java version: 1.6.0_18, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: cadastre-fr (22188)
Plugin: validator (22445)
Plugin: wmsplugin (22286)

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:571)
	at java.util.ArrayList.get(ArrayList.java:349)
	at org.openstreetmap.josm.actions.JoinAreasAction.joinWays(JoinAreasAction.java:640)
	at org.openstreetmap.josm.actions.JoinAreasAction.joinOuterWays(JoinAreasAction.java:611)
	at org.openstreetmap.josm.actions.JoinAreasAction.joinAreas(JoinAreasAction.java:218)
	at org.openstreetmap.josm.actions.JoinAreasAction.actionPerformed(JoinAreasAction.java:166)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6108)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:5873)
	at java.awt.Container.processEvent(Container.java:2105)
	at java.awt.Component.dispatchEventImpl(Component.java:4469)
	at java.awt.Container.dispatchEventImpl(Container.java:2163)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
	at java.awt.Container.dispatchEventImpl(Container.java:2149)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments (1)

5329-join.osm (190.5 KB ) - added by bastiK 14 years ago.
the ways from the bug report for future reference

Download all attachments as: .zip

Change History (3)

comment:1 by bastiK, 14 years ago

Resolution: duplicate
Status: newclosed

comment:2 by bastiK, 14 years ago

Closed as duplicate of #5179.

by bastiK, 14 years ago

Attachment: 5329-join.osm added

the ways from the bug report for future reference

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.