java.lang.RuntimeException: Unable to resume activity {org.fdroid.fdroid/org.fdroid.fdroid.nearby.SwapWorkflowActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=49374, result=-1, data=Intent { act=com.google.zxin
ANDROID_VERSION: '9'
APP_VERSION_NAME: 1.16.3
AVAILABLE_MEM_SIZE: 31601201152
BRAND: HUAWEI
DATE: '2023-05-27'
Message-ID: $2b$12$25cf40058269d3f41512fuOI6D40Bu.yj/6nlh5HLLrK/CmJypJaq
PACKAGE_NAME: org.fdroid.fdroid
PHONE_MODEL: VTR-TL00
STACK_TRACE_HASH: 94746e86
USER_COMMENT: ''
STACK_TRACE:
java.lang.RuntimeException: Unable to resume activity {org.fdroid.fdroid/org.fdroid.fdroid.nearby.SwapWorkflowActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=49374, result=-1, data=Intent { act=com.google.zxing.client.android.SCAN flg=0x80000 (has extras) }} to activity {org.fdroid.fdroid/org.fdroid.fdroid.nearby.SwapWorkflowActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.fdroid.fdroid.nearby.SwapService.initTimer()' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4561)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4601)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2226)
at android.os.Handler.dispatchMessage(Handler.java:112)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7779)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:990)
Caused by: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=49374, result=-1, data=Intent { act=com.google.zxing.client.android.SCAN flg=0x80000 (has extras) }} to activity {org.fdroid.fdroid/org.fdroid.fdroid.nearby.SwapWorkflowActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.fdroid.fdroid.nearby.SwapService.initTimer()' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:5209)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4540)
... 11 more
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.fdroid.fdroid.nearby.SwapService.initTimer()' on a null object reference
at org.fdroid.fdroid.nearby.SwapWorkflowActivity.inflateSwapView(SwapWorkflowActivity.java:566)
at org.fdroid.fdroid.nearby.SwapWorkflowActivity.inflateSwapView(SwapWorkflowActivity.java:557)
at org.fdroid.fdroid.nearby.SwapWorkflowActivity.showRelevantView(SwapWorkflowActivity.java:532)
at org.fdroid.fdroid.nearby.SwapWorkflowActivity.onActivityResult(SwapWorkflowActivity.java:804)
at android.app.Activity.dispatchActivityResult(Activity.java:7797)
at android.app.ActivityThread.deliverResults(ActivityThread.java:5202)
... 12 more
@