-
Notifications
You must be signed in to change notification settings - Fork 388
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
java.lang.IllegalStateException #63
Comments
I think the problem in to save the String encoded to the SQLite, this String is 3131376 as count, maybe there is a limit of Sqlite? but i dont think so... Maybe i just need to find other way to save this heavy data ... Or maybe i can try save them "in pieces" and not all together Any suggestions? |
Hmm, how do you save them? |
Like this: Hawk.put("a", mObj); Where mObj is a HashMap<String,Object> The problem is at line 153 of SqliteStorage.class What i saw debugging was that you save on the SQLITE the string base64 encoded that represents the object i want to save on Hawk. |
need to check sqlite thoroughly, could be a limit issue indeed |
Since Sqlite is not supported with the new version, I'm closing this one. |
Caused by: java.lang.IllegalStateException: Couldn't read row 0, col 1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
So, since i got an OOM problem with the low memory devices when try to retrieve objects i have saved to Hawk, i'm now using Sqlite option like this:
.setStorage(HawkBuilder.newSqliteStorage(this))
.setLogLevel(LogLevel.FULL)
.build();
Why this? Thanks!
The text was updated successfully, but these errors were encountered: