{ "id": "174091", "key": "AC-6354", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2019-10-19T23:12:18.000+0000", "created": "2019-09-04T06:01:26.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-10-19T23:12:18.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "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": "so, we moved up from sdk 8.0.1.GA to 8.1.1.GA,\r\nAndroid: All good now\r\nios: crashes more often, in almost next button click.\r\n\r\nOn investigation, we get this crash logs. Not sure what it is about, no problem on the previous version though\r\n\r\nApplication Specific Information:\r\n*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[TiUIViewProxy unboundBridge:]: unrecognized selector sent to class 0x10ee35440'\r\nterminating with uncaught exception of type NSException\r\nabort() called\r\nCoreSimulator 587.35 - Device: iPhone 7 Plus (99B6CB8F-AB02-4B2B-B9E5-3A798024C1FB) - Runtime: iOS 12.2 (16E226) - DeviceType: iPhone 7 Plus", "attachment": [ { "id": "66952", "filename": "build_iphone.log", "author": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-19T00:38:42.000+0000", "size": 3084296, "mimeType": "text/plain" }, { "id": "66953", "filename": "log", "author": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-19T00:39:57.000+0000", "size": 115820, "mimeType": "text/html" }, { "id": "66913", "filename": "Lucidity_2019-09-04-154819_Suchans-MacBook-Pro.crash", "author": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-04T06:01:10.000+0000", "size": 143027, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "titanium sdk 8.1.1.GA crashing ios with uncaught exception 'NSInvalidArgumentException' error", "creator": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "451075", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nThanks for reaching out to us. It would be great if you can attach a simple test project to reproduce the issue on our end. Can you please test it for a new project?", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-09-04T09:14:04.000+0000", "updated": "2019-09-04T09:14:04.000+0000" }, { "id": "451106", "author": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Rakhi Mitro yeah, that was the hard part, I cannot pinpoint an exact code that triggers the crash. For a new project, I cannot replicate that but tbh it won't be as complex as the current project.\r\nP.S. It was easier to find an issue on android, with ti-shadow I could use \"Pause on exception\" on Chrome dev tool. but it doesn't work on ios. Is there any similar way for ios?", "updateAuthor": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-04T23:09:57.000+0000", "updated": "2019-09-04T23:09:57.000+0000" }, { "id": "451489", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Can you share a trace log on the crash, Run the project in terminal mode with -l trace tag. And send the log here. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-09-18T23:26:38.000+0000", "updated": "2019-09-18T23:26:38.000+0000" }, { "id": "451491", "author": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sure, here is the log copied from the terminal (attached full). Let me know if it stored in any log file. Also attached build_iphone.log. \r\n\"[TRACE] Window is not open. Ignoring this close call\" is normally around when the crash happens, is that anything? [^build_iphone.log] \r\n\r\n{code:java}\r\n [^log] \r\n[TRACE] Preparing to send logs\r\n[INFO] [2019-09-19T10:30:21+10:00] [16] Form Record: Opened form record with uuid: 23f20e49-5e1c-4840-ad3b-92e88d62e599\r\n[DEBUG] [2019-09-19T10:30:21+10:00] Form Record: Took 85 ms to set up form with uuid: 23f20e49-5e1c-4840-ad3b-92e88d62e599\r\n[DEBUG] [2019-09-19T10:30:21+10:00] Form Widget: open callback\r\n[WARN] Automatic setter methods for properties are deprecated in SDK 8.0.0 and will be removed in SDK 9.0.0. Please modify the property in standard JS style: obj.enabled = value; or obj['enabled'] = value;\r\n[WARN] Automatic setter methods for properties are deprecated in SDK 8.0.0 and will be removed in SDK 9.0.0. Please modify the property in standard JS style: obj.enabled = value; or obj['enabled'] = value;\r\n[WARN] Automatic setter methods for properties are deprecated in SDK 8.0.0 and will be removed in SDK 9.0.0. Please modify the property in standard JS style: obj.title = value; or obj['title'] = value;\r\n[DEBUG] [2019-09-19T10:30:21+10:00] Form Widget: There are now (1) registered callback(s) for event: app:deleteTableRow with uuid: 38f7add2-236c-4b20-a10f-da733a2d0965\r\n[DEBUG] [2019-09-19T10:30:21+10:00] Form Edit: stopping loading overlay with uuid: 23f20e49-5e1c-4840-ad3b-92e88d62e599\r\n[DEBUG] [2019-09-19T10:30:21+10:00] Form Widget: There are now (2) registered callback(s) for event: app:formElementUpdated with uuid: 38f7add2-236c-4b20-a10f-da733a2d0965\r\n[DEBUG] [2019-09-19T10:30:21+10:00] Form Widget: There are now (1) registered callback(s) for event: app:formElementFocus with uuid: 38f7add2-236c-4b20-a10f-da733a2d0965\r\n[TRACE] Successfully sent logs\r\n[TRACE] Successfully sent logs\r\n[TRACE] Successfully sent logs\r\n[DEBUG] [2019-09-19T10:30:22+10:00] Network Call: Received response of size 0 KB for call to https://ci-integ11000informrecordsync.luciditysoftware.com.au/api/v3/app/lucidity/inform with uuid: undefined and Transaction uuid 59f3e8a9-a972-4359-9928-dc00f8f70a50\r\n[DEBUG] [2019-09-19T10:30:22+10:00] System: Server version: 14.10.0, Required version: 11.0.0, Minimum server requirement Met with reason: Determine which fetch data API to use\r\n[DEBUG] [2019-09-19T10:30:22+10:00] System: test that feature exists 'app_enable_api_pagination_and_searching' is 'false'\r\n[TRACE] [2019-09-19T10:30:22+10:00] System: requirementsMet with result : false\r\n[DEBUG] [2019-09-19T10:30:22+10:00] Inform Record Service: Refreshing form records\r\n[DEBUG] [2019-09-19T10:30:22+10:00] Inform Record Service: Saved to network with remote id:32 with uuid: 23f20e49-5e1c-4840-ad3b-92e88d62e599\r\n[DEBUG] [2019-09-19T10:30:22+10:00] Inform Record Service: save record data: {\"id\":\"32\",\"uuid\":\"23f20e49-5e1c-4840-ad3b-92e88d62e599\",\"status\":\"NOT_STARTED\",\"respondent_id\":1,\"division_id\":null,\"business_unit_id\":null,\"location_id\":null,\"department_id\":null,\"project_id\":null,\"form_version_id\":2,\"score\":null,\"total_score\":null,\"created_at\":\"2019-09-19 10:30:20\",\"updated_at\":\"2019-09-19 10:30:20\",\"responses\":null,\"requires_sync\":0,\"company_id\":null,\"office_id\":null,\"identifier\":null,\"score_percent\":null,\"search_terms\":null,\"deleted\":null,\"form_name\":\"Field Duty Time Card\",\"last_modified_at\":\"2019-09-19 10:30:20\"}\r\n[DEBUG] [2019-09-19T10:30:22+10:00] System: Server version: 14.10.0, Required version: 11.0.0, Minimum server requirement Met with reason: Determine which fetch data API to use update Form Counter\r\n[DEBUG] [2019-09-19T10:30:22+10:00] System: test that feature exists 'app_enable_api_pagination_and_searching' is 'false'\r\n[TRACE] [2019-09-19T10:30:22+10:00] System: requirementsMet with result : false\r\n[DEBUG] [2019-09-19T10:30:22+10:00] Agenda: Updating outstanding form count\r\n[TRACE] [2019-09-19T10:30:22+10:00] Agenda: count 18 event: {\"action\":\"init\",\"number\":17}\r\n[WARN] Automatic setter methods for properties are deprecated in SDK 8.0.0 and will be removed in SDK 9.0.0. Please modify the property in standard JS style: obj.text = value; or obj['text'] = value;\r\n[DEBUG] [2019-09-19T10:30:22+10:00] Agenda: Updating outstanding form count\r\n[TRACE] [2019-09-19T10:30:22+10:00] Agenda: count 17 event: {\"action\":\"init\",\"number\":17}\r\n[WARN] Automatic setter methods for properties are deprecated in SDK 8.0.0 and will be removed in SDK 9.0.0. Please modify the property in standard JS style: obj.text = value; or obj['text'] = value;\r\n[DEBUG] [2019-09-19T10:30:23+10:00] Photo Gallery: is dirty false\r\n[DEBUG] [2019-09-19T10:30:23+10:00] Photo Gallery: is dirty false\r\n[DEBUG] [2019-09-19T10:30:23+10:00] Form Edit: testing if from needs saving: false\r\n[DEBUG] photogalary is dirty: false \r\n[DEBUG] form isDirty: false \r\n[DEBUG] admin form isDirty: false\r\n[DEBUG] was triggered by: saveFormRecord\r\n[DEBUG] with uuid: 23f20e49-5e1c-4840-ad3b-92e88d62e599\r\n[DEBUG] [2019-09-19T10:30:23+10:00] Photo Gallery: is dirty false\r\n[DEBUG] [2019-09-19T10:30:23+10:00] Form Edit: stopping loading overlay with uuid: 23f20e49-5e1c-4840-ad3b-92e88d62e599\r\n[TRACE] [2019-09-19T10:30:23+10:00] Form Edit: closing window with uuid: 23f20e49-5e1c-4840-ad3b-92e88d62e599\r\n[DEBUG] [2019-09-19T10:30:23+10:00] Form Edit: stopping loading overlay with uuid: 23f20e49-5e1c-4840-ad3b-92e88d62e599\r\n[TRACE] [2019-09-19T10:30:23+10:00] Form Edit: cleaning up with uuid: 23f20e49-5e1c-4840-ad3b-92e88d62e599\r\n[TRACE] [2019-09-19T10:30:23+10:00] Form Widget: removing global listener for : app:formElementUpdated\r\n[TRACE] [2019-09-19T10:30:23+10:00] Form Widget: removing global listener for : app:formElementUpdated\r\n[TRACE] [2019-09-19T10:30:23+10:00] Form Widget: removing global listener for : app:deleteTableRow\r\n[TRACE] [2019-09-19T10:30:23+10:00] Form Widget: removing global listener for : app:formElementFocus\r\n[TRACE] [2019-09-19T10:30:23+10:00] Time Element Widget: cleanup\r\n[TRACE] [2019-09-19T10:30:23+10:00] Time Element Widget: cleanup\r\n[TRACE] [2019-09-19T10:30:23+10:00] Date Element Widget: cleanup\r\n[TRACE] Window is not open. Ignoring this close call\r\n-- End application log -------------------------------------------------------\r\n{code}\r\n\r\n", "updateAuthor": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-19T00:39:59.000+0000", "updated": "2019-09-19T00:40:50.000+0000" }, { "id": "451504", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~luke_lu], It was found that when opening a second window within an app, calling the close() method will actually close both windows. I believe you are doing such a task in your app? This only occurs when is set to TRUE, which is the default configuration. Try to set this to false in tiapp.xml and see what happens? This should fix it. Let us know. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-09-19T16:39:45.000+0000", "updated": "2019-09-19T16:39:45.000+0000" }, { "id": "451520", "author": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Sharif, Thanks for helping out, Yeah it's related to close mostly.\r\nso, I cleaned everything and started over from installing appcelerator/alloys...\r\nchanged tiapp.xml\r\nfalse\r\n\r\nOutput: \r\n- Still the same, the crash does happen again\r\n- Weird thing on UI, UI kinda zoomed (?)\r\n\r\nso, back to true , also there wont be this issue on 8.0.1.GA\r\n\r\nLet me know what else we could do ?", "updateAuthor": { "name": "luke_lu", "key": "luke_lu", "displayName": "Luke Lu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-19T23:58:11.000+0000", "updated": "2019-09-19T23:58:11.000+0000" }, { "id": "451585", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, with false the crash should be reduced than before? Also, Can you share the zoomed behavior? Hello, we need a sample test case that demonstrates the behavior in SDK 8.1.1.GA. Right not it's working fine in SDK 8.0.1.GA? We need a sample code to verify the difference between the two SDK. Thanks. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-09-23T21:24:23.000+0000", "updated": "2019-09-23T21:24:23.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }