Chorus RF Laptimer v 0.7.6 Crash when clicking the plus icon (+) in android 7.0

in #utopian-io6 years ago (edited)

Project Information

Expected behavior

After disabling the Speak Messages feature and the Speak Lap Times feature, then minimize the app.It should be when I re-enter to the app, the Speak Messages feature and the Speak Lap Times feature are no longer active by itself.And when I turn those two features off again, then click the plus icon (+), to add Time to Prepare for Race.The ability to add Time to Prepare for Race should be possible.

Actual behavior

After disabling the Speak Messages feature and the Speak Lap Times feature, I minimize the app. And when I reentered the app, l look the Speak Messages feature and the Speak Lap Times feature have been enabled by itself. And I deactivate again both features, then click the plus (+) icon to add Time to Prepare for Race.Suddenly the application crashes and stops.

How to reproduce

  • Launch app.
  • Disable the Speak Messages feature and Speak Lap Times feature.
  • Minimize apps.
  • Log back into the app.
  • Both features that have been disabled, have been reactivated.
  • Disable both features again.
  • Then click the plus icon (+) in the section Times to Prepare for Race menu.
  • Then you will find the problem as I have explained.
  • The application crashes and suddenly stops.

Browser: Samsung Galaxy S6 edge
Operating system: Nougat 7.0
App version: 0.7.6

Recording Of The Bug

Proof of work done

https://github.com/ammarraisafti

Logcat

05-29 14:56:15.376 16612 16612 E AndroidRuntime: FATAL EXCEPTION: main
05-29 14:56:15.376 16612 16612 E AndroidRuntime: Process: app.andrey_voroshkov.chorus_laptimer, PID: 16612
05-29 14:56:15.376 16612 16612 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{app.andrey_voroshkov.chorus_laptimer/app.andrey_voroshkov.chorus_laptimer.MainActivity}: java.lang.IllegalStateException: Fragment p{567db36} not attached to Activity
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.app.ActivityThread.-wrap14(ActivityThread.java)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:154)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:6682)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
05-29 14:56:15.376 16612 16612 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Fragment p{567db36} not attached to Activity
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.support.v4.b.l.d(Unknown Source)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.support.v4.b.l.a(Unknown Source)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p.c(Unknown Source)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p.a(Unknown Source)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p$1.a(Unknown Source)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.b.a(Unknown Source)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.b.v(Unknown Source)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.a.b(Unknown Source)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.a.d(Unknown Source)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.MainActivity.onCreate(Unknown Source)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.app.Activity.performCreate(Activity.java:6942)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2880)
05-29 14:56:15.376 16612 16612 E AndroidRuntime:    ... 9 more
05-29 14:58:55.392 16791 16791 E AndroidRuntime: FATAL EXCEPTION: main
05-29 14:58:55.392 16791 16791 E AndroidRuntime: Process: app.andrey_voroshkov.chorus_laptimer, PID: 16791
05-29 14:58:55.392 16791 16791 E AndroidRuntime: java.lang.IllegalStateException: Fragment p{cbb09b9} not attached to Activity
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at android.support.v4.b.l.d(Unknown Source)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at android.support.v4.b.l.a(Unknown Source)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p.c(Unknown Source)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p.a(Unknown Source)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p$1.a(Unknown Source)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.b.a(Unknown Source)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.b.v(Unknown Source)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p$20.onClick(Unknown Source)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at android.view.View.performClick(View.java:6205)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at android.widget.TextView.performClick(TextView.java:11103)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at android.view.View$PerformClick.run(View.java:23653)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:751)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:154)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:6682)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
05-29 14:58:55.392 16791 16791 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
05-29 14:59:06.212 18009 18009 E AndroidRuntime: FATAL EXCEPTION: main
05-29 14:59:06.212 18009 18009 E AndroidRuntime: Process: app.andrey_voroshkov.chorus_laptimer, PID: 18009
05-29 14:59:06.212 18009 18009 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{app.andrey_voroshkov.chorus_laptimer/app.andrey_voroshkov.chorus_laptimer.MainActivity}: java.lang.IllegalStateException: Fragment p{5118798} not attached to Activity
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.app.ActivityThread.-wrap14(ActivityThread.java)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:154)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:6682)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
05-29 14:59:06.212 18009 18009 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Fragment p{5118798} not attached to Activity
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.support.v4.b.l.d(Unknown Source)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.support.v4.b.l.a(Unknown Source)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p.c(Unknown Source)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p.a(Unknown Source)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p$1.a(Unknown Source)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.b.a(Unknown Source)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.b.v(Unknown Source)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.a.b(Unknown Source)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.a.d(Unknown Source)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.MainActivity.onCreate(Unknown Source)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.app.Activity.performCreate(Activity.java:6942)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2880)
05-29 14:59:06.212 18009 18009 E AndroidRuntime:    ... 9 more
05-29 14:59:12.505 18128 18128 E AndroidRuntime: FATAL EXCEPTION: main
05-29 14:59:12.505 18128 18128 E AndroidRuntime: Process: app.andrey_voroshkov.chorus_laptimer, PID: 18128
05-29 14:59:12.505 18128 18128 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{app.andrey_voroshkov.chorus_laptimer/app.andrey_voroshkov.chorus_laptimer.MainActivity}: java.lang.IllegalStateException: Fragment p{1ce23d6} not attached to Activity
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.app.ActivityThread.-wrap14(ActivityThread.java)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:154)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:6682)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
05-29 14:59:12.505 18128 18128 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Fragment p{1ce23d6} not attached to Activity
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.support.v4.b.l.d(Unknown Source)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.support.v4.b.l.a(Unknown Source)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p.c(Unknown Source)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p.a(Unknown Source)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.p$1.a(Unknown Source)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.b.a(Unknown Source)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.b.v(Unknown Source)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.a.b(Unknown Source)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.a.d(Unknown Source)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at app.andrey_voroshkov.chorus_laptimer.MainActivity.onCreate(Unknown Source)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.app.Activity.performCreate(Activity.java:6942)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2880)
05-29 14:59:12.505 18128 18128 E AndroidRuntime:    ... 9 more</code>```
Sort:  

Hi @ammarraisafti, thanks for making this report.

Sadly, as with your previous report. There is not a proof to show that you tested this by connecting with an arduino or any supported device via a wifi or bluetooth module setup as it is specified in the instructions made available here.

Please make sure you have these hardware in place before running checks or making contributions to this project.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thank you very much moderator @fego

Hey @ammarraisafti
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.20
TRX 0.14
JST 0.029
BTC 67865.46
ETH 3258.03
USDT 1.00
SBD 2.64