Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#4091 closed defect (duplicate)

undo after update from server

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

Description

What steps will reproduce the problem?

  1. load an offline edited .osm-file
  2. update from server
  3. check on server (deleted ways)
  4. undo

What is the expected result?
either do not allow or undo the changes from server

What happens instead?
ERROR

Please provide any additional information below. Attach a screenshot if
possible.
attached osm-file

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-12-05 02:31:54
Last Changed Author: stoecker
Revision: 2574
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-12-04 19:11:45 +0100 (Fri, 04 Dec 2009)
Last Changed Rev: 2574

Memory Usage: 38 MB / 508 MB (8 MB allocated, but free)
Java version: 1.6.0_0

Dataset consistency test:
{Way id=32348870 version=3 MVDd nodes=[]} not found using Dataset.searchWays()


Plugins: ColumbusCSV,buildings_tools,editgpx,osmarender,utilsplugin,validator,waydownloader,wmsplugin
Plugin ColumbusCSV Version: 47
Plugin buildings_tools Version: 25
Plugin editgpx Version: 18595
Plugin osmarender Version: 18922
Plugin utilsplugin Version: 18926
Plugin validator Version: 18928
Plugin waydownloader Version: 18617
Plugin wmsplugin Version: 18949

java.lang.ClassCastException: org.openstreetmap.josm.data.osm.Way cannot be cast to [Lorg.openstreetmap.josm.data.osm.OsmPrimitive;
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:895)
	at org.openstreetmap.josm.command.PurgePrimitivesCommand.removeReferecesToPrimitive(PurgePrimitivesCommand.java:137)
	at org.openstreetmap.josm.command.PurgePrimitivesCommand.executeCommand(PurgePrimitivesCommand.java:182)
	at org.openstreetmap.josm.data.UndoRedoHandler.redo(UndoRedoHandler.java:94)
	at org.openstreetmap.josm.actions.RedoAction.actionPerformed(RedoAction.java:34)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6108)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
	at java.awt.Component.processEvent(Component.java:5873)
	at java.awt.Container.processEvent(Container.java:2105)
	at java.awt.Component.dispatchEventImpl(Component.java:4469)
	at java.awt.Container.dispatchEventImpl(Container.java:2163)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
	at java.awt.Container.dispatchEventImpl(Container.java:2149)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments (1)

merzhausen_undo_bug.osm (1.2 MB ) - added by skyper 15 years ago.
osm-file

Download all attachments as: .zip

Change History (3)

by skyper, 15 years ago

Attachment: merzhausen_undo_bug.osm added

osm-file

comment:1 by stoecker, 15 years ago

Resolution: duplicate
Status: newclosed

comment:2 by stoecker, 15 years ago

Closed as duplicate of #4103.

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.