Opened 4 years ago
Last modified 4 years ago
#22028 needinfo defect
Relation with external id 'XXX' refers to a missing primitive with external id 'YYY'
| Reported by: | sano | Owned by: | sano |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description
When trying to load a saved JOSM session I see:
Could not read file 'session.osm'. Error is: Relation with external id '918129' refers to a missing primitive with external id '-104002'.
What steps will reproduce the problem?
- Send a completed work in JOSM to the OSM db
- resolve conflicts reported by JOSM
- save the JOSM session to a file
What is the expected result?
Load the saved session to JOSM a continue editing, or submit to the OSM db
What happens instead?
When loading the saved session I receive the error shown above
Please provide any additional information below. Attach a screenshot if possible.
Revision:18427
Build-Date:2022-04-05 19:28:31
Identification: JOSM/1.5 (18427 en) Mac OS X 10.14.6
OS Build number: Mac OS X 10.14.6 (18G9216)
Memory Usage: 400 MB / 2048 MB (201 MB allocated, but free)
Java version: 17.0.2+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69731904 1440×900 (scaling 2.00×2.00)
Maximum Screen Size: 1440×900
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_SK
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=18427, --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.apple.eawt=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=/Applications/GPS/JOSM.app/Contents/MacOS/JOSM]
Plugins:
+ DirectDownload (35951)
+ DirectUpload (35951)
+ FastDraw (35893)
+ PicLayer (1.0.2)
+ RovasConnector (0.1.0)
+ apache-commons (35924)
+ apache-http (35924)
+ buildings_tools (35951)
+ editgpx (35931)
+ ejml (35924)
+ geotools (35956)
+ importvec (35893)
+ jaxb (35952)
+ jna (35924)
+ jts (35924)
+ log4j (35924)
+ opendata (35910)
+ reverter (35893)
+ shrinkwrap (v1.0.4)
+ undelete (35893)
+ utilsplugin2 (35951)
+ wikipedia (605)
Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Freemap&zip=1
Map paint styles:
+ ${HOME}/Downloads/conscriptionnumbers_v2.mapcss
Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/CzechRepublicAddressSystem&zip=1
Last errors/warnings:
- 00008.007 W: Not a single layer for the name 'GKU-NLC': []
- 00008.007 W: Not a single layer for the name 'zbgisws Ortofoto': []
- 00008.008 W: Not a single layer for the name 'zbgisws Ortofoto': []
- 00008.008 W: Not a single layer for the name 'GKU-NLC': []
- 00008.008 W: Not a single layer for the name 'GKU-NLC': []
- 00008.009 W: Not a single layer for the name 'GKU-NLC': []
- 00008.009 W: Not a single layer for the name 'GKU-NLC': []
- 00008.009 W: Not a single layer for the name 'GKU-NLC': []
- 00025.196 E: org.openstreetmap.josm.io.IllegalDataException: Relation with external id '918129' refers to a missing primitive with external id '-104002'.
- 00025.248 E: Error - <html>Could not read file 'session.osm'.<br>Error is:<br>Relation with external id '918129' refers to a missing primitive with external id '-104002'.</html>
Attachments (1)
Change History (3)
by , 4 years ago
| Attachment: | session.zip added |
|---|
comment:2 by , 4 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
One of the plugins that you have installed added or modified data on the saved layer, and did not include all the new primitives. I don't know how to fix this without better steps to reproduce.
Example:
- Start JOSM
- Using plugin Foo, do Bar
- Save file
- Open file
- Crash



zipped session data