[AC-2903] Ti.Filesystem.applicationDataDirectory+'../databases' returns null pointer exception
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2011-07-09T07:51:05.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | 1.7.0, android, broken, filesystem |
| Reporter | Pedro Atoko |
| Assignee | Tony Guntharp |
| Created | 2011-06-25T14:09:24.000+0000 |
| Updated | 2016-03-08T07:47:52.000+0000 |
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.
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.
Closing after 30 days of inactivity.