{ "id": "99851", "key": "AC-2273", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-09-21T13:47:27.000+0000", "created": "2012-08-27T06:24:26.000+0000", "labels": [ "Crash" ], "versions": [], "issuelinks": [], "assignee": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:16.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "In my Android developer console crash reports I can see many of my users experience crashes with the following exception:\r\n\r\njava.lang.RuntimeException: Unable to create application com.apsquared.tvfoodmaps.TvfoodmapsApplication: android.database.sqlite.SQLiteException: unable to open database file\r\nat android.app.ActivityThread.handleBindApplication(ActivityThread.java:3275)\r\nat android.app.ActivityThread.access$2200(ActivityThread.java:117)\r\nat android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)\r\nat android.os.Handler.dispatchMessage(Handler.java:99)\r\nat android.os.Looper.loop(Looper.java:123)\r\nat android.app.ActivityThread.main(ActivityThread.java:3683)\r\nat java.lang.reflect.Method.invokeNative(Native Method)\r\nat java.lang.reflect.Method.invoke(Method.java:507)\r\nat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)\r\nat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)\r\nat dalvik.system.NativeStart.main(Native Method)\r\nCaused by: android.database.sqlite.SQLiteException: unable to open database file\r\nat android.database.sqlite.SQLiteDatabase.dbopen(Native Method)\r\nat android.database.sqlite.SQLiteDatabase.(SQLiteDatabase.java:1849)\r\nat android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:820)\r\nat android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:197)\r\nat org.appcelerator.titanium.util.TiDatabaseHelper.getPlatformParam(TiDatabaseHelper.java:70)\r\nat org.appcelerator.titanium.util.TiPlatformHelper.initialize(TiPlatformHelper.java:67)\r\nat org.appcelerator.titanium.TiApplication.postAppInfo(TiApplication.java:369)\r\nat com.apsquared.tvfoodmaps.TvfoodmapsApplication.onCreate(TvfoodmapsApplication.java:34)\r\nat android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)\r\nat android.app.ActivityThread.handleBindApplication(ActivityThread.java:3272)\r\n... 10 more\r\n\r\nThe irony is my app does NOT use the DB what at all. This seems to be a pure AppC related issue.", "attachment": [], "flagged": false, "summary": "SQLite crash when not even using DB", "creator": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android\r\nSDK 2.1.1 (and other versions)", "comment": { "comments": [ { "id": "216423", "author": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This seems related to TIMOB-8622 - the big difference is that in my case I'm not even using the SQLLite DB directly.", "updateAuthor": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-28T08:48:35.000+0000", "updated": "2012-08-28T08:48:35.000+0000" }, { "id": "217654", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Frank,\r\nIt would be helpful if you can provide us a reproducible test case. \r\n\r\nRegards,\r\nAnirudh", "updateAuthor": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-05T12:24:30.000+0000", "updated": "2012-09-05T12:24:30.000+0000" }, { "id": "217662", "author": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unfortunately I can't reproduce. Although the issue is happening relatively frequently on my user's systems. As you can see in the trace above this occurs before my application code even runs.", "updateAuthor": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-05T13:07:32.000+0000", "updated": "2012-09-05T13:07:32.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }