Opened 2 years ago
Closed 2 years ago
#23314 closed defect (irreproducible)
Unable to upload file, after reloading it will not load the file
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | tested |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
I can't remember, sorry
What is the expected result?
The program uploads the changeset as normal.
What happens instead?
The program will not upload the changeset. After saving, and closing and reloading the program, it will not load the file, stating:
Could not read file BG16 CUSKY demo.osm
Error is:
Way with external ID '-12821' includes node with missing ID '-30633'.
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-08-29 13:38:40 +0200 (Tue, 29 Aug 2023)
Revision:18822
Build-Date:2023-08-30 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk
Identification: JOSM/1.5 (18822 en_GB) Windows 11 64-Bit
OS Build number: Windows 10 Home 2009 (22000)
Memory Usage: 490 MB / 4064 MB (58 MB allocated, but free)
Java version: 17.0.9+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.25×1.25)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test:
[NO DATASET] {Node id=-30633 version=0 MV lat=12.868303998399137,lon=-110.17585516512393} is referenced by {Way id=-12821 version=0 V nodes=[{Node id=-30633 version=0 MV lat=12.868303998399137,lon=-110.17585516512393}, {Node id=-32024 version=0 MV lat=12.878441545138886,lon=-110.18001310513259}, {Node id=-32025 version=0 MV lat=12.905952627730617,lon=-110.1913079545212}, {Node id=-32026 version=0 MV lat=12.94648358291595,lon=-110.20797125733375}, {Node id=-32027 version=0 MV lat=12.995680979858337,lon=-110.22823455761434}, {Node id=-32028 version=0 MV lat=13.049193509954074,lon=-110.25032939940692}, {Node id=-32029 version=0 MV lat=13.102673141758348,lon=-110.27248732675554}, {Node id=-32030 version=0 MV lat=13.151775529622993,lon=-110.29293988370418}, {Node id=-32031 version=0 MV lat=13.192159658089352,lon=-110.30991861429693}, {Node id=-32032 version=0 MV lat=13.21948670418353,lon=-110.32165506257776}, {Node id=-32004 version=0 MV lat=13.229418106460066,lon=-110.32638077259065}]} but not found in dataset
[SEARCH WAYS] {Way id=-12821 version=0 V nodes=[{Node id=-30633 version=0 MV lat=12.868303998399137,lon=-110.17585516512393}, {Node id=-32024 version=0 MV lat=12.878441545138886,lon=-110.18001310513259}, {Node id=-32025 version=0 MV lat=12.905952627730617,lon=-110.1913079545212}, {Node id=-32026 version=0 MV lat=12.94648358291595,lon=-110.20797125733375}, {Node id=-32027 version=0 MV lat=12.995680979858337,lon=-110.22823455761434}, {Node id=-32028 version=0 MV lat=13.049193509954074,lon=-110.25032939940692}, {Node id=-32029 version=0 MV lat=13.102673141758348,lon=-110.27248732675554}, {Node id=-32030 version=0 MV lat=13.151775529622993,lon=-110.29293988370418}, {Node id=-32031 version=0 MV lat=13.192159658089352,lon=-110.30991861429693}, {Node id=-32032 version=0 MV lat=13.21948670418353,lon=-110.32165506257776}, {Node id=-32004 version=0 MV lat=13.229418106460066,lon=-110.32638077259065}]} not found using Dataset.containsWay()
Plugins:
+ ImproveWay (32)
+ OpeningHoursEditor (36126)
+ PolygonCutOut (v0.7.3)
+ Relation.Validation.Plugin (1.0.1)
+ apache-commons (36176)
+ areaselector (2.6.2)
+ austriaaddresshelper (88)
+ buildings_tools (36178)
+ ejml (36176)
+ log4j (36176)
+ measurement (36126)
+ osm-obj-info (66)
+ pt_assistant (1ff2e15)
+ public_transport (36126)
+ splinex (36126)
+ terracer (36181)
+ wms-turbo-challenge2 (36126)
Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
Last errors/warnings:
- 00003.667 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00016.960 E: Failed to locate image 'bus.png'
- 33991.559 E: Error header: The way with the id 32014469 has already been deleted
- 33991.661 W: Way 'building (0 nodes)' is already deleted. Skipping object in upload.
- 42859.651 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Nodes in way must be in the same dataset
- 49560.424 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-30633 version=0 MV lat=12.868303998399137,lon=-110.17585516512393}
- 49602.393 E: Error header: Placeholder node not found for reference -30633 in way -12821
- 49602.523 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<Placeholder node not found for reference -30633 in way -12821>
- 49602.530 E: Bad Request - <html>The OSM server 'https://opengeofiction.net/api/0.6/' reported a bad request.<br><br>Error message(untranslated): Placeholder node not found for reference -30633 in way -12821</html>
- 49626.571 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-30633 version=0 MV lat=12.868303998399137,lon=-110.17585516512393}
OSM API: https://opengeofiction.net/api
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: AWT-EventQueue-0 (23) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-30633 version=0 MV lat=12.868303998399137,lon=-110.17585516512393}
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.data.validation.ValidationTask.realRun(ValidationTask.java:136)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
at org.openstreetmap.josm.actions.upload.ValidateUploadHook.checkUpload(ValidateUploadHook.java:61)
at org.openstreetmap.josm.actions.UploadAction.lambda$checkPreUploadConditionsAsync$0(UploadAction.java:252)
at java.base/java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
at java.base/java.util.LinkedList$LLSpliterator.tryAdvance(LinkedList.java:1256)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:637)
at org.openstreetmap.josm.actions.UploadAction.lambda$checkPreUploadConditionsAsync$1(UploadAction.java:252)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Attachments (1)
Change History (3)
by , 2 years ago
| Attachment: | BG16 CUSKY demo.osm added |
|---|
comment:1 by , 2 years ago
Just a hint: If you delete the line containing
<nd ref='-30633' />
in a normal text editor JOSM can load the file.
Next check the way near coordinate 12.87844154514, -110.18001310513
comment:2 by , 2 years ago
| Resolution: | → irreproducible |
|---|---|
| Status: | new → closed |
What steps will reproduce the problem?
I can't remember, sorry
The missing object was most likely created by a poorly written command in a plugin. Without having some steps to reproduce, or even know which plugins you had used during that editing session, I don't think we can fix this. 11 plugins that you had installed can modify OSM data in one way or another, and that is too many to go through.
If you can give us some idea of what you were doing, it might be possible to debug this, but I wouldn't get my hopes up.



The .osm file that has seemingly corrupted itself