You have an empty cursor. Check your query if it is not expected, or handle empty cursor with
if(cursor.getCount() > 0) ...
When you get a Cursor returned from the database you should do an moveToFirst(); before trying to get data from it.
Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.