Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2903] Ti.Filesystem.applicationDataDirectory+'../databases' returns null pointer exception

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2011-07-09T07:51:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labels1.7.0, android, broken, filesystem
ReporterPedro Atoko
AssigneeTony Guntharp
Created2011-06-25T14:09:24.000+0000
Updated2016-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.

Comments

  1. Paul Dowsett 2011-07-09

    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.
  2. Paul Dowsett 2011-08-16

    Closing after 30 days of inactivity.

JSON Source