Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3701 closed defect (duplicate)

Unable to undo copy

Reported by: Nakor Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Select a way, copy it (Ctrl+c) then paste it (Ctrl+V), and finaaly undo (Ctr+Z). AN expection occurs:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 2276
Node Kind: directory
Last Changed Author: Gubaer
Last Changed Rev: 2276
Last Changed Date: 2009-10-11 22:50:48 +0200 (Sun, 11 Oct 2009)

Memory Usage: 101 MB / 1333 MB (38 MB allocated, but free)
Java version: 1.6.0_16

Plugins: DirectUpload
editgpx
graphview
measurement
michigan_left
openstreetbugs
remotecontrol
routing
tageditor
utilsplugin
validator
waydownloader
wmsplugin
Plugin DirectUpload Version: 17532
Plugin editgpx Version: 17530
Plugin graphview Version: 17538
Plugin measurement Version: 17377
Plugin michigan_left Version: 18072
Plugin openstreetbugs Version: 18071
Plugin remotecontrol Version: 17858
Plugin routing Version: 17544
Plugin tageditor Version: 17638
Plugin utilsplugin Version: 17707
Plugin validator Version: 18069
Plugin waydownloader Version: 18067
Plugin wmsplugin Version: 17817

java.lang.NullPointerException

at org.openstreetmap.josm.data.osm.QuadBuckets.remove(QuadBuckets.java:889)
at org.openstreetmap.josm.data.osm.QuadBuckets.remove(QuadBuckets.java:884)
at org.openstreetmap.josm.data.osm.DataSet.removePrimitive(DataSet.java:141)
at org.openstreetmap.josm.command.AddCommand.undoCommand(AddCommand.java:56)
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:70)
at org.openstreetmap.josm.actions.UndoAction.actionPerformed(UndoAction.java:32)
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 (0)

Change History (3)

comment:1 by Nakor, 15 years ago

If you split a way and try to undo, you also get the exception.

comment:2 by bilbo, 15 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #3687

comment:3 by bilbo, 15 years ago

Closed as duplicate of #3687.

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.