{ "id": "95073", "key": "TIMOB-10002", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "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": "2013-03-11T06:48:41.000+0000", "created": "2012-07-13T03:07:46.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-27T18:13:44.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": "If I put a tableview with custom tabelviewsection in a scrollableview, when I click on row and use addView method of scrollableView the application crashes.\r\n\r\nHere sample of code to reproduce the issue :\r\nApp.js is attached.\r\n\r\n(function() {\r\n//create component instance\r\nvar self = Ti.UI.createWindow({ backgroundColor:'#ffffff', navBarHidden:true, exitOnClose:true });\r\n\r\nvar tableView = Ti.UI.createTableView();\r\n\r\nvar oneSection = Ti.UI.createTableViewSection({\r\nheaderView: Ti.UI.createView({ height: '25dp', backgroundColor: '#F00' })\r\n});\r\n\r\nfor (var i=0; i < 20; i++) {\r\noneSection.add(Ti.UI.createTableViewRow({ title: 'coucou' + i, height: '40dp' })) \r\n}; \r\ntableView.setData([oneSection]);\r\n\r\nvar scrollView = Ti.UI.createScrollableView({ views: [tableView] });\r\nself.add(scrollView);\r\n\r\nvar secondView = Ti.UI.createView({ backgroundColor: '#F00' });\r\n\r\ntableView.addEventListener('click', function(item) { // crash HERE !!!!!! scrollView.addView(secondView); scrollView.moveNext(); });\r\n\r\nself.open();\r\n})();", "attachment": [ { "id": "29863", "filename": "android_crash_log", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-18T14:51:17.000+0000", "size": 10548, "mimeType": "application/octet-stream" }, { "id": "29266", "filename": "app.js", "author": { "name": "seb_logica", "key": "seb_logica", "displayName": "Sebastien", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-13T03:07:46.000+0000", "size": 987, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: Custom TableViewSection in ScrollableView crash", "creator": { "name": "seb_logica", "key": "seb_logica", "displayName": "Sebastien", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "seb_logica", "key": "seb_logica", "displayName": "Sebastien", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX, Titanium SDK 2.0.2.GA, Android 2.3", "comment": { "comments": [ { "id": "208254", "author": { "name": "seb_logica", "key": "seb_logica", "displayName": "Sebastien", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\n\r\nJust to say, it's bug is not just for iOS.\r\n\r\nRegards,\r\nSeb", "updateAuthor": { "name": "seb_logica", "key": "seb_logica", "displayName": "Sebastien", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-18T01:33:50.000+0000", "updated": "2012-07-18T01:33:50.000+0000" }, { "id": "208285", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Filer has reported that this issue occurs for both iOS and Android platforms so we should test it on all platforms.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-18T08:24:03.000+0000", "updated": "2012-07-18T08:24:03.000+0000" }, { "id": "208389", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Crash on IOS is false. It crashes because of the moveNext() method which is documented as Android only. Setting this as an android issue", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-18T14:38:17.000+0000", "updated": "2012-07-18T14:38:17.000+0000" }, { "id": "208393", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Attaching crash log from android device running 4.0.2", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-18T14:51:17.000+0000", "updated": "2012-07-18T14:51:17.000+0000" }, { "id": "208394", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Crash is in tableView layout. Setting label to core", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-18T15:04:20.000+0000", "updated": "2012-07-18T15:04:20.000+0000" }, { "id": "241531", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\r\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\r\nDevice: Samsung galaxy s duos Android version: 4.0.4\r\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-11T06:48:41.000+0000", "updated": "2013-03-11T06:48:41.000+0000" }, { "id": "415890", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as I am unable to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nMacOS 10.11.6 (15G31)\r\nStudio 4.8.1.201612050850\r\nTi SDK 6.0.3 GA\r\nAppc NPM 4.2.8\r\nAppc CLI 6.1.0\r\nTi CLI 5.0.11\r\nAlloy 1.9.5\r\nArrow 1.10.1\r\nXcode 8.2 (8C38)\r\nNode v4.6.0\r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-27T18:13:44.000+0000", "updated": "2017-03-27T18:13:44.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }