This object is in archive! 

Two bugs in audio coach

aaaa shared this problem 7 years ago
Solved

Steps to reproduce:

1. Open audio coach settings

2. Add a training

3. Click the 3-dot button next to the new training

4. Click "Setup events"

5. Add some event

6. Click "add variable"

7. Rotate the screen

8. Click on some variable to add it. The variable won't appear in the list.

9. Rotate the screen. The variable is now shown.

10. And now a second bug. Click on the "+" button

11. Rotate the screen

12. Try to add new event. The app crashes.


Stack trace for the second bug:

java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.widget.RelativeLayout.findViewById(int)' on a null object reference

at o.cS.ˏ(:618)

at o.cS.ˈ(:217)

at o.cS.ˎ(:73775)

at o.cQ.onItemClick(:693)

at android.widget.AdapterView.performItemClick(AdapterView.java:310)

at android.widget.AbsListView.performItemClick(AbsListView.java:1145)

at android.widget.AbsListView$PerformClick.run(AbsListView.java:3081)

at android.widget.AbsListView$3.run(AbsListView.java:3947)

at android.os.Handler.handleCallback(Handler.java:739)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:5441)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)

Replies (1)

photo
1

Good morning,

I see you spend a lot of time with Locus Map & device rotation :). I'm sure, there will be a lot of similar problems, because of huge complexity that Android prepared to developers around rotation of screen.


Anyway these problems should be fixed in next version, thank you.

Replies have been locked on this page!