Opened 7 years ago

Closed 7 years ago

#8951 closed defect (fixed)

IllegalStateException merging nodes

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report merge undelete Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. load attached file
  2. unglue way 27019525 from node 296167882
  3. merge the new node with node 2374719155 by moving and holding Ctrl

What is the expected result?

Nodes are merged

What happens instead?


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

I did quite a lot of reverting, purging and merging with this layer. Probably around 25 data layers.

Problem seems to be that I did undelete the node I unglue from and the new node also has the attribute "deleted on sever"

Repository Root:
Build-Date: 2013-08-08 01:35:22
Last Changed Author: Don-vip
Revision: 6117
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Date: 2013-08-07 22:11:35 +0200 (Wed, 07 Aug 2013)
Last Changed Rev: 6117

Identification: JOSM/1.5 (6117 en) Linux Debian GNU/Linux 7.1 (wheezy)
Memory Usage: 163 MB / 672 MB (50 MB allocated, but free)
Java version: 1.7.0_25, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u25-2.3.10-1~deb7u1
Program arguments: []
Dataset consistency test: No problems found

Plugin: OpeningHoursEditor (29778)
Plugin: conflation (0.1.6)
Plugin: jts (29613)
Plugin: mirrored_download (29753)
Plugin: notes (0.3)
Plugin: openstreetbugs (29435)
Plugin: reverter (29771)
Plugin: undelete (29555)
Plugin: utilsplugin2 (29771)
Plugin: wikipedia (29778)

java.lang.IllegalStateException: A primitive with ID = 0 cannot be invisible.
	at org.openstreetmap.josm.command.DeleteCommand.executeCommand(
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(
	at org.openstreetmap.josm.actions.MergeNodesAction.doMergeNodes(
	at org.openstreetmap.josm.actions.mapmode.SelectAction.mergePrims(
	at org.openstreetmap.josm.actions.mapmode.SelectAction.confirmOrUndoMovement(
	at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseReleased(
	at java.awt.AWTEventMulticaster.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	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.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	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)

8951_sample.osm (125.7 KB) - added by skyper 7 years ago.
sample file

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by skyper

Attachment: 8951_sample.osm added

sample file

comment:1 Changed 7 years ago by skyper

Description: modified (diff)

comment:2 Changed 7 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 6140/josm:

fix #8951 - fix clearing of primitive metadata

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.