{ "id": "64997", "key": "TIMOB-3872", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11253", "name": "Sprint 2011-18", "archived": true, "released": true, "releaseDate": "2011-05-09" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-05-11T13:30:29.000+0000", "created": "2011-05-02T16:39:07.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ipass1" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-06T17:37:03.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Following code crashes:\n\n{code:title=example.js}\nvar f = Ti.Filesystem.getFile('KS_nav_ui.png');\nvar stream = f.open(Ti.Filesystem.MODE_READ); // CRASH\nstream.close();\n{code}\n\nSee [trace|http://pastie.org/private/jlvmqb1todzkhoywyahwng].", "attachment": [ { "id": "18470", "filename": "app.js", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-11T11:32:08.000+0000", "size": 1352, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: file.open(mode) crashes iOS simulator", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium Mobile 1.7.0, c52c2fd7f7, iPhone Simulator 4.1", "comment": { "comments": [ { "id": "133407", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[ERROR] Script Error = The iOS reported an error. Could not open file stream for file at path: /var/mobile/Applications/1F4F4EA2-8DE6-4C21-8B30-185F2899B7BC/TIMOB_3872.app/KS_nav_ui.png", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-11T11:11:32.000+0000", "updated": "2011-05-11T11:11:32.000+0000" }, { "id": "133408", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The code works fine in the simulator, but does not work on the device. The console reports an error (see previous comment) and the splash screen will be displayed and hang. I used the standard default application and added the \"crashing code\" to it. \n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-11T11:31:32.000+0000", "updated": "2011-05-11T11:31:32.000+0000" }, { "id": "379526", "author": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm having this problem in Ti.SDK 5.2.0.GA\r\n\r\nI have the video in the path, but Appcelerator shows me this error.", "updateAuthor": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-11T11:44:09.000+0000", "updated": "2016-03-11T11:44:09.000+0000" }, { "id": "439924", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:37:03.000+0000", "updated": "2018-08-06T17:37:03.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }