Opened 7 years ago
Closed 7 years ago
#17315 closed defect (duplicate)
pbf plugin cannot read pbf-files written by the same plugin
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin pbf | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- create new object in josm without uploading (negative ID)
- write out as pbf
- read it into josm
What is the expected result?
Data restored (or error message in step 2)
What happens instead?
Error message: java.lang.IllegalArgumentException: Expected ID >= 0
Please provide any additional information below. Attach a screenshot if possible.
pbf plugin version 34576
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-12-31 15:09:58 +0100 (Mon, 31 Dec 2018)
Build-Date:2018-12-31 14:24:10
Revision:14620
Relative:URL: ^/trunk
Identification: JOSM/1.5 (14620 de) Linux openSUSE Leap 42.3
Memory Usage: 439 MB / 910 MB (120 MB allocated, but free)
Java version: 1.8.0_191-b12, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: java-1_8_0-openjdk:x86_64-1.8.0.191
Dataset consistency test: No problems found
Plugins:
+ PicLayer (34867)
+ apache-commons (34506)
+ changeset-viewer (22)
+ pbf (34576)
+ photo_geotagging (34867)
+ poly (34867)
+ reverter (34867)
+ undelete (34877)
+ utilsplugin2 (34867)
Tagging presets:
+ ${HOME}/ada/pt4/josm/preset_pt4.xml
Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
Last errors/warnings:
- W: No configuration settings found. Using hardcoded default values for all pools.
- E: org.openstreetmap.josm.io.IllegalDataException: java.lang.IllegalArgumentException: Expected ID >= 0. Got -115.498.. Ursache: java.lang.IllegalArgumentException: Expected ID >= 0. Got -115.498.
- E: Fehler - <html>Die Datei 'test_nordsee_phase4.osm.pbf' konnte nicht gelesen werden.<br>Fehlermeldung: <br>java.lang.IllegalArgumentException: Expected ID >= 0. Got -115.498.</html>
- E: org.openstreetmap.josm.io.IllegalDataException: java.lang.IllegalArgumentException: Expected ID >= 0. Got -115.498.. Ursache: java.lang.IllegalArgumentException: Expected ID >= 0. Got -115.498.
- E: Fehler - <html>Die Datei 'test_nordsee_phase4.osm.pbf' konnte nicht gelesen werden.<br>Fehlermeldung: <br>java.lang.IllegalArgumentException: Expected ID >= 0. Got -115.498.</html>
Attachments (0)
Change History (4)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
comment:3 by , 7 years ago
Sorry for the delay. I'm waiting for the Update in OpenSUSE and I don't want to move JOSM out of the package system for a problem with an easy workaround.
comment:4 by , 7 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | needinfo → closed |
Closed as duplicate of #14545.
OK, I am pretty sure that the problem is a duplicate. Please reopen if you can reproduce it with new binaries.



Please update JOSM to r14760. That should help.