{ "id": "124844", "key": "AC-2349", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-01-19T08:52:37.000+0000", "created": "2014-01-15T23:22:49.000+0000", "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:22.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "This happens on iOS device only, on simulator it works just fine over and over again.\r\n\r\nI have a button that launches this code when touched:\r\n\r\nTi.Contacts.showContacts({\r\nanimated : false,\r\nselectedPerson : function(data){\r\n\r\n}\r\n}\r\n},\r\nselectedProperty : function(e){\r\n\r\n},\r\ncancel : function(e){\r\n\r\n}\r\n});\r\n};\r\n\r\nIf you cancel and press again multiple times you get an app crash.\r\n\r\nExcerpt from xcode:\r\n2014-01-15 15:07:54.505 1stRnd[3202:60b] -[UISectionRowData barStyle]: unrecognized selector sent to instance 0x19463d50\r\n[ERROR] The application has crashed with an uncaught exception 'NSInvalidArgumentException'.\r\nReason:\r\n-[UISectionRowData barStyle]: unrecognized selector sent to instance 0x19463d50\r\n\r\nIt also crashes if you try to select a contact then relaunch contacts and select a contact again, the error is slightly different though.\r\n\r\nI can't get it back to the error right now, but it has also given me a stack trace mentioning that a property with \"translucent\" in the name is an invalid argument.", "attachment": [], "flagged": false, "summary": "iOS: Ti.Contacts.showContacts crashes when opened multiple times", "creator": { "name": "wpccolorblind", "key": "wpccolorblind", "displayName": "josh rose", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wpccolorblind", "key": "wpccolorblind", "displayName": "josh rose", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "ios7 + on device only\r\nhappens on my iphone5 and iphone4s", "comment": { "comments": [ { "id": "288414", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nI tested this issue with the test code below. I can't reproduce this issue using TiSDK 3.2GA. Please try the code below and let us know if you notice anything different.\r\n\r\n\r\nh4. Test Environment\r\n\r\nMac OS X 10.8.5\r\nTi SDK 3.2.0.GA\r\nTi CLI 3.2.0\r\nIOS SDK 7 Device \r\nXcode 5.0.2\r\n\r\nh5. Test Code\r\n\r\napp.js\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nif (Ti.Contacts.contactsAuthorization == Ti.Contacts.AUTHORIZATION_AUTHORIZED) {\r\n\r\n} else if (Ti.Contacts.contactsAuthorization == Ti.Contacts.AUTHORIZATION_UNKNOWN) {\r\n\tTi.Contacts.requestAuthorization(function(e) {\r\n\t\tif (e.success) {\r\n\r\n\t\t}\r\n\t});\r\n}\r\n\r\nvar aButton = Ti.UI.createButton({\r\n\ttitle : 'Button',\r\n\r\n});\r\n\r\naButton.addEventListener('click', function() {\r\n\r\n\tTi.Contacts.showContacts({\r\n\t\tanimated : false,\r\n\t\tselectedPerson : function(e) {\r\n\r\n\t\t},\r\n\t\tselectedProperty : function(e) {\r\n\r\n\t\t},\r\n\t\tcancel : function(e) {\r\n\r\n\t\t}\r\n\t});\r\n});\r\n\r\nwin.add(aButton);\r\n\r\nwin.open();\r\n\r\n{code}\r\n\r\n\r\nh5. Step to Test\r\n\r\n# Create sample project in Ti Classic \r\n# Update app.js with sample code \r\n# Run on IOS device \r\n# Press to Button Mode (hundred times)\r\n# App is working without any crash \r\n\r\nThanks\r\n", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-16T04:47:39.000+0000", "updated": "2014-01-19T08:51:27.000+0000" }, { "id": "288756", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Josh,\r\n\r\nSince we can't reproduce the issue, we are marking this resolved. Please update the ticket with your updates so that we can revisit this.\r\n\r\nThanks,", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-19T08:52:37.000+0000", "updated": "2014-01-19T08:52:37.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }