Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6468 closed defect (duplicate)

Applying tags from multiple objects to multipolygon crashes JOSM

Reported by: lars@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Highlight several polygons that share a name and some other common properties.
  2. Create a multipolygon relation with these polygons as members. Assign it a name
  3. Select the members and copy them (ctrl+c)
  4. Select the multipolygon
  5. Apply the tags from the members to the multipolygon (ctrl+shift+v)

What is the expected result?

That (at least) the common properties from the polygons should be applied to the multipolygon.

What happens instead?

Crash.

I tried it several time, and it appears to be reproducible in JOSM 4064. A filter on landuse=nature_reserve was enabled at the time.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-04-26 01:31:34
Last Changed Author: bastiK
Revision: 4064
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-04-25 20:32:26 +0200 (Mon, 25 Apr 2011)
Last Changed Rev: 4064

Identification: JOSM/1.5 (4064 en)
Memory Usage: 102 MB / 247 MB (44 MB allocated, but free)
Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP
Dataset consistency test: No problems found

Plugin: editgpx (25407)

java.lang.NullPointerException
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getFilteredList(OsmPrimitive.java:140)
	at org.openstreetmap.josm.actions.PasteTagsAction$TagPaster.getTargetStatistics(PasteTagsAction.java:122)
	at org.openstreetmap.josm.actions.PasteTagsAction$TagPaster.pasteFromHomogeneousSource(PasteTagsAction.java:153)
	at org.openstreetmap.josm.actions.PasteTagsAction$TagPaster.execute(PasteTagsAction.java:235)
	at org.openstreetmap.josm.actions.PasteTagsAction.actionPerformed(PasteTagsAction.java:251)
	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.process

Attachments (0)

Change History (2)

comment:1 by Don-vip, 14 years ago

Resolution: duplicate
Status: newclosed

comment:2 by Don-vip, 14 years ago

Closed as duplicate of #6746.

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.