communitymedia / mediaphone

An Android multimedia narrative app (Com-Phone Story Maker)
https://digitaleconomytoolkit.org/com-phone/
GNU Lesser General Public License v3.0
18 stars 8 forks source link

List view exception when editing frames #12

Closed simonrob closed 4 years ago

simonrob commented 4 years ago

Potentially fixed in 05464f0, but adding an issue here just in case as this is the first local encounter with this longstanding bug that is seen semi-regularly on Google Play. Error:

    java.lang.IllegalStateException: couldn't move cursor to position 1
        at android.widget.CursorAdapter.getView(CursorAdapter.java:288)
        at ac.robinson.mediaphone.view.HorizontalListView.fillListLeft(HorizontalListView.java:362)
        at ac.robinson.mediaphone.view.HorizontalListView.fillList(HorizontalListView.java:320)
        at ac.robinson.mediaphone.view.HorizontalListView.onLayout(HorizontalListView.java:267)
        at android.view.View.layout(View.java:21927)
        at android.view.ViewGroup.layout(ViewGroup.java:6260)
        at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1103)
        at android.view.View.layout(View.java:21927)
        at android.view.ViewGroup.layout(ViewGroup.java:6260)
        at android.widget.ListView.setupChild(ListView.java:2181)
        at android.widget.ListView.makeAndAddView(ListView.java:2064)
        at android.widget.ListView.fillDown(ListView.java:797)
        at android.widget.ListView.fillSpecific(ListView.java:1508)
        at android.widget.ListView.layoutChildren(ListView.java:1853)
        at android.widget.AbsListView.onLayout(AbsListView.java:2202)
        at android.view.View.layout(View.java:21927)
simonrob commented 4 years ago

No further reports since the fix linked above; marking as resolved.