Modify

#22643 closed defect (needinfo)

DataIntegrityProblemException: Primitive must be part of the dataset (upload)

Reported by: Marek Kleciak Owned by: Marek Kleciak
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

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.

Revision:18531
Build-Date:2022-08-02 12:45:38

Identification: JOSM/1.5 (18531 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 2009 (19044)
Memory Usage: 674 MB / 3942 MB (157 MB allocated, but free)
Java version: 17.0.4+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.50×1.50)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→48×48, 32×32→48×48
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18531, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]

Dataset consistency test:
[NO DATASET] {Node id=-169355 version=0 MV lat=26.959990123023385,lon=87.43407617365322} is referenced by {Way id=-109261 version=0 V nodes=[{Node id=-169355 version=0 MV lat=26.959990123023385,lon=87.43407617365322}, {Node id=-169483 version=0 MV lat=26.959988359950326,lon=87.43410004500997}, {Node id=-169484 version=0 MV lat=26.959982946488832,lon=87.43416662080608}, {Node id=-169485 version=0 MV lat=26.95997369627507,lon=87.43426834363027}, {Node id=-169486 version=0 MV lat=26.959960422944715,lon=87.43439765607135}, {Node id=-169487 version=0 MV lat=26.959942940133036,lon=87.43454700071808}, {Node id=-169488 version=0 MV lat=26.959921061474674,lon=87.43470882015926}, {Node id=-169489 version=0 MV lat=26.959894600603597,lon=87.43487555698361}, {Node id=-169490 version=0 MV lat=26.959863371153105,lon=87.43503965377992}, {Node id=-169491 version=0 MV lat=26.95982718675569,lon=87.43519355313697}, {Node id=-169492 version=0 MV lat=26.95978586104295,lon=87.43532969764355}, {Node id=-169493 version=0 MV lat=26.959739207645516,lon=87.43544052988837}, {Node id=-169466 version=0 MV lat=26.959687040193,lon=87.43551849246025}]} but not found in dataset
[SEARCH WAYS] {Way id=-109261 version=0 V nodes=[{Node id=-169355 version=0 MV lat=26.959990123023385,lon=87.43407617365322}, {Node id=-169483 version=0 MV lat=26.959988359950326,lon=87.43410004500997}, {Node id=-169484 version=0 MV lat=26.959982946488832,lon=87.43416662080608}, {Node id=-169485 version=0 MV lat=26.95997369627507,lon=87.43426834363027}, {Node id=-169486 version=0 MV lat=26.959960422944715,lon=87.43439765607135}, {Node id=-169487 version=0 MV lat=26.959942940133036,lon=87.43454700071808}, {Node id=-169488 version=0 MV lat=26.959921061474674,lon=87.43470882015926}, {Node id=-169489 version=0 MV lat=26.959894600603597,lon=87.43487555698361}, {Node id=-169490 version=0 MV lat=26.959863371153105,lon=87.43503965377992}, {Node id=-169491 version=0 MV lat=26.95982718675569,lon=87.43519355313697}, {Node id=-169492 version=0 MV lat=26.95978586104295,lon=87.43532969764355}, {Node id=-169493 version=0 MV lat=26.959739207645516,lon=87.43544052988837}, {Node id=-169466 version=0 MV lat=26.959687040193,lon=87.43551849246025}]} not found using Dataset.containsWay()


Plugins:
+ FastDraw (35978)
+ PolygonCutOut (v0.7)
+ apache-commons (36034)
+ areaselector (1652822522)
+ austriaaddresshelper (1597341117)
+ buildings_tools (36011)
+ contourmerge (v0.1.9)
+ damn (0.8.0)
+ ejml (35924)
+ fastdriveway (v1.0.1)
+ geohash (106)
+ geotools (36028)
+ gridify (1606242219)
+ jackson (36034)
+ jaxb (35952)
+ jogl (1.2.3)
+ jts (36004)
+ log4j (36034)
+ opendata (36025)
+ splinex (35936)
+ utilsplugin2 (36011)

Last errors/warnings:
- 00025.880 W: Cannot lock cache directory. Will not use disk cache
- 00031.636 W: Cannot start IPv4 remotecontrol server on port 8111: Address already in use: bind
- 00031.636 W: Cannot start IPv6 remotecontrol server on port 8111: Address already in use: bind
- 129550.143 W: java.net.UnknownHostException: api.openstreetmap.org
- 129550.144 E: java.net.UnknownHostException: api.openstreetmap.org
- 129550.144 W: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.UnknownHostException: api.openstreetmap.org
- 188324.071 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Nodes in way must be in the same dataset
- 189537.549 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-169355 version=0 MV lat=26.959990123023385,lon=87.43407617365322}
- 189541.422 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-169355 version=0 MV lat=26.959990123023385,lon=87.43407617365322}
- 189552.832 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-169355 version=0 MV lat=26.959990123023385,lon=87.43407617365322}



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (24) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-169355 version=0 MV lat=26.959990123023385,lon=87.43407617365322}
	at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:198)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.isNodeReferredByWays(OsmPrimitive.java:781)
	at org.openstreetmap.josm.data.osm.Node.isReferredByWays(Node.java:329)
	at org.openstreetmap.josm.data.validation.tests.Highways.visit(Highways.java:85)
	at org.openstreetmap.josm.data.osm.Node.accept(Node.java:210)
	at org.openstreetmap.josm.data.validation.Test.visit(Test.java:216)
	at org.openstreetmap.josm.actions.upload.ValidateUploadHook.checkUpload(ValidateUploadHook.java:66)
	at org.openstreetmap.josm.actions.UploadAction.lambda$checkPreUploadConditions$0(UploadAction.java:221)
	at java.base/java.util.stream.MatchOps$1MatchSink.accept(Unknown Source)
	at java.base/java.util.LinkedList$LLSpliterator.tryAdvance(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.allMatch(Unknown Source)
	at org.openstreetmap.josm.actions.UploadAction.checkPreUploadConditions(UploadAction.java:221)
	at org.openstreetmap.josm.actions.UploadAction.uploadData(UploadAction.java:238)
	at org.openstreetmap.josm.actions.UploadAction.actionPerformed(UploadAction.java:303)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (4)

comment:1 by taylor.smock, 23 months ago

Summary: just one bugDataIntegrityProblemException: Primitive must be part of the dataset

Can you give us some idea of what you did in that upload?
For example:

  • Used gridify to make parking lots

Anyway, looking at the errors and warnings, it appears that something is adding a way to the dataset but is not adding the nodes to the dataset.

comment:2 by taylor.smock, 23 months ago

Owner: changed from team to Marek Kleciak
Status: newneedinfo

comment:3 by skyper, 22 months ago

Summary: DataIntegrityProblemException: Primitive must be part of the datasetDataIntegrityProblemException: Primitive must be part of the dataset (upload)

Similar to or duplicate of #21841.

comment:4 by taylor.smock, 16 months ago

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

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