When would cursorindexoutofboundsexception occur?