{ "id": "88603", "key": "TIMOB-8289", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-06-04T19:35:45.000+0000", "created": "2012-03-23T11:20:35.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "17631", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "92408", "key": "TIMOB-9322", "fields": { "summary": "Android: Adding Label properties after creation causes the application to crash", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T20:36:41.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": "The example that follows creates a given number of rows and columns. Each column is a simple view with a label. Each row contains the column views.\r\n\r\nWhen run with V8 the errors \"Excessive JNI global references (2001)\" followed by \"VM aborting\" are produced.\r\n\r\nThis example works with the Rhino runtime. Even changing the RowCount to 150 works with Rhino, albeit slow ;-) \r\n\r\nWith V8, this example does work if RowCount is set to 30 or less.\r\n\r\n{code:title=app.js|borderStyle=solid}\r\nvar win1 = Ti.UI.createWindow({url:'TheWindow.js'});\r\nwin1.open();\r\n{code} \r\n\r\n{code:title=TheWindow.js|borderStyle=solid}\r\nvar RowCount=35;\r\nvar ColCount=25;\r\nvar RowHeight=21;\r\nvar ColWidth=50;\r\nvar TheLabel;\r\nvar TheRow;\r\nvar TheCol;\r\n\r\nfor (var Y=1; Y<=RowCount; Y++)\r\n{\r\n TheRow=Ti.UI.createView({top:((Y-1)*RowHeight), \r\n height:RowHeight});\r\n for (var X=1; X<=ColCount; X++)\r\n {\r\n TheCol=Ti.UI.createView({left:((X-1)*ColWidth), \r\n width:ColWidth,\r\n backgroundColor:'white'});\r\n TheLabel=Ti.UI.createLabel({text:Y + '.' + X});\r\n TheCol.add(TheLabel);\r\n TheRow.add(TheCol);\r\n }\r\n Ti.UI.currentWindow.add(TheRow);\r\n}\r\n{code} ", "attachment": [], "flagged": false, "summary": "Android: Adding too many views with views to a window", "creator": { "name": "peteberry@ewrinc.com", "key": "peteberry@ewrinc.com", "displayName": "Pete Berry", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "peteberry@ewrinc.com", "key": "peteberry@ewrinc.com", "displayName": "Pete Berry", "active": true, "timeZone": "America/New_York" }, "environment": "Titanium Studio: 1.0.7.201112152014\r\nTitanium SDK: 2.0.0.v20120321071752\r\nAndroid SDK: Google APIs Android 2.3.3\r\nAndroid Runtime: V8", "comment": { "comments": [ { "id": "197192", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This appears to be caused by the same bug as TIMOB-9322.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-04T19:29:42.000+0000", "updated": "2012-06-04T19:29:42.000+0000" }, { "id": "197194", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as a duplicate. Should be resolved when the PR for TIMOB-9322 lands.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-04T19:35:45.000+0000", "updated": "2012-06-04T19:35:45.000+0000" }, { "id": "201602", "author": { "name": "peteberry@ewrinc.com", "key": "peteberry@ewrinc.com", "displayName": "Pete Berry", "active": true, "timeZone": "America/New_York" }, "body": "Confirmed fixed!\r\n\r\nThank you,\r\n\r\nPete", "updateAuthor": { "name": "peteberry@ewrinc.com", "key": "peteberry@ewrinc.com", "displayName": "Pete Berry", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-05T11:29:46.000+0000", "updated": "2012-07-05T11:29:46.000+0000" }, { "id": "414894", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate of the ticket that is mentioned above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T20:36:41.000+0000", "updated": "2017-03-22T20:36:41.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }