Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#14788 closed defect (fixed)

OSM File Crashing JOSM

Reported by: tharindu.mathew@… Owned by: team
Priority: normal Milestone: 17.05
Component: Core Version:
Keywords: crash, osm Cc:


I'm artificially creating some osm files and this one, which I believe to be valid OSM (I can parse it in my program), is crashing JOSM. As this is artifically generated there is possibly a lot of things out of place. Still, there doesn't seem to be a problem in the validity of the OSM XML format.

Attachments (1)

remove_sign_test_4.osm (203.0 KB) - added by anonymous 17 months ago.

Download all attachments as: .zip

Change History (5)

Changed 17 months ago by anonymous

Attachment: remove_sign_test_4.osm added

comment:1 Changed 17 months ago by Don-vip

Milestone: 17.05

comment:2 Changed 17 months ago by Don-vip

Now the error is: Illegal value for attributes 'lat', 'lon' on node with ID 978. Got 'nan', 'nan'. (at line 858, column 151).

comment:3 Changed 17 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 12136/josm:

fix #14788 - add robustness against invalid coordinates in .osm files

comment:4 Changed 17 months ago by Don-vip

In 12137/josm:

see #14788 - add non-regression test

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
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.