Project Information
Repository:
https://github.com/voroshkov/Chorus-RF-Laptimer
Expected behavior
user should be able to connected via wifi.
Actual behavior
while trying to connected via wifi it connects and in the mean time it is disconnected automatically.
How to reproduce
•download the app
•open the app
•click on the top right shortcut ,then select and open the connect via wifi feature and not the problem.
•Browser: crystal
•Operating system: android 7.0
•Application version: 0.7.6
Recording Of The Bug
Proof of work done
https://github.com/agunchowdhurystm
log cat
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: mai