Opened 10 years ago

Closed 4 years ago

#9911 closed defect (fixed)

Join areas internal error

Reported by: naoliv Owned by: team
Priority: normal Milestone: 20.02
Component: Core Version:
Keywords: template_report Cc:


Select all the ways of the attached file and then Shift+J to join the areas.

Repository Root:
Build-Date: 2014-04-09 01:33:23
Last Changed Author: akks
Revision: 6963
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Date: 2014-04-08 11:45:52 +0200 (Tue, 08 Apr 2014)
Last Changed Rev: 6963

Identification: JOSM/1.5 (6963 pt_BR) Linux Debian GNU/Linux testing (jessie)
Memory Usage: 3038 MB / 5086 MB (883 MB allocated, but free)
Java version: 1.7.0_51, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u51-2.4.6-1
VM arguments: [, -Dawt.useSystemAAFontSettings=on, -Xms3g, -Xmx5g, -XX:+UseConcMarkSweepGC, -XX:+UseCompressedOops]
Dataset consistency test: No problems found

Plugin: Create_grid_of_ways (30375)
Plugin: OpeningHoursEditor (30375)
Plugin: PicLayer (30375)
Plugin: SimplifyArea (30375)
Plugin: buildings_tools (30375)
Plugin: contourmerge (1010)
Plugin: editgpx (30375)
Plugin: geotools (30349)
Plugin: importvec (30375)
Plugin: jts (30277)
Plugin: log4j (30197)
Plugin: measurement (30375)
Plugin: merge-overlap (30375)
Plugin: opendata (30375)
Plugin: pdfimport (30277)
Plugin: poly (30375)
Plugin: reverter (30375)
Plugin: scripting (30601)
Plugin: todo (29154)
Plugin: turnrestrictions (30375)
Plugin: undelete (30375)
Plugin: utilsplugin2 (30384)

java.lang.RuntimeException: Join areas internal error.
	at org.openstreetmap.josm.actions.JoinAreasAction.findBoundaryPolygons(
	at org.openstreetmap.josm.actions.JoinAreasAction.joinAreas(
	at org.openstreetmap.josm.actions.JoinAreasAction.actionPerformed(
	at javax.swing.SwingUtilities.notifyAction(
	at javax.swing.JComponent.processKeyBinding(
	at javax.swing.KeyboardManager.fireBinding(
	at javax.swing.KeyboardManager.fireKeyboardAction(
	at javax.swing.JComponent.processKeyBindingsForAllComponents(
	at javax.swing.JComponent.processKeyBindings(
	at javax.swing.JComponent.processKeyEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.KeyboardFocusManager.redispatchEvent(
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$200(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (1)

join.osm.bz2 (206.2 KB) - added by naoliv 10 years ago.

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by naoliv

Attachment: join.osm.bz2 added

comment:1 Changed 10 years ago by Balaitous

Resolution: duplicate
Status: newclosed

Closed as duplicate of #7959.
Seems duplicate of #7959

comment:2 Changed 4 years ago by GerdP

I can still reproduce this bug with r15820. Should I reopen #7959 or create a new one?

comment:3 Changed 4 years ago by skyper

As this is no complete duplicate, how about reopening this one, as there is no milestone set.

Additionally, it should be considered what Donvip on #9951 wrote comment 9:

it could be a good idea to add non-regression unit tests for this feature, as it looks complicated.

and collecting all examples from the different tickets for a complete set.

comment:4 Changed 4 years ago by GerdP

I also think that I should add some unit tests before I start to change something. I see so many surprising results ;)

comment:5 Changed 4 years ago by GerdP

Resolution: duplicate
Status: closedreopened

comment:6 Changed 4 years ago by GerdP

Milestone: 20.02

comment:7 Changed 4 years ago by GerdP

Resolution: fixed
Status: reopenedclosed

In 15873/josm:

fix #9911: Join areas internal error

  • Correct detection and deduplication of nodes with same position
  • Add command to remove the detected duplicated nodes if they have no tags and no referrers

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.