doerfli / hacked

Hacked? - have i been pwned? Android App
https://play.google.com/store/apps/details?id=li.doerf.hacked
Apache License 2.0
7 stars 4 forks source link

IndexOutOfBoundsException in PwnedPassword.processResult #163

Closed doerfli closed 2 years ago

doerfli commented 2 years ago
Fatal Exception: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
       at java.util.Collections$SingletonList.get(Collections.java:4872)
       at li.doerf.hacked.remote.pwnedpasswords.PwnedPassword.processResult(PwnedPassword.kt:68)
       at li.doerf.hacked.remote.pwnedpasswords.PwnedPassword.checkPassword(PwnedPassword.kt:56)
       at li.doerf.hacked.remote.pwnedpasswords.PwnedPassword.access$checkPassword(PwnedPassword.kt:19)
       at li.doerf.hacked.remote.pwnedpasswords.PwnedPassword$checkPassword$1.invokeSuspend(:15)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

https://console.firebase.google.com/u/0/project/hackedapp-75421/crashlytics/app/android:li.doerf.hacked/issues/fa3bb8afe6cb6369e2514792575e8b19?time=last-seven-days&sessionEventKey=62D137E6011500016D7AAD492BFD7BCB_1698980097343909782