Solved

Android: Crash with Fatal Exception: android.database.sqlite.SQLiteDatabaseCorruptException

  • 23 February 2023
  • 1 reply
  • 165 views

Not sure if this is the perfect place to ask but lately, our Android app crashes for some users with the following exception:

Fatal Exception: android.database.sqlite.SQLiteDatabaseCorruptException
file is not a database (code 26 SQLITE_NOTADB[26]): , while compiling: PRAGMA journal_mode

MinSdk 26
TargetSdk 33
HeapVersion 1.10.5
Devices that reported the crashes have Android 10 (samsung and motorola)
The stacktrace shows either: 

com.heapanalytics.android.internal.EventDB.readBatch (EventDB.java:95)


or

com.heapanalytics.android.internal.EventDB.deleteBatch (EventDB.java:149)


I am attaching the full stacktrace below.
Any idea what might be the problem here?

icon

Best answer by julia 23 February 2023, 17:49

View original

1 reply

Userlevel 3
Badge +3

Hi @alexchar! Can you please open a Support case via the Get support page in the Heap app? From there, our Support team will be able to work with you 1:1. 

Reply