09-05-2013 03:53 AM
We've ported our android application on Blackberry 10. And some users get "The application has stopped unexpectedly" error on launch. Stack trace of the error:
Caused by: android.database.sqlite.SQLiteException: unable to open database file at android.database.sqlite.SQLiteDatabase.dbopen(Nati
ve Method) at android.database.sqlite.SQLiteDatabase.<init>(SQLi teDatabase.java:1849) at android.database.sqlite.SQLiteDatabase.openDatabas e(SQLiteDatabase.java:820) at android.database.sqlite.SQLiteDatabase.openOrCreat eDatabase(SQLiteDatabase.java:854) at android.database.sqlite.SQLiteDatabase.openOrCreat eDatabase(SQLiteDatabase.java:847) at android.app.ContextImpl.openOrCreateDatabase(Conte xtImpl.java:544) at android.content.ContextWrapper.openOrCreateDatabas e(ContextWrapper.java:203) at android.database.sqlite.SQLiteOpenHelper.getWritab leDatabase(SQLiteOpenHelper.java:118)
On Android devices and Blackberry emulator we've never faced the error. Any help?
09-09-2013 10:18 AM
1. Which OS version are you currently running?
2. Whereabouts are you creating/reading your database?
09-09-2013 10:58 AM
This report is received from one of our customers with Blackberry z10.
The database is created with SQLiteOpenHelper. There is no multithread access. And on android and BB simulator works fine. The problem occurs only on some devices, and we don't have one, where the problem exists.
Maybe somebody met the same problem?
09-12-2013 04:26 PM
This may have been a bug that was resolved on a newer OS build.
If you can reproduce the issue, you can open a bug here : https://www.blackberry.com/jira/secure/Dashboard.j