ubipo / osmfocus

Open source tool for examining OpenStreetMap elements by moving around on a map.
Apache License 2.0
43 stars 5 forks source link

Crash: No parameter #5 uid provided for OsmApiNode #18

Closed tuukka closed 3 years ago

tuukka commented 3 years ago
An error occurred

The app couldn't recover from the following error:

Unable to instantiate OsmApiNode:

Parameter id: expected kotlin.Long but received java.lang.Long (value: 34181010)

Parameter version: expected kotlin.Int but received java.lang.Integer (value: 1)

Parameter changeset: expected kotlin.Long but received java.lang.Long (value: 210005) 

No argument provided for a required parameter: parameter #5 uid of fun <init>(net.pfiers.osmfocus.service.osm.ElementType, kotlin.Long, kotlin.Int, kotlin.Long, `j$`.time.Instant, kotlin.Int, kotlin.String, kotlin.Double, kotlin.Double, kotlin.collections.Map<kotlin.String, kotlin.String>?): net.pfiers.osmfocus.service.osmapi.OsmApiNode

No argument provided for a required parameter: parameter #5 uid of fun <init>(net.pfiers.osmfocus.service.osm.ElementType, kotlin.Long, kotlin.Int, kotlin.Long, `j$`.time.Instant,

Screenshot_20210502-173428

ubipo commented 3 years ago

Hmm, I refactored almost everything about the OSM API parser (which this error occurred in) in v1.1.2.

Let me know if you can reproduce the issue in that version (it should get approved in the next couple of days).

ubipo commented 3 years ago

I can't reproduce this in version 1.2.0. Closing for now.