aeternity / aepp-base

Base æpp
https://base.aepps.com
ISC License
42 stars 24 forks source link

Sometimes QR code scanner crashes on closing by arrow button #1162

Open davidyuk opened 5 years ago

davidyuk commented 5 years ago

Steps to reproduce:

davidyuk commented 5 years ago
2019-09-05 18:06:04.672 27248-27248/com.aeternity.base E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.aeternity.base, PID: 27248
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ViewGroup.removeView(android.view.View)' on a null object reference
        at com.bitpay.cordova.qrscanner.QRScanner$28.run(QRScanner.java:780)
        at android.os.Handler.handleCallback(Handler.java:836)
        at android.os.Handler.dispatchMessage(Handler.java:103)
        at android.os.Looper.loop(Looper.java:203)
        at android.app.ActivityThread.main(ActivityThread.java:6361)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)