You have an empty cursor. Check your query if it is not expected, or handle empty cursor with
if(cursor.getCount() > 0) ...
You need to make sure that there is a data in the cursor. Check that moveToFirst() return true.
Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.