{ "id": "130721", "key": "TIMOB-17005", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-21T23:41:41.000+0000", "created": "2014-05-21T07:42:38.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_app", "qe-3.3.0", "qe-testadded", "regression" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-03T04:59:55.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": "Application crashes when relaunched after certain actions.\r\n\r\nThis is a regression. The issue does not exist in 3.2.3\r\n\r\nSteps to Reproduce:\r\n1. Create a sample classic application and install it on device\r\nFollowing scenarios tested result in crash:\r\nScenario 1:\r\ni) Launch the application\r\nii) Lock and unlock the device with application in focus. The application crashes.\r\n\r\nScenario 2:\r\ni) Launch the application\r\nii) Change orientation of the device\r\niii) Now background the app to show the home screen. Open the app again. The application crashes\r\n\r\nScenario 3:\r\ni) Launch the application\r\nii) Background the app to show the home screen.\r\niii) Double click the home button to show recently used apps.\r\niv) Go back to the home screen and open the app again. The application crashes.\r\n\r\nActual Result:\r\nThe application crashes in all above scenarios. The device crash log is attached. Following exception is shown in console:\r\n{code}\r\nMay 21 15:36:52 AppC-S-iphone5s testCarsh[278] : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid type in JSON write (NSSortDescriptor)'\r\n\t*** First throw call stack:\r\n\t(0x2fb7af03 0x3a30bce7 0x2fb7ae45 0x305c1371 0x305c2efb 0x2fab6967 0x2fab688b 0x305c2b7d 0x305c12af 0x305c2efb 0x2fab6967 0x2fab688b 0x305c2b7d 0x305c12af 0x305c10c3 0x305c1f65 0x211201 0x2130d1 0x214deb 0x304be64f 0x304ae875 0x30552745 0x3a7f925f 0x3a7fa689 0x3a7fa8dd 0x3a925c17 0x3a925adc)\r\n{code}\r\n\r\nExpected Result:\r\nThe application should not crash in any of the above scenarios", "attachment": [ { "id": "48246", "filename": "CrashLog.txt", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-21T07:42:38.000+0000", "size": 40474, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Application crashes after relaunching", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio: 3.3.0.201405161313\r\nTitanium SDK: 3.3.0.v20140520141136\r\nCLI: 3.3.0-alpha4\r\nXCode: 5.1.1\r\nDevices: iPhone 5S (v7.1), iPhone 4(v7.1)", "closedSprints": [ { "id": 104, "state": "closed", "name": "2014 Sprint 10 SDK", "startDate": "2014-05-12T16:00:00.000Z", "endDate": "2014-05-24T00:00:00.000Z", "completeDate": "2014-05-27T18:11:47.424Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "306000", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I reproduced all 3 scenarios with:\r\nAppcelerator Studio, build: 3.3.0.201405161313 \r\nTitanium SDK, build: 3.3.0.v20140521074112 \r\nNode.JS Version: v0.10.13 \r\nNPM Version: 1.3.2 \r\nacs@1.0.14 \r\nalloy@1.4.0-alpha2 \r\nnpm@1.3.2 \r\ntitanium@3.3.0-alpha5 \r\ntitanium-code-processor@1.1.1\r\nXcode 5.1.1\r\nDevice:iPhone5S iOS7.1\r\n\r\nI noticed the application crashes only once on each scenario. ", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-21T22:41:16.000+0000", "updated": "2014-05-21T22:41:16.000+0000" }, { "id": "306013", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Should be resolved along with TIMOB-16989", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-21T23:41:41.000+0000", "updated": "2014-05-21T23:41:41.000+0000" }, { "id": "307977", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The application does not crash anymore with the mentioned scenarios. \r\nVerified on:\r\n|| Component || Version ||\r\n| Appcelerator Studio | 3.3.0.201405271647 |\r\n| Titanium SDK | 3.3.0.v20140606154912 |\r\n| Node | 0.10.28 |\r\n| acs | 1.0.14 |\r\n| alloy | 1.4.0-beta2 |\r\n| npm | 1.4.9 | \r\n| CLI | 3.3.0-beta2 |\r\n| Titanium-code-processor | 1.1.1 |\r\n| OS | OSX 10.9.2 |\r\n| Device | iPhone 5S (iOS 7.1) |", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-09T07:50:23.000+0000", "updated": "2014-06-09T07:50:23.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }