Opened 4 years ago

Closed 3 years ago

#12567 closed defect (fixed)

Error trying to import osm.pbf map with 50000 nodes, get java.lang.IndexOutOfBoundsException: Index: 0

Reported by: gregcrago Owned by: Don-vip
Priority: normal Milestone:
Component: Plugin pbf Version: latest
Keywords: template_report Cc:


downloaded michigan-latest.osm.pbf from
used splitter with the following command:
java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r427\splitter.jar --max-nodes=50000 --mapid="12390000" --geonames-file=\MKGMAP\ --description=MI-greg --max-areas="255" --no-trim --status-freq="600" michigan-latest.osm.pbf

This produced many individual maps, all at 50,000 nodes or less

When I try to import in JOSM v9329 with pbf plugin v31772

I get this error when I try to import a map:

Could not read file '12390000.osm.pbf'. Error is: java.lang.IndexOutOfBoundsException: Index: 0

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-01-06 17:30:31 +0100 (Wed, 06 Jan 2016)
Build-Date:2016-01-06 16:32:31
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9329 en) Windows 7 64-Bit
Memory Usage: 989 MB / 989 MB (811 MB allocated, but free)
Java version: 1.8.0_40, Oracle Corporation, Java HotSpot(TM) Client VM

- pbf (31772)

Last errors/warnings:
- E: java.lang.IndexOutOfBoundsException: Index: 0. Cause: java.lang.IndexOutOfBoundsException: Index: 0

Attachments (1)

12390008.osm.pbf (735.1 KB) - added by gregcrago 4 years ago.
same error happens when this file opened in JOSM

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by gregcrago

Attachment: 12390008.osm.pbf added

same error happens when this file opened in JOSM

comment:1 Changed 4 years ago by Klumbumbus

Component: PluginPlugin pbf
Owner: changed from team to Don-vip

comment:2 Changed 3 years ago by Don-vip

Resolution: fixed
Status: newclosed

Fixed in [o32859:32861].

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.