Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via Stack Overflow by KristianMedK

    You have an empty cursor. Check your query if it is not expected, or handle empty cursor with if(cursor.getCount() > 0) ...

  2. ,
    via Stack Overflow by Rejinderi

    When you get a Cursor returned from the database you should do an moveToFirst(); before trying to get data from it.

Solutions on the web

via Stack Overflow by dhali
, 2 years ago
Index -1 requested, with a size of 0
via Stack Overflow by Khaled Mohamed
, 2 years ago
Index -1 requested, with a size of 1
via Stack Overflow by mithil
, 2 years ago
via Stack Overflow by user3190959
, 2 years ago
Index -1 requested, with a size of 23
via Stack Overflow by hamedjj
, 2 years ago
Index -1 requested, with a size of 24
Empty query.