Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5333 closed defect (fixed)

"Merge selection" tool is broken

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


What steps will reproduce the problem?

  1. Have two layers
  2. Select an object
  3. Edit - Merge selection

What is the expected result?
Selected object is copied to another layer.

What happens instead?
Error message displayed.

Repository Root:
Build-Date: 2010-08-15 01:31:09
Last Changed Author: stoecker
Revision: 3438
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Date: 2010-08-15 00:34:57 +0200 (Sun, 15 Aug 2010)
Last Changed Rev: 3438

Identification: JOSM/1.5 (3438 ru)
Memory Usage: 226 MB / 494 MB (85 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: PicLayer (22549)
Plugin: buildings_tools (22529)
Plugin: fuzzer (15)
Plugin: measurement (22547)
Plugin: osmarender (21774)
Plugin: public_transport (22048)
Plugin: remotecontrol (22479)
Plugin: routing (22549)
Plugin: tageditor (21026)
Plugin: turnrestrictions (22477)
Plugin: wmsplugin (22581) Complete node with null coordinates: {Node id=-1508 version=0 V }Unexpected error. Please report it to
{Node id=-1508 version=0 V }
Coor is null

	at org.openstreetmap.josm.actions.MergeSelectionAction.mergeSelected(
	at org.openstreetmap.josm.actions.MergeSelectionAction.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.AbstractButton.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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.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 (0)

Change History (5)

comment:1 by bastiK, 14 years ago

These complete nodes with null coordinates are really strange.

We should award a price to the one who can solve this riddle. ;)

comment:2 by jttt, 14 years ago

This one is my fault, I've added null cooor check directly to Node.setDataset(), but I didn't realize Dataset.getPrimitiveById(.., true) can legimately create such nodes.

comment:3 by jttt, 14 years ago

Resolution: fixed
Status: newclosed

(In [3440]) Fix #5333 "Merge selection" tool is broken

comment:4 by anonymous, 14 years ago

Ticket #5334 has been marked as a duplicate of this ticket.

comment:5 by anonymous, 14 years ago

Ticket #5337 has been marked as a duplicate of this ticket.

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. 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.