{ "id": "76892", "key": "AC-2903", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-07-09T07:51:05.000+0000", "created": "2011-06-25T14:09:24.000+0000", "labels": [ "1.7.0", "android", "broken", "filesystem" ], "versions": [], "issuelinks": [], "assignee": { "name": "tguntharp", "key": "tguntharp", "displayName": "Tony Guntharp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:52.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": "Trying to access the database folder in an android device using {{Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory+'../databases')}} results in a null pointer exception ever since the 1.7.x update. The same code works on mobilesdk 1.6.2.\r\n ", "attachment": [], "flagged": false, "summary": "Ti.Filesystem.applicationDataDirectory+'../databases' returns null pointer exception", "creator": { "name": "red_tekno", "key": "red_tekno", "displayName": "Pedro Atoko", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "red_tekno", "key": "red_tekno", "displayName": "Pedro Atoko", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "\r\n\r\nmobile sdk 1.7.1\r\nTitanium studio up-to-date\r\nandroid sdk 2.2 QVGA emulator", "comment": { "comments": [ { "id": "159123", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Pedro, this was caused by a bug that existed prior to 1.7.X - you were never supposed to be able to move out of the Ti.Filesystem.applicationDataDirectory directory. See TIMOB-4543 for more info.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-09T07:50:56.000+0000", "updated": "2011-07-09T07:50:56.000+0000" }, { "id": "163113", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing after 30 days of inactivity.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-16T17:16:38.000+0000", "updated": "2011-08-16T17:16:38.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }