Modify

Opened 7 days ago

Last modified 7 days ago

#17315 new defect

pbf plugin cannot read pbf-files written by the same plugin

Reported by: osm@… Owned by: Don-vip
Priority: normal Milestone:
Component: Plugin pbf Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. create new object in josm without uploading (negative ID)
  2. write out as pbf
  3. 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 &gt;= 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 &gt;= 0. Got -115.498.</html>

Attachments (0)

Change History (1)

comment:1 Changed 7 days ago by GerdP

Please update JOSM to r14760. That should help.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Don-vip.
as The resolution will be set.
to The owner will be changed from Don-vip to the specified user.
The owner will change to osm@spickermann-d.de
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from Don-vip to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.