Two bugs in audio coach

aaaa shared this problem 3 years ago

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(

at android.widget.AbsListView.performItemClick(

at android.widget.AbsListView$

at android.widget.AbsListView$

at android.os.Handler.handleCallback(

at android.os.Handler.dispatchMessage(

at android.os.Looper.loop(


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



Comments (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.