{ "id": "165351", "key": "TIMOB-24360", "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": [], "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": "2019-08-05T17:13:37.000+0000", "created": "2017-01-18T10:28:58.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "defect" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-08-05T17:13:37.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": [], "description": "Populate a Ti.UI.TableView with some rows, and try to remove them using:\r\n\r\n{code:javascript}\r\n$.myTableViewReference.setData([]);\r\n// I also tried (which didnt work as well):\r\n$.myTableViewReference.data = [];\r\n{code}\r\n\r\nI've attached a screenshot of the error I'm getting through Android Monitor (this doesnt show up in my Titanium console since the app just instantly dies).\r\n\r\nAs stated, this is on Android only. I'm not having these issues with the same code on iOS.\r\n\r\nI was hoping to provide a testcase, but I cant reproduce it with a blank table like:\r\n{code:javascript}\r\nvar x = Ti.UI.createTableView();\r\nx.appendRow(Ti.UI.createTableViewRow());\r\nx.data = [];\r\n// The code above just works.\r\n{code}", "attachment": [ { "id": "61278", "filename": "Schermafbeelding 2017-01-18 om 11.18.59.png", "author": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "created": "2017-01-18T10:22:36.000+0000", "size": 58769, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Cant clear TableView anymore", "creator": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "environment": "Android Only (running 6.0.1)\r\nTi SDK 6.0.0+\r\n\r\nThe app doesnt break on 5.3.1 and below.", "comment": { "comments": [ { "id": "404792", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I am testing the below code in Android and it works as expected. \r\n{code}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n