- Status New
- Percent Complete
- Task Type Task
- Category App
- Assigned To No-one
- Operating System All
- Severity Medium
- Priority Normal
- Reported Version Conversations+ 0.0.7
- Due in Version Undecided
- Due Date Undecided
- Votes 0
- Private No
FS#240 - Check reasons of occurence of "CursorIndexOutOfBoundsException"
Check the reasons of "CursorIndexOutOfBoundsException" and decide if there is sth. to do to prevent this to happen.
android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
at android.database.AbstractCursor.checkPosition(AbstractCursor.java:418)
at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:136)
at android.database.AbstractWindowedCursor.getInt(AbstractWindowedCursor.java:68)
at de.thedevstack.conversationsplus.persistance.db.access.CursorHelper.getInt(CursorHelper.java:156)
at de.thedevstack.conversationsplus.persistance.db.access.CursorHelper.getInt(CursorHelper.java:51)
at de.thedevstack.conversationsplus.persistance.db.access.MessageDatabaseAccess.populateMessageParametersFromCursor(MessageDatabaseAccess.java:94)
at de.thedevstack.conversationsplus.persistance.db.access.MessageDatabaseAccess.populateMessageParameters(MessageDatabaseAccess.java:154)
at de.thedevstack.conversationsplus.persistance.DatabaseBackend.getMessages(DatabaseBackend.java:538)
at de.thedevstack.conversationsplus.persistance.DatabaseBackend.getMessages(DatabaseBackend.java:513)
at de.thedevstack.conversationsplus.services.XmppConnectionService$14.run(XmppConnectionService.java:1027)
at de.thedevstack.conversationsplus.utils.SerialSingleThreadExecutor$1.run(SerialSingleThreadExecutor.java:18)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
at android.database.AbstractCursor.checkPosition(AbstractCursor.java:418)
at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:136)
at android.database.AbstractWindowedCursor.getInt(AbstractWindowedCursor.java:68)
at de.thedevstack.conversationsplus.persistance.db.access.CursorHelper.getInt(CursorHelper.java:156)
at de.thedevstack.conversationsplus.persistance.db.access.CursorHelper.getInt(CursorHelper.java:51)
at de.thedevstack.conversationsplus.persistance.db.access.MessageDatabaseAccess.populateMessageParametersFromCursor(MessageDatabaseAccess.java:94)
at de.thedevstack.conversationsplus.persistance.db.access.MessageDatabaseAccess.populateMessageParameters(MessageDatabaseAccess.java:154)
at de.thedevstack.conversationsplus.persistance.DatabaseBackend.getMessages(DatabaseBackend.java:538)
at de.thedevstack.conversationsplus.persistance.DatabaseBackend.getMessages(DatabaseBackend.java:513)
at de.thedevstack.conversationsplus.services.XmppConnectionService$14.run(XmppConnectionService.java:1027)
at de.thedevstack.conversationsplus.utils.SerialSingleThreadExecutor$1.run(SerialSingleThreadExecutor.java:18)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)