Modify

Opened 13 years ago

Closed 4 years ago

Last modified 4 years ago

#7170 closed defect (fixed)

DataIntegrityProblemException: Primitive must be part of the dataset

Reported by: jjaf.de Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: Cc: hendrikklaas, Atalanttore, Mir76, richlv, hosteddinner@…, trash@…, michael2402

Description

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-12-16 02:32:17
Last Changed Author: Don-vip
Revision: 4666
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-12-15 21:12:57 +0100 (Thu, 15 Dec 2011)
Last Changed Rev: 4666

Identification: JOSM/1.5 (4666 de)
Memory Usage: 247 MB / 247 MB (65 MB allocated, but free)
Java version: 1.6.0_29, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP
Dataset consistency test: No problems found

Plugin: PicLayer (27241)
Plugin: openstreetbugs (27119)
Plugin: pdfimport (27119)
Plugin: turnrestrictions (27241)

org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-3647 version=0 V lat=52.38379742082918,lon=9.800253358004513}
	at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:309)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:828)
	at org.openstreetmap.josm.actions.mapmode.DrawAction.getWayForNode(DrawAction.java:746)
	at org.openstreetmap.josm.actions.mapmode.DrawAction.redrawIfRequired(DrawAction.java:106)
	at org.openstreetmap.josm.actions.mapmode.DrawAction.mouseMoved(DrawAction.java:622)
	at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)
	at java.awt.Component.processMouseMotionEvent(Unknown Source)
	at javax.swing.JComponent.processMouseMotionEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(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.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(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)

Maybe there is a connection to incrementally download more data into the same layer.

Attachments (1)

file.osm.bz2 (111.1 KB ) - added by naoliv 12 years ago.
I had a problem while editing this area but I did save it right after having the exception (so I am not sure if this can help or not). From what I remember, I did click on the "draw nodes" tool and clicked on a way to create a new node (and then the exception happened). I really don't know how to reproduce this unfortunately.

Download all attachments as: .zip

Change History (23)

comment:1 by Don-vip, 12 years ago

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

comment:2 by Don-vip, 12 years ago

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

comment:3 by Don-vip, 12 years ago

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

by naoliv, 12 years ago

Attachment: file.osm.bz2 added

I had a problem while editing this area but I did save it right after having the exception (so I am not sure if this can help or not). From what I remember, I did click on the "draw nodes" tool and clicked on a way to create a new node (and then the exception happened). I really don't know how to reproduce this unfortunately.

comment:4 by skyper, 11 years ago

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

comment:5 by skyper, 11 years ago

Cc: hendrikklaas added

comment:6 by Don-vip, 11 years ago

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

comment:7 by Don-vip, 11 years ago

Cc: Atalanttore added

comment:8 by skyper, 11 years ago

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

comment:9 by skyper, 11 years ago

Cc: Mir76 added

comment:10 by Don-vip, 11 years ago

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

comment:11 by Don-vip, 11 years ago

Cc: richlv added

comment:12 by skyper, 10 years ago

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

comment:13 by skyper, 10 years ago

Cc: hosteddinner@… added

Still no clue how to reproduce.

comment:14 by Don-vip, 10 years ago

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

comment:15 by Don-vip, 10 years ago

Cc: trash@… added

comment:16 by stoecker, 10 years ago

Last report has no plugins enabled, so there must be an error in core!

comment:17 by Don-vip, 10 years ago

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

comment:18 by michael2402, 9 years ago

Cc: michael2402 added

comment:19 by skyper, 8 years ago

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

comment:20 by michael2402, 4 years ago

Resolution: fixed
Status: newclosed

Has this ever been encountered again? I fixed a selection bug (selection was not updating when you changed the active data layer) back then as a response to this:

https://github.com/openstreetmap/josm/blame/master/src/org/openstreetmap/josm/gui/MapFrame.java#L853

I think we can close it, since it has not happened then any more.

comment:21 by GerdP, 4 years ago

Yes, seems to be fixed. Your link doesn't show why, it highlights a comment?

in reply to:  21 comment:22 by michael2402, 4 years ago

Replying to GerdP:

Yes, seems to be fixed. Your link doesn't show why, it highlights a comment?

Yes.

The acutal additon was the complete if, so those lines:
https://github.com/openstreetmap/josm/blame/master/src/org/openstreetmap/josm/gui/MapFrame.java#L852..L856

The problem was that when changing the layer, one needs to exit the map mode and re-enter it with the new layer, so that the new selection and new layer settings are used.

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.