Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I am fetching 52 rows from sqlite manager then getting following error. I have loaded all 52 rows in cursor, when i loop through cursor then it give me below error:
java - java.lang.IllegalStateException: Couldn't read row 0, col 2 from CursorWindow

Reason behind of this error is my cursorwindow size is 22 and it raise error when more then 22 rows are there.

How can i increase the cursorwindow size?

Is there any configuration to increase it?
Posted
Updated 1-Jul-15 21:49pm
v4
Comments
Richard MacCutchan 2-Jul-15 3:52am    
I don't think that is necessarily the reason. The message complains that icannot read column 2 of row 0, which implies some data is missing. You need to look more closely at the structure of your CursorWindow and how you have filled it.
amit_83 2-Jul-15 23:50pm    
Thanks for reply.
Please have a look into below link. I have similar issue.

https://code.google.com/p/android/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&groupby=&sort=&id=32472

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900