Click multiple times, the application will crash

Words
167
Reading
1 min
Listen
Play
8y

Project Information


Expected behavior

Supposedly, The application will not cause Crash, If you click more than 1 time quickly on the check icon or minimize the type of network restriction feature.

Actual behavior

Previously I suspected there was a mistake on this feature, however I hunted it and I managed to get the problem.

The application will cause Crash, if you click more than 1 time quickly on the check icon or minimize the type of network restriction feature.

How to reproduce

  1. Instal App here
  2. Run the app
  3. In the dashboard view there is a check icon. Click on the icon more than once quickly. then, the application will crash.

11.jpg

12.jpg



Environment

  • Device : Redmi Note 5A
  • System Operating : 7.1.0 Nougat
  • App Version : 0.10.2


Recording Of The Issues



Logcat

05-26 23:44:17.792 16452 16452 E AndroidRuntime: FATAL EXCEPTION: main
05-26 23:44:17.792 16452 16452 E AndroidRuntime: Process: com.v2ray.actinium, PID: 16452
05-26 23:44:17.792 16452 16452 E AndroidRuntime: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
05-26 23:44:17.792 16452 16452 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    ... 1 more
05-26 23:44:17.792 16452 16452 E AndroidRuntime: Caused by: android.os.DeadObjectException
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at android.os.BinderProxy.transactNative(Native Method)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at android.os.BinderProxy.transact(Binder.java:618)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at com.v2ray.actinium.a.a$a$a.b(Unknown Source)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at com.v2ray.actinium.ui.MainActivity$c.onServiceDisconnected(Unknown Source)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1477)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1491)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:754)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:163)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:6361)
05-26 23:44:17.792 16452 16452 E AndroidRuntime:    ... 3 more

Proof Of Work Done

Submit in github
Problem Report
Click multiple times, the application will crash | Ecency