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

tealiumVersion = '5.2.0' SQLiteDatabaseCorruptException: database disk image is malformed #26

Closed
ghost opened this issue Jun 20, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 20, 2017

       at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(SQLiteConnection.java)
       at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:853)
       at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:974)
       at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
       at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:144)
       at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:133)
       at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:197)
       at android.database.AbstractCursor.moveToFirst(AbstractCursor.java:237)
       at com.tealium.internal.data.DispatchStore.a(Unknown Source)
       at com.tealium.internal.data.DispatchStore.update(Unknown Source)
       at com.tealium.internal.data.DispatchStore.<init>(Unknown Source)
       at com.tealium.library.c.<init>(Unknown Source)
       at com.tealium.library.c.<init>(Unknown Source)
       at com.tealium.library.Tealium.createInstance(Unknown Source)
       at co.bytemark.analytics.TealiumPlatformAnalytics.initializeAnalyticsPlatform(TealiumPlatformAnalytics.java:120)```
@craigrouse
Copy link
Contributor

@omkaramberkar we haven't seen this issue before. From a quick look online, I've found that this may be caused by an unsupported character being stored in the sqlite db, which is what we use internally for storing dispatch data when the device doesn't have a good connection. Are you passing any non-standard characters in any of your tracking calls to Tealium? How often is this issue happening, and can you reproduce it? We will take a look at our code and see if this is something we can protect against in future.

@craigrouse
Copy link
Contributor

@omkaramberkar any updates on my question above? We have not been able to reproduce this issue so far.

@craigrouse
Copy link
Contributor

@omkaramberkar We have released a fix for a separate database-related issue that may also address this problem. I will close this issue for now. Please update to SDK version 5.4.1 and let us know if you see this issue after updating.

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

1 participant