Modify

Opened 15 years ago

Closed 15 years ago

#4084 closed defect (fixed)

Exception after deleting object merged to another layer

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

Description

Fresh SVN clean/dist build, updated plugins through plugin preferences.

  • open .osm
  • add new data layer
  • go back to .osm
  • select object
  • merge object to other layer
  • delete object from original layer

==> exception, object not deleted

Doesn't happen if you create the object in a new layer, only when you open a .osm file.

Build-Date: 2009-12-03 22:51:32		
Revision: 2566
Is-Local-Build: true

Memory Usage: 15 MB / 1016 MB (1 MB allocated, but free)
Java version: 1.6.0_17

Dataset consistency test:
No problems found


Plugins: AddrInterpolation,multipoly,terracer,utilsplugin,validator,wmsplugin
Plugin AddrInterpolation Version: 18874
Plugin multipoly Version: 18832
Plugin terracer Version: 18924
Plugin utilsplugin Version: 18926
Plugin validator Version: 18928
Plugin wmsplugin Version: 18762

java.lang.UnsupportedOperationException
	at java.util.AbstractList.remove(Unknown Source)
	at java.util.AbstractList$Itr.remove(Unknown Source)
	at java.util.AbstractCollection.removeAll(Unknown Source)
	at org.openstreetmap.josm.command.DeleteCommand.computeNodesToDelete(DeleteCommand.java:256)
	at org.openstreetmap.josm.command.DeleteCommand.delete(DeleteCommand.java:316)
	at org.openstreetmap.josm.command.DeleteCommand.delete(DeleteCommand.java:287)
	at org.openstreetmap.josm.actions.mapmode.DeleteAction.doActionPerformed(DeleteAction.java:148)
	at org.openstreetmap.josm.actions.DeleteAction.actionPerformed(DeleteAction.java:28)
	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 (4)

comment:1 by Ldp, 15 years ago

Introduced in r2565 (as the commit msg already said)

comment:2 by Ldp, 15 years ago

Summary: Exception after merging object to another layerException after deleting object merged to another layer

comment:3 by mjulius, 15 years ago

This also seems to be fixed by the patch in #4085.

comment:4 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

(In [2574]) fix #4085, #4084 - patch by mjulius - fix exception

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.