Modify

Opened 13 years ago

Closed 13 years ago

#7540 closed defect (needinfo)

Clicking "fix" throws an exception

Reported by: Heliosmaster Owned by: Heliosmaster
Priority: normal Milestone:
Component: Core validator Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. click "fix" button for a problem

What is the expected result?

What happens instead?

exception

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-03-07 02:32:17
Last Changed Author: stoecker
Revision: 5047
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-03-06 10:30:34 +0100 (Tue, 06 Mar 2012)
Last Changed Rev: 5047

Identification: JOSM/1.5 (5047 en)
Memory Usage: 161 MB / 910 MB (35 MB allocated, but free)
Java version: 1.6.0_23, Sun Microsystems Inc., OpenJDK Server VM
Operating system: Linux
Dataset consistency test: No problems found


org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-6596 version=0 MVD lat=44.265833516917944,lon=12.352309103424181}
	at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:309)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:829)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:850)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrer(OsmPrimitive.java:147)
	at org.openstreetmap.josm.command.DeleteCommand.delete(DeleteCommand.java:363)
	at org.openstreetmap.josm.command.DeleteCommand.delete(DeleteCommand.java:267)
	at org.openstreetmap.josm.data.validation.tests.UntaggedNode.fixError(UntaggedNode.java:112)
	at org.openstreetmap.josm.data.validation.TestError.getFix(TestError.java:244)
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog$FixTask.realRun(ValidatorDialog.java:566)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:145)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679

Attachments (0)

Change History (2)

comment:1 by skyper, 13 years ago

Component: CoreCore validator
Owner: changed from team to Heliosmaster
Status: newneedinfo
Version: tested

Please submit full error log.

Please describe what you did before the fix. Did you run validator just before the fix ? Maybe the node was already deleted.

Please attach a small example file to reproduce.

comment:2 by simon04, 13 years ago

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Heliosmaster.
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.