{ "id": "113337", "key": "TIMOB-13756", "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": "15547", "description": "2013 Sprint 14", "name": "2013 Sprint 14", "archived": true, "released": true, "releaseDate": "2013-07-15" }, { "id": "15548", "description": "2013 Sprint 14 API", "name": "2013 Sprint 14 API", "archived": true, "released": true, "releaseDate": "2013-07-15" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-26T22:33:59.000+0000", "created": "2013-04-24T14:02:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "listview", "qe-closed-3.1.2", "qe-testadded", "triage" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2013-08-22T12:38: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": "*Problem description*\r\nI created a ScrollableView with 3 Pages. Each page has a bunch of data displayed and a ListView. The ListView on all the 3 Pages share the same custom Template that consist of 1 level of child templates containing 6 labels each.\r\n\r\nI fed the 3 tables with 20 rows containing dummy text.\r\n\r\nThe screen renders ok, but every third page change on the scrollableview, the app crashed with the log attached to this issue.\r\n\r\n*Steps to reproduce*\r\n1. Create a new Classic Single Window Application.\r\n2. Drop the attached ApplicationWindow.js into Resources/ui/handheld/android/ApplicationWindow.js\r\n3. Run on Android device or emulator\r\n4. Scroll horizontally 3 times\r\n5. Observe crash\r\n\r\n*Test case*\r\nSee attached ApplicationWindow.js", "attachment": [ { "id": "37829", "filename": "ApplicationWindow.js", "author": { "name": "leoleal", "key": "leoleal", "displayName": "Leonardo Leal", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-04-25T14:22:14.000+0000", "size": 4861, "mimeType": "application/x-javascript" }, { "id": "37793", "filename": "log.txt", "author": { "name": "leoleal", "key": "leoleal", "displayName": "Leonardo Leal", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-04-24T14:02:03.000+0000", "size": 13607, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: ListView crashing app on ScrollableView page change", "creator": { "name": "leoleal", "key": "leoleal", "displayName": "Leonardo Leal", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "leoleal", "key": "leoleal", "displayName": "Leonardo Leal", "active": true, "timeZone": "America/Sao_Paulo" }, "environment": "Windows & OSX\r\nAny Android version (tested 2.3.3, 2.3.6, 4.2.2)\r\nTi SDK 3.1 GA and 3.2 CI", "comment": { "comments": [ { "id": "248953", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Leonardo,\r\n\r\nPlease provide a reproducible test case that we can drop into an app.js and run.\r\n\r\nThanks for your time.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-24T19:50:02.000+0000", "updated": "2013-04-24T19:50:02.000+0000" }, { "id": "249024", "author": { "name": "leoleal", "key": "leoleal", "displayName": "Leonardo Leal", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Attached ApplicationWindow.js containing the specific code that causes the crash.\r\n\r\nHow to reproduce It:\r\n- Use the sample code as your application window;\r\n- Execute the application and swipe change page to the thrid page and go back to the second page. The application will crash on Android(Any Android version: tested with 2.3.3 and 4.2.2).", "updateAuthor": { "name": "leoleal", "key": "leoleal", "displayName": "Leonardo Leal", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-04-25T14:22:14.000+0000", "updated": "2013-04-25T14:22:14.000+0000" }, { "id": "250094", "author": { "name": "herwix", "key": "herwix", "displayName": "Alexander Herwix", "active": true, "timeZone": "Europe/Berlin" }, "body": "Same problem here. No Problems on iOS when caching is large enough, so maybe there is an issue with redrawing the list if views are not cached anymore?! If there are any known workarounds or quick fixes I would really appreciate a comment, kinda stuck here as a newbie to titanium.\r\n\r\nOne idea I had was to switch to https://bitbucket.org/MostThingsWeb/virtualscroller/wiki/Home instead of scrollableView... anyone experience with it and ListViews? \r\n\r\nCheers!", "updateAuthor": { "name": "herwix", "key": "herwix", "displayName": "Alexander Herwix", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-05-03T17:45:35.000+0000", "updated": "2013-05-03T19:59:09.000+0000" }, { "id": "250156", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on Samsung Galaxy S2 Android 2.3.6 with Ti SDK 3.1 GA and 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-03T21:24:28.000+0000", "updated": "2013-05-03T21:24:28.000+0000" }, { "id": "250940", "author": { "name": "agvstin", "key": "agvstin", "displayName": "Agustín Gutiérrez", "active": true, "timeZone": "America/Argentina/Buenos_Aires" }, "body": "Same thing. Crashing on Android 2.3.1, and emulator running 2.2.\r\nAlthough it doesn't always crash on the third swipe, it does after some use (between 5 and 15)", "updateAuthor": { "name": "agvstin", "key": "agvstin", "displayName": "Agustín Gutiérrez", "active": true, "timeZone": "America/Argentina/Buenos_Aires" }, "created": "2013-05-09T05:03:23.000+0000", "updated": "2013-05-09T05:03:23.000+0000" }, { "id": "251454", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Make sure that view doesn't cleanup proxy data.\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4254", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-05-12T11:06:40.000+0000", "updated": "2013-05-12T11:06:40.000+0000" }, { "id": "262930", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "backport PR: https://github.com/appcelerator/titanium_mobile/pull/4478", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-24T00:55:49.000+0000", "updated": "2013-07-24T00:55:49.000+0000" }, { "id": "265863", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed.\n\nProvided sample application is not crashing. \nTested on device Google Nexus Galaxy 4.2.2\n\nTitanium SDK 3.1.2.v20130808180613 \nAlloy 1.2.0-alpha6\nAppcelerator Studio 3.1.2.201308082014\nCLI 3.1.2-alpha\nNode 0.10.13\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-10T01:48:59.000+0000", "updated": "2013-08-10T01:48:59.000+0000" }, { "id": "266587", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested above code and verified fix with:\nAppcelerator Studio: , build: 3.1.2.201308091728\nTitanium SDK, build: 3.1.2.v20130814124556\nCLI: 3.1.2-alpha\nAlloy: 1.2.0-alpha6\nDevice: GalaxyS3 Android version 4.0.4", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-15T00:00:40.000+0000", "updated": "2013-08-15T00:00:40.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }