{ "id": "78551", "key": "TIMOB-4843", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11363", "description": "Mobile 1.8.0 M10", "name": "Sprint 2011-31", "archived": true, "released": true, "releaseDate": "2011-08-08" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-08-01T11:17:42.000+0000", "created": "2011-07-31T09:41:37.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "drillbit", "filesystem", "tempdir" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:46:11.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Drillbit filesystem test \"tempDirTest\" fails due to file not found exception:\r\n\r\n\"4975 E KrollMethod: (kroll$1: app://app.js) [18,3420] Exception calling kroll method openStream, invocation: null ]\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: java.io.FileNotFoundException: /data/data/org.appcelerator.titanium.testharness/app_appdata/mnt/sdcard/Android/data/org.appcelerator.titanium.testharness/cache/_tmp/drillbit_temp_file.txt (No such file or directory)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.apache.harmony.luni.platform.OSFileSystem.openImpl(Native Method)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:152)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat java.io.FileOutputStream.(FileOutputStream.java:97)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.appcelerator.titanium.io.TiFile.getOutputStream(TiFile.java:228)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.appcelerator.titanium.io.TiFile.open(TiFile.java:284)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat ti.modules.titanium.filesystem.FilesystemModule.openStream(FilesystemModule.java:116)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat ti.modules.titanium.filesystem.FilesystemModuleBindingGen$19.invoke(FilesystemModuleBindingGen.java:621)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.appcelerator.titanium.kroll.KrollCoverage$KrollFunctionCoverage.call(KrollCoverage.java:213)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.appcelerator.titanium.testharness.Test_harnessActivity$1.run(Test_harnessActivity.java:90)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:219)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat android.os.Looper.loop(Looper.java:143)\r\n07-31 11:18:15.582 4965 4975 E KrollMethod: \tat org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86)\r\n07-31 11:18:15.699 4965 4975 W TiConvert: (kroll$1: app://app.js) [77,3549] Unsupported type class org.appcelerator.kroll.KrollProxy$1\"\r\n\r\nProblem may be due to lack of permissions but the test should be valid according to current documentation. Expected behavior is that the path returned via Ti.Filesystem.tempDirectory can be used to create and read a file with via the normal file stream mechanism.", "attachment": [], "flagged": false, "summary": "Android: Ti.Filesystem.getTempDirectory() drillbit test fails due to file not found exception", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "161306", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "issue resolved as part of #4215", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-08-01T11:17:42.000+0000", "updated": "2011-08-01T11:17:42.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }