Modify

Opened 14 years ago

Closed 12 years ago

#5764 closed defect (fixed)

DataIntegrityProblemException when fixing deleted nodes in validator

Reported by: anonymous Owned by: team
Priority: major Milestone:
Component: Core validator Version:
Keywords: template_report Cc: jezevec

Description (last modified by Don-vip)

What steps will reproduce the problem?

What is the expected result?

What happens instead?

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-12-19 02:31:54
Last Changed Author: Upliner
Revision: 3731
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-12-18 18:41:03 +0100 (Sat, 18 Dec 2010)
Last Changed Rev: 3731

Identification: JOSM/1.5 (3731 fr)
Memory Usage: 372 MB / 851 MB (46 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux

Dataset consistency test:
[DELETED REFERENCED] {Relation id=-170154 version=0 VT [chemin -170142, chemin -170150, chemin -170152]} refers to deleted primitive {Way id=-170142 version=0 MVDT nodes=[]}


Plugin: RoadSigns (22850)
Plugin: cadastre-fr (22850)
Plugin: reverter (23278)
Plugin: turnrestrictions (24125)
Plugin: walkingpapers (22549)

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog$FixTask.realRun(ValidatorDialog.java:582)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:83)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:129)
	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:636)
Caused by: java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1000)
	at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1351)
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog$FixTask.realRun(ValidatorDialog.java:557)
	... 8 more
Caused by: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=-170154 version=0 VT [chemin -170142, chemin -170150, chemin -170152]}
	at org.openstreetmap.josm.data.osm.Relation.checkMembers(Relation.java:439)
	at org.openstreetmap.josm.data.osm.Relation.fireMembersChanged(Relation.java:446)
	at org.openstreetmap.josm.data.osm.Relation.setMembers(Relation.java:56)
	at org.openstreetmap.josm.data.osm.Relation.cloneFrom(Relation.java:196)
	at org.openstreetmap.josm.command.ChangeCommand.executeCommand(ChangeCommand.java:43)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:53)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:36)
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog$FixTask$1.run(ValidatorDialog.java:560)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
	at java.awt.Dialog$1.run(Dialog.java:1072)
	at java.awt.Dialog$3.run(Dialog.java:1126)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Dialog.show(Dialog.java:1124)
	at java.awt.Component.show(Component.java:1468)
	at java.awt.Component.setVisible(Component.java:1420)
	at java.awt.Window.setVisible(Window.java:842)
	at java.awt.Dialog.setVisible(Dialog.java:1011)
	at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$3.run(PleaseWaitProgressMonitor.java:83)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments (0)

Change History (9)

comment:1 by simon04, 13 years ago

Component: CoreCore validator
Summary: ErreurDataIntegrityProblemException

comment:2 by Don-vip, 13 years ago

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

comment:3 by Don-vip, 13 years ago

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

comment:4 by Don-vip, 13 years ago

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

comment:5 by Don-vip, 13 years ago

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

comment:6 by Don-vip, 13 years ago

Priority: normalmajor

comment:7 by Don-vip, 12 years ago

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

comment:8 by Don-vip, 12 years ago

Cc: jezevec added
Description: modified (diff)
Summary: DataIntegrityProblemExceptionDataIntegrityProblemException when fixing deleted nodes in validator

comment:9 by Don-vip, 12 years ago

Resolution: fixed
Status: newclosed

In 5287/josm:

fix #5764, fix #5773 - Do not create delete commands for objects that already have been deleted, silently drop the related error in validator dialog

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.