Modify

Ticket #4217 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

Copying of a relation results into an error

Reported by: Raymond Owned by: team
Priority: normal Component: Core
Version: Keywords:
Cc:

Description

I tried to copy a relation to create a duplicate. This error occurs:

Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2009-12-22 02:31:37 Last Changed Author: mjulius Revision: 2670 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2009-12-22 00:50:40 +0100 (Tue, 22 Dec 2009) Last Changed Rev: 2670

Memory Usage: 37 MB / 63 MB (6 MB allocated, but free) Java version: 1.6.0_17

Dataset consistency test: No problems found

Plugins: terracer,validator,wmsplugin Plugin terracer Version: 19129 Plugin validator Version: 19072 Plugin wmsplugin Version: 18953

java.lang.IllegalStateException: Can't assign a changesetId > 0 to a new primitive. Value of changesetId is 101.043

at org.openstreetmap.josm.data.osm.OsmPrimitive.setChangesetId(OsmPrimitive.java:656) at org.openstreetmap.josm.data.osm.OsmPrimitive.cloneFrom(OsmPrimitive.java:1010) at org.openstreetmap.josm.data.osm.Relation.cloneFrom(Relation.java:184) at org.openstreetmap.josm.data.osm.Relation.<init>(Relation.java:149) at org.openstreetmap.josm.data.osm.Relation.<init>(Relation.java:159) at org.openstreetmap.josm.gui.dialogs.relation.RelationEditor.setRelation(RelationEditor.java:156) at org.openstreetmap.josm.gui.dialogs.relation.RelationEditor.<init>(RelationEditor.java:125) at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor.<init>(GenericRelationEditor.java:104) at org.openstreetmap.josm.gui.dialogs.relation.RelationEditor.getEditor(RelationEditor.java:99) at org.openstreetmap.josm.gui.dialogs.RelationListDialog$DuplicateAction.launchEditorForDuplicate(RelationListDialog.java:388) at org.openstreetmap.josm.gui.dialogs.RelationListDialog$DuplicateAction.actionPerformed(RelationListDialog.java:399) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

Attachments

Change History

comment:1 Changed 2 years ago by stoecker

  • Status changed from new to closed
  • Resolution set to duplicate

comment:2 Changed 2 years ago by stoecker

Closed as duplicate of #4208.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.