Modify

Opened 12 months ago

Last modified 4 months ago

#13981 new defect

IllegalStateException reverting a changeset with deleted objects

Reported by: skyper Owned by: Upliner
Priority: critical Milestone:
Component: Plugin reverter Version:
Keywords: template_report regression Cc: BeKri, osm@…

Description (last modified by skyper)

What steps will reproduce the problem?

  1. revert changset 43556601 into empty layer
  2. answer "yes" to previous download other objects

What is the expected result?

changeset is reverted and deleted objects are undeleted

What happens instead?

IllegalStateException

Please provide any additional information below. Attach a screenshot if possible.

Problem seem to be deleted objects

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-11-14 23:32:57 +0100 (Mon, 14 Nov 2016)
Build-Date:2016-11-15 03:13:32
Revision:11256
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11256 en) Linux Debian GNU/Linux 8.6 (jessie)
Memory Usage: 374 MB / 882 MB (83 MB allocated, but free)
Java version: 1.8.0_102-8u102-b14.1-1~bpo8+1-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-8-jre:amd64-8u102-b14.1-1~bpo8+1
Java ATK Wrapper package: libatk-wrapper-java:all-0.30.4-3
Program arguments: [--language=en]
Dataset consistency test: No problems found

Plugins:
+ reverter (32796)
+ tag2link (33035)
+ undelete (32699)
+ utilsplugin2 (32815)
+ wikipedia (33017)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ http://osmtools.de/josm/steps.xml

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- E: Handled by bug report queue: java.lang.IllegalStateException: Missing merge target of type node with id 575,881,486


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
java.lang.IllegalStateException: Missing merge target of type node with id 575,881,486
	at reverter.DataSetCommandMerger.getMergeTarget(DataSetCommandMerger.java:61)
	at reverter.DataSetCommandMerger.mergeNode(DataSetCommandMerger.java:81)
	at reverter.DataSetCommandMerger.merge(DataSetCommandMerger.java:172)
	at reverter.DataSetCommandMerger.<init>(DataSetCommandMerger.java:45)
	at reverter.ChangesetReverter.getCommands(ChangesetReverter.java:344)
	at reverter.RevertChangesetTask.realRun(RevertChangesetTask.java:110)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:141)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Attachments (0)

Change History (15)

comment:1 Changed 12 months ago by skyper

Description: modified (diff)
Summary: IllegalStateException reverting a changesetIllegalStateException reverting a changeset with deleted objects

comment:2 Changed 12 months ago by skyper

Similar to #11136

comment:3 Changed 12 months ago by mdk

#12809, #12829, #13981, #13986 and #13987 are failing with same callstack.

comment:4 Changed 12 months ago by skyper

Ticket #13986 has been marked as a duplicate of this ticket.

comment:5 in reply to:  3 Changed 12 months ago by skyper

Replying to mdk:

#12809, #12829, #13981, #13986 and #13987 are failing with same callstack.

comment:6 Changed 12 months ago by skyper

Cc: BeKri added

comment:7 Changed 12 months ago by Klumbumbus

Ticket #14020 has been marked as a duplicate of this ticket.

comment:8 Changed 12 months ago by Klumbumbus

Cc: osm@… added

comment:9 Changed 12 months ago by skyper

At least for deleted ways and nodes, a workaround is to priorly undelete these objects with the plugin "undelete" before reverting the changeset.

comment:10 Changed 12 months ago by skyper

Priority: normalmajor

comment:11 Changed 8 months ago by Don-vip

Ticket #14515 has been marked as a duplicate of this ticket.

comment:12 Changed 8 months ago by Don-vip

Ticket #14519 has been marked as a duplicate of this ticket.

comment:13 Changed 4 months ago by Don-vip

Ticket #14822 has been marked as a duplicate of this ticket.

comment:14 Changed 4 months ago by Don-vip

Ticket #15014 has been marked as a duplicate of this ticket.

comment:15 Changed 4 months ago by Don-vip

Priority: majorcritical

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Upliner.
as The resolution will be set.
to The owner will be changed from Upliner to the specified user.
The owner will change to skyper
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from Upliner to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.