I was Expecting the playlist should be an open normal condition
Actual behavior
after opening the application when I try to open the playlist the application (Opus version 3.3.4) is crash
How to reproduce
1-Download the latest application
2-install and open the application
3- create a playlist enter the name 12
4- Goto Playlist tab
5- open the playlist 12
6 see the error
D/AndroidRuntime(26904): Shutting down VM
E/AndroidRuntime(26904): FATAL EXCEPTION: main
E/AndroidRuntime(26904): Process: com.sdg.opus, PID: 26904
E/AndroidRuntime(26904): android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 0
E/AndroidRuntime(26904): at android.database.AbstractCursor.checkPosition(AbstractCursor.java:426)
E/AndroidRuntime(26904): at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:136)
E/AndroidRuntime(26904): at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:50)
E/AndroidRuntime(26904): at android.database.CursorWrapper.getString(CursorWrapper.java:114)
E/AndroidRuntime(26904): at md52ff88170c7d9970a054602f7f7250344.PlaylistTracks.n_onLoadFinished(Native Method)
E/AndroidRuntime(26904): at md52ff88170c7d9970a054602f7f7250344.PlaylistTracks.onLoadFinished(PlaylistTracks.java:96)
E/AndroidRuntime(26904): at android.support.v4.app.LoaderManagerImpl$LoaderObserver.onChanged(LoaderManagerImpl.java:250)
E/AndroidRuntime(26904): at android.arch.lifecycle.LiveData.considerNotify(LiveData.java:109)
E/AndroidRuntime(26904): at android.arch.lifecycle.LiveData.dispatchingValue(LiveData.java:126)
E/AndroidRuntime(26904): at android.arch.lifecycle.LiveData.setValue(LiveData.java:282)
E/AndroidRuntime(26904): at android.arch.lifecycle.MutableLiveData.setValue(MutableLiveData.java:33)
E/AndroidRuntime(26904): at android.support.v4.app.LoaderManagerImpl$LoaderInfo.setValue(LoaderManagerImpl.java:189)
E/AndroidRuntime(26904): at android.support.v4.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManagerImpl.java:174)
E/AndroidRuntime(26904): at android.support.v4.content.Loader.deliverResult(Loader.java:132)
E/AndroidRuntime(26904): at android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:109)
E/AndroidRuntime(26904): at android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:41)
E/AndroidRuntime(26904): at android.support.v4.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:258)
E/AndroidRuntime(26904): at android.support.v4.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:83)
E/AndroidRuntime(26904): at android.support.v4.content.ModernAsyncTask.finish(ModernAsyncTask.java:490)
E/AndroidRuntime(26904): at android.support.v4.content.ModernAsyncTask$InternalHandler.handleMessage(ModernAsyncTask.java:507)
E/AndroidRuntime(26904): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(26904): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(26904): at android.app.ActivityThread.main(ActivityThread.java:5910)
E/AndroidRuntime(26904): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(26904): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(26904): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
E/AndroidRuntime(26904): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
Project Information
Expected behavior
I was Expecting the playlist should be an open normal condition
Actual behavior
after opening the application when I try to open the playlist the application (Opus version 3.3.4) is crash
How to reproduce
1-Download the latest application 2-install and open the application 3- create a playlist enter the name 12 4- Goto Playlist tab
5- open the playlist 12 6 see the error
Recording Of The Bug
My Github Account
https://github.com/facebook-786
Logcat