{ "id": "176000", "key": "TIMOB-28330", "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": "21191", "name": "Release 9.3.2", "archived": false, "released": true, "releaseDate": "2021-02-11" }, { "id": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-02-02T15:59:02.000+0000", "created": "2021-01-27T15:34:42.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [ { "id": "21177", "name": "Release 9.3.1", "archived": false, "released": true, "releaseDate": "2021-01-26" }, { "id": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" } ], "issuelinks": [ { "id": "59136", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "175910", "key": "TIMOB-28290", "fields": { "summary": "Android: Scroll events do not fire for ListView and TableView", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-02-12T14:50:45.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Application crashes when scrolling a listview with zero items in the first section. \r\n\r\n*+Test Steps:+*\r\n# Create a New titanium application\r\n# Copy the test case below in to the application\r\n# Run the application\r\n# Scroll list view\r\n\r\n*+Test Case:+*\r\n{code:java}\r\nconst window = Ti.UI.createWindow();\r\nconst emptySection = Ti.UI.createListSection({ headerTitle: \"I'm an empty Section\" });\r\nconst listItems = [];\r\nfor (let index = 0; index < 100; index++) {\r\n listItems[index] = {\r\n properties: {\r\n title: \"Row \" + (index + 1).toString()\r\n }\r\n };\r\n}\r\nconst listSection = Ti.UI.createListSection({ headerTitle: \"List Section\" });\r\nlistSection.items = listItems;\r\nconst listView = Ti.UI.createListView({\r\n canScroll: true,\r\n});\r\nlistView.sections = [emptySection, listSection];\r\nwindow.add(listView);\r\nwindow.open();\r\n{code}\r\n\r\n*+Error+*\r\n{code:java}\r\n[ERROR] \b\b \bInputEventReceiver: Exception dispatching input event.\r\n[INFO] \b\b \b APSAnalyticsStore: crash.report\r\n[ERROR] \b\b \bTiExceptionHandler: (main) [3,9994] ti.modules.titanium.ui.widget.listview.ListViewProxy cannot be cast to ti.modules.titanium.ui.widget.listview.ListSectionProxy\r\n[ERROR] \b\b \bTiExceptionHandler:\r\n[ERROR] \b\b \bTiExceptionHandler: ti.modules.titanium.ui.widget.listview.TiListView.generateScrollPayload(TiListView.java:263)\r\n[ERROR] \b\b \bTiExceptionHandler: ti.modules.titanium.ui.widget.listview.TiListView$1.onScrolled(TiListView.java:98)\r\n[ERROR] \b\b \bTiExceptionHandler: androidx.recyclerview.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:5173)\r\n[ERROR] \b\b \bTiExceptionHandler: androidx.recyclerview.widget.RecyclerView.scrollByInternal(RecyclerView.java:1971)\r\n[ERROR] \b\b \bTiExceptionHandler: androidx.recyclerview.widget.RecyclerView.onTouchEvent(RecyclerView.java:3391)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.View.dispatchTouchEvent(View.java:13415)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3054)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2741)\r\n[ERROR] \b\b \bTiExceptionHandler: ti.modules.titanium.ui.widget.listview.TiNestedRecyclerView.dispatchTouchEvent(TiNestedRecyclerView.java:109)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755)\r\n[ERROR] \b\b \bTiExceptionHandler: com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:465)\r\n[ERROR] \b\b \bTiExceptionHandler: com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1849)\r\n[ERROR] \b\b \bTiExceptionHandler: android.app.Activity.dispatchTouchEvent(Activity.java:3993)\r\n[ERROR] \b\b \bTiExceptionHandler: androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:69)\r\n[ERROR] \b\b \bTiExceptionHandler: com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:423)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.View.dispatchPointerEvent(View.java:13674)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5482)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5285)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4788)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4841)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4807)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4947)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4815)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5004)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4788)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4841)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4807)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4815)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4788)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7505)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7474)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7435)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:7630)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:188)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)\r\n[ERROR] \b\b \bTiExceptionHandler: android.view.I\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: Application crashes when scrolling a listview with zero items in the first section:", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "MacOS Big Sur: 11.1 Beta 2\r\nXcode: 12.3\r\nJava Version: 1.8.0_242\r\nAndroid NDK: 21.3.6528147\r\nNode.js: 12.18.1\r\n\"\"NPM\":\"5.0.0\",\"CLI\":\"8.1.1\"\"\r\nNexus 5X API 29", "closedSprints": [ { "id": 1216, "state": "closed", "name": "2021 Sprint 3", "startDate": "2021-02-01T17:42:00.000Z", "endDate": "2021-02-12T17:42:00.000Z", "completeDate": "2021-02-12T22:01:52.235Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "458117", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/12424", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-01-29T23:50:21.000+0000", "updated": "2021-01-29T23:50:21.000+0000" }, { "id": "458118", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-01-30T08:59:24.000+0000", "updated": "2021-01-30T08:59:24.000+0000" }, { "id": "458122", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Can there be a 9.3.X release for this? Please backport to 9.3.X", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2021-02-01T02:46:28.000+0000", "updated": "2021-02-01T02:47:06.000+0000" }, { "id": "458127", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nWaiting for Jenkins build", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-02T00:07:47.000+0000", "updated": "2021-02-02T00:07:47.000+0000" }, { "id": "458136", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master for 10.0.0 target. Backport PR for 9_3_X merged (for potential 9.3.2 release).", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2021-02-02T15:03:54.000+0000", "updated": "2021-02-02T15:58:59.000+0000" }, { "id": "458232", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "updateAuthor": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2021-02-12T14:50:45.000+0000", "updated": "2021-02-12T14:50:45.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }