{ "id": "176050", "key": "TIMOB-28385", "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": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" }, { "id": "21212", "description": "", "name": "Release 9.3.3", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-05-18T18:15:37.000+0000", "created": "2021-02-13T19:24:44.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ListView", "android", "regression" ], "versions": [ { "id": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-05-18T18:15:42.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": "*Platform* Android only\r\n*SDK* 9.3.0.GA, 9.3.1.GA and 9.3.2.GA\r\n\r\nListView is crashing while scrolling. This is reproducible if the ListItem has an ImageView that should load an image from url. If I roll back to 9.2.2.GA the ListView is working as expected.\r\n\r\n*Crash error*\r\n[{{ERROR] TiExceptionHandler: (main) [30297,30666] Attempt to invoke virtual method 'android.app.Activity org.appcelerator.kroll.KrollProxy.getActivity()' on a null object reference\r\n[ERROR] TiExceptionHandler:\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.view.TiDrawableReference.fromUrl(TiDrawableReference.java:163)\r\n[ERROR] TiExceptionHandler: ti.modules.titanium.ui.widget.TiUIImageView$1.downloadTaskFinished(TiUIImageView.java:105)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.util.TiDownloadManager.handleFireDownloadMessage(TiDownloadManager.java:284)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.util.TiDownloadManager.handleMessage(TiDownloadManager.java:355)\r\n[ERROR] TiExceptionHandler: android.os.Handler.dispatchMessage(Handler.java:103)\r\n[ERROR] TiExceptionHandler: android.os.Looper.loop(Looper.java:214)\r\n[ERROR] TiExceptionHandler: android.app.ActivityThread.main(ActivityThread.java:7356)\r\n[ERROR] TiExceptionHandler: java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] TiExceptionHandler: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)\r\n[ERROR] TiExceptionHandler: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)}}\r\n\r\n*Example Code*\r\n\r\nExample code in attachments\r\n\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n{code:javascript}\r\nfunction setupList() {\r\n\tvar items = []\r\n\r\n\tfor (var x = 0; x < 50; x++) {\r\n\t\titems.push({\r\n\t\t\ttemplate: 'customtemplate',\r\n\t\t\timage: {\r\n\t\t\t\timage: 'https://picsum.photos/200'\r\n\t\t\t},\r\n\t\t\ttitle: {\r\n\t\t\t\ttext: 'Item no.' + x\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\t$.section.items = items;\r\n}\r\n\r\n$.index.open();\r\n{code}\r\n\r\n\r\n\r\n\r\n\r\n", "attachment": [ { "id": "67792", "filename": "source-app.zip", "author": { "name": "mcristina.mavila", "key": "mcristina.mavila", "displayName": "Cristina Avila", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-13T19:22:47.000+0000", "size": 94040, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android ListView crash error on SDK 9.3.X", "creator": { "name": "mcristina.mavila", "key": "mcristina.mavila", "displayName": "Cristina Avila", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mcristina.mavila", "key": "mcristina.mavila", "displayName": "Cristina Avila", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Command-Line Interface, version 8.1.1\r\nCopyright (c) 2014-2021, Appcelerator, Inc. All Rights Reserved.\r\n\r\nOperating System\r\n Name = macOS\r\n Version = 11.2.1\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 64.0GB\r\n\r\nNode.js\r\n Node.js Version = 10.23.3\r\n npm Version = 6.14.11\r\n\r\nAppcelerator CLI\r\n Installer = 5.0.0\r\n Core Package = 8.1.1\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.5\r\n node-appc Version = 1.1.1\r\n\r\nTitanium SDKs\r\n 9.3.2.GA\r\n Version = 9.3.2\r\n Install Location = /Users/mcma/Library/Application Support/Titanium/mobilesdk/osx/9.3.2.GA\r\n Platforms = iphone, android\r\n git Hash = f5f8f67867\r\n git Timestamp = 2/10/2021 18:06\r\n node-appc Version = 1.1.2\r\n\r\nMac OS X\r\n Command Line Tools = installed\r\n\r\nIntel® Hardware Accelerated Execution Manager (HAXM)\r\n Not installed\r\n\r\nJava Development Kit\r\n Version = 11.0.7_8-LTS", "closedSprints": [ { "id": 1219, "state": "closed", "name": "2021 Sprint 5", "startDate": "2021-03-01T19:02:00.000Z", "endDate": "2021-03-12T19:02:00.000Z", "completeDate": "2021-03-15T03:30:49.472Z", "originBoardId": 114 }, { "id": 1224, "state": "closed", "name": "2021 Sprint 10", "startDate": "2021-05-17T16:31:32.484Z", "endDate": "2021-05-28T16:31:00.000Z", "completeDate": "2021-05-28T22:15:02.543Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "458357", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Can someone from the team please validate this? Thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-03-07T22:08:45.000+0000", "updated": "2021-03-07T22:08:45.000+0000" }, { "id": "458385", "author": { "name": "mcristina.mavila", "key": "mcristina.mavila", "displayName": "Cristina Avila", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just created a PR for this https://github.com/appcelerator/titanium_mobile/pull/12541", "updateAuthor": { "name": "mcristina.mavila", "key": "mcristina.mavila", "displayName": "Cristina Avila", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-03-11T13:34:47.000+0000", "updated": "2021-03-11T13:34:47.000+0000" }, { "id": "458392", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-03-12T13:03:23.000+0000", "updated": "2021-03-12T13:03:23.000+0000" }, { "id": "458401", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to 9_3_X, master and 10_0_X for 10.0.0 target", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2021-03-12T19:38:44.000+0000", "updated": "2021-03-12T19:38:44.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }