Modify ↓
#4096 closed defect (duplicate)
ClassCastException: Undeleting deleted simplified ways
| Reported by: | Ldp | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | Cc: |
Description
- Load testfile
- Simplify object (I have simplify-way.max-error=0.1)
- Delete it
- Undelete it
Exception thrown, only a single node undeleted.
Build-Date: 2009-12-05 16:59:49
Revision: 2576
Is-Local-Build: true
Memory Usage: 56 MB / 1016 MB (19 MB allocated, but free)
Java version: 1.6.0_17
Dataset consistency test:
{Way id=-2596 version=0 MVDd nodes=[{Node id=-2591 version=0 V lat=50.9770528757,lon=5.90314844137}, {Node id=-2592 version=0 MVDd lat=50.9770654483,lon=5.90316371026}]} reffers to deleted primitive {Node id=-2592 version=0 MVDd lat=50.9770654483,lon=5.90316371026}
Plugins: AddrInterpolation,multipoly,terracer,validator,wmsplugin
Plugin AddrInterpolation Version: 18874
Plugin multipoly Version: 18832
Plugin terracer Version: 18924
Plugin validator Version: 18957
Plugin wmsplugin Version: 18953
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.data.osm.DataSet.reindexNode(DataSet.java:765)
at org.openstreetmap.josm.data.osm.DataSet.fireNodeMoved(DataSet.java:858)
at org.openstreetmap.josm.data.osm.Node.setCoor(Node.java:26)
at org.openstreetmap.josm.data.osm.Node.load(Node.java:132)
at org.openstreetmap.josm.command.Command.undoCommand(Command.java:94)
at org.openstreetmap.josm.command.SequenceCommand.undoCommands(SequenceCommand.java:76)
at org.openstreetmap.josm.command.SequenceCommand.undoCommand(SequenceCommand.java:81)
at org.openstreetmap.josm.data.UndoRedoHandler.undo(UndoRedoHandler.java:72)
at org.openstreetmap.josm.actions.UndoAction.actionPerformed(UndoAction.java:34)
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.processKeyEvent(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.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(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 (1)
Change History (3)
by , 16 years ago
comment:1 by , 16 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
comment:2 by , 16 years ago
Note:
See TracTickets
for help on using tickets.



Closed as duplicate of #4095.