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

Unhandled exception: No enum constant net.pfiers.osmfocus.service.osm.NoteCommentAction.HIDDEN #54

Closed Mannivu closed 2 months ago

Mannivu commented 8 months ago

Exception details

Message: No enum constant net.pfiers.osmfocus.service.osm.NoteCommentAction.HIDDEN

What happened / what actions did you take before the bug occurred?

I simply opened the app and it crashed

Stack trace

java.lang.IllegalArgumentException: No enum constant net.pfiers.osmfocus.service.osm.NoteCommentAction.HIDDEN
    at timber.log.Timber$1$$ExternalSynthetic$IA0.valueOf(SourceFile:1)
    at net.pfiers.osmfocus.service.osmapi.NotesDownloadManager.processDownload(SourceFile:404)
    at net.pfiers.osmfocus.service.osmapi.EnvelopeDownloadManager$download$result$1$1.invokeSuspend(SourceFile:8)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
    at kotlinx.coroutines.DispatchedTask.run(SourceFile:116)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@632307d, Dispatchers.Default]

System / app info

App version: 1.5.1-fdroid
App version code: 151
App build type: release
SDK version: 33
Device name: Xiaomi 2201116TG
Locales: it-IT