voroshkov / Chorus-RF-Laptimer

MIT License
185 stars 54 forks source link

The Chorus RF Laptimer v 0.75 application crashes when trying to reenter it #89

Open ammarraisafti opened 6 years ago

ammarraisafti commented 6 years ago

Expected behavior

After opening the Connect via Bluetooth feature, then switch to landscape display mode. the ability to switch to landscape view mode should be possible. And once the user exits the app. the ability to enter into the application too should be possible.

Actual behavior

After unlocking the Connect via Bluetooth feature, then switching to landscape display mode, I redirected to the main page of the app. Next I minimize the app, then log back into the app, suddenly the application crashes and stops.

How to reproduce

  1. Install and open the app.

  2. Click the top right shortcut, then select and open the Connect via Bluetooth feature.

  3. Next you have to switch to landscape display mode, then you will find the problem as I have experienced. Redirected to app main page.

  4. Next you have to minimize the application, then log back into the application. Then you will find the problem as I have experienced. The application suddenly crashes and stops.

Recording Of The Bug

https://youtu.be/NFWPiGtgMm0

Logcat

--------- beginning of crash 05-23 19:23:01.939 13357 13357 E AndroidRuntime: FATAL EXCEPTION: main 05-23 19:23:01.939 13357 13357 E AndroidRuntime: Process: app.andrey_voroshkov.chorus_laptimer, PID: 13357 05-23 19:23:01.939 13357 13357 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'int app.akexorcist.bluetotohspp.library.b.a()' on a null object reference 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at app.akexorcist.bluetotohspp.library.a.b(Unknown Source) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at app.andrey_voroshkov.chorus_laptimer.c.a(Unknown Source) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at app.andrey_voroshkov.chorus_laptimer.b.a(Unknown Source) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at app.andrey_voroshkov.chorus_laptimer.p$2.onClick(Unknown Source) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at android.view.View.performClick(View.java:6205) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at android.widget.TextView.performClick(TextView.java:11103) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at android.widget.CompoundButton.performClick(CompoundButton.java:130) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:23653) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:751) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6682) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520) 05-23 19:23:01.939 13357 13357 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410) 05-23 19:23:01.961 3702 4517 D Debug : !@DumpState : SHIP 05-23 19:23:01.961 3702 4517 D Debug : !@DumpState : debug level:0x4f4c 05-23 19:23:01.961 3702 4517 D Debug : !@Dumpstate : Finally, system will skip dumpstate 05-23 19:23:01.966 3702 4517 W ActivityManager: Force finishing activity