Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLiteException after 1.4.0-beta update #79

Open
Jacko1394 opened this issue Feb 17, 2020 · 2 comments
Open

SQLiteException after 1.4.0-beta update #79

Jacko1394 opened this issue Feb 17, 2020 · 2 comments

Comments

@Jacko1394
Copy link

On an Android device,

When Adding a key that was present before the sql-lite-net upgrade to v1.6
I get this exception:

Screen Shot 2020-02-17 at 3 35 31 pm

at SQLite.PreparedSqlLiteInsertCommand.ExecuteNonQuery (System.Object[] source) [0x00178] in <84b9c9e630fa45bd8ac799333976ebbf>:0
at SQLite.SQLiteConnection.Insert (System.Object obj, System.String extra, System.Type objType) [0x000ef] in <84b9c9e630fa45bd8ac799333976ebbf>:0
at SQLite.SQLiteConnection.InsertOrReplace (System.Object obj) [0x00012] in <84b9c9e630fa45bd8ac799333976ebbf>:0
at MonkeyCache.SQLite.Barrel.Add (System.String key, System.String data, System.TimeSpan expireIn, System.String eTag) [0x00039] in D:\a\1\s\src\MonkeyCache.SQLite\Barrel.cs:235
at MonkeyCache.SQLite.Barrel.Add[T] (System.String key, T data, System.TimeSpan expireIn, System.String eTag, Newtonsoft.Json.JsonSerializerSettings jsonSerializationSettings) [0x00064] in D:\a\1\s\src\MonkeyCache.SQLite\Barrel.cs:268

@jamesmontemagno
Copy link
Owner

Hmmm @praeclarum thoughts on this? Should I remove the key first?

@jamesmontemagno
Copy link
Owner

If you empty it and re-add it does it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants