on_audio_query icon indicating copy to clipboard operation
on_audio_query copied to clipboard

android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0

Open Codesait opened this issue 4 years ago • 3 comments

That error first occurred on on_audio_query: ^2.5.2 and it persists on on_audio_query: ^2.5.3 It happens occasionally whenever i try removing a playlist and then fetch playlist again. The worst will be that this will result to the playlist not removed even after uninstalling the app . I will have to delete the item from another app before removePlaylist and remove song from playlist functions returns properly again.

E/flutter (21157): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Loading interrupted I/on_audio_error(21157): android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0 I/on_audio_error(21157): android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0

Codesait avatar Nov 29 '21 14:11 Codesait

Can you provide the Android version?

LucJosin avatar Nov 30 '21 11:11 LucJosin

Can you provide the Android version?

Got the same errors on Android 11 and 12

Codesait avatar Nov 30 '21 12:11 Codesait

Hi @Codesait. Sorry for the late replay. I made some tests and unfortunately couldn't achieve this issue. Create/Remove/Query evething is working.

Do you still with this problem? Can provide more informations?

LucJosin avatar Jan 22 '22 13:01 LucJosin