View Issue Details

IDProjectCategoryView StatusLast Update
0007480Talerwallet (Android App)public2022-11-17 20:24
Reportersebasjm Assigned Togrote  
Status assignedResolutionopen 
Product Versiongit (master) 
Target Version0.9.1 
Summary0007480: exchange crash: opening the app before kudos exchange is added

type: crash
package: net.taler.wallet.fdroid:20
process: net.taler.wallet.fdroid

java.lang.AssertionError: Wallet core failed to return exchanges!
   at net.taler.wallet.backend.WalletResponse.onError(WalletResponse.kt:17)
   at android.os.Handler.handleCallback(
   at android.os.Handler.dispatchMessage(
   at android.os.Looper.loopOnce(
   at android.os.Looper.loop(
   at java.lang.reflect.Method.invoke(Native Method)
   at Method)
   Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException:
[StandaloneCoroutine{Cancelling}@142c24c, Dispatchers.Main.immediate]
TagsNo tags attached.



2022-11-17 18:50

developer   ~0019437

From Florian:

This can actually happen. We were hiding this case before, but that was
effectively hiding errors that we can now surface to the user.

Example: We have "" as a built-in trusted
exchange for "KUDOS". When the wallet starts the first time, we have
never contacted "" before, so we technically
don't know its actual supported currency yet. But we still want it
included in the getExchanges response, so that we can surface errors
when updating the exchange /keys and /wire info fails. Thus it'll have
status "unknown" and no currency. (We could also report the currency as
KUDOS in this case, but we still would have the "unknown" case for other
attributes of the exchange)

Issue History

Date Modified Username Field Change
2022-11-17 18:43 sebasjm New Issue
2022-11-17 18:43 sebasjm Status new => assigned
2022-11-17 18:43 sebasjm Assigned To => grote
2022-11-17 18:50 grote Note Added: 0019437
2022-11-17 20:24 sebasjm Target Version git (master) => 0.9.1