Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I get frequently SQLiteDoneException when querying one value, why?

I get frequently SQLiteDoneException,

06-29 02:03:34.816: WARN/System.err(30470): android.database.sqlite.SQLiteDoneException: not an error
06-29 02:03:34.816: WARN/System.err(30470):     at android.database.sqlite.SQLiteStatement.native_1x1_string(Native Method)
06-29 02:03:34.816: WARN/System.err(30470):     at android.database.sqlite.SQLiteStatement.simpleQueryForString(SQLiteStatement.java:154)
06-29 02:03:34.826: WARN/System.err(30470):     at android.database.DatabaseUtils.stringForQuery(DatabaseUtils.java:669)
06-29 02:03:34.826: WARN/System.err(30470):     at android.database.DatabaseUtils.stringForQuery(DatabaseUtils.java:652)

I am doing something wrong?

like image 938
Pentium10 Avatar asked Dec 09 '22 15:12

Pentium10


1 Answers

From the docs:

An exception that indicates that the SQLite program is done. Thrown when an operation that expects a row (such as simpleQueryForString() or simpleQueryForLong()) does not get one.

I don't think is very important, but it's a warning.

like image 110
Macarse Avatar answered May 17 '23 23:05

Macarse