Opened 11 years ago

Last modified 11 years ago

#8489 new defect

IllegalStateException deleting some nodes

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

Description (last modified by skyper)

What steps will reproduce the problem?

  1. revert a changeset
  2. add a node to a new layer outside of download area of 1.
  3. merge layers on "new layer"
  4. try to delete node id:0 outside download area see below

What is the expected result?

It should be always possible to delete nodes with id=0

What happens instead?


Please provide any additional information below. Attach a screenshot if

Can test a bit more later but problem seems to be the download area.

Repository Root:
Build-Date: 2013-03-04 02:31:43
Last Changed Author: akks
Revision: 5756
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Date: 2013-03-03 21:20:18 +0100 (Sun, 03 Mar 2013)
Last Changed Rev: 5756

Identification: JOSM/1.5 (5756 de)
Memory Usage: 103 MB / 643 MB (49 MB allocated, but free)
Java version: 1.6.0_27, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: mirrored_download (29210)
Plugin: reverter (29296)
Plugin: utilsplugin2 (29241)
Plugin: wikipedia (29330)

java.lang.IllegalStateException: Ein Objekt mit ID=0 darf nicht unsichtbar sein.
	at org.openstreetmap.josm.command.DeleteCommand.executeCommand(
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(
	at org.openstreetmap.josm.actions.mapmode.DeleteAction.doActionPerformed(
	at org.openstreetmap.josm.actions.DeleteAction.actionPerformed(
	at javax.swing.SwingUtilities.notifyAction(
	at javax.swing.JComponent.processKeyBinding(
	at javax.swing.KeyboardManager.fireBinding(
	at javax.swing.KeyboardManager.fireKeyboardAction(
	at javax.swing.JComponent.processKeyBindingsForAllComponents(
	at javax.swing.JComponent.processKeyBindings(
	at javax.swing.JComponent.processKeyEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.KeyboardFocusManager.redispatchEvent(
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$300(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (3)

comment:1 by skyper, 11 years ago

Priority: normalmajor

Ok, I can reproduce it. Please forget description above.

  1. open new layer
  2. revert a changeset
  3. unglue first node of a way
  4. delete the new node

Strange after the exception the way does not contain the node anymore but the node still exists.

Did reproduce with changeset 14914753 and way 42220645.

comment:2 by skyper, 11 years ago

Description: modified (diff)

comment:3 by skyper, 11 years ago

Priority: majornormal

Saving the data to a file after merging seems to solve the problem.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to skyper.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.