{ "id": "86195", "key": "TIMOB-7573", "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": "12095", "description": "", "name": "Sprint 2012-03", "archived": true, "released": true, "releaseDate": "2012-02-12" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-14T23:29:05.000+0000", "created": "2012-02-07T17:14:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_tabgroup", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [ { "id": "15110", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "86194", "key": "TIMOB-7572", "fields": { "summary": "Android: V8: Titanium.UI.TabGroup: opening tab group intermittently crashes app", "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 } } } }, { "id": "15165", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85010", "key": "TIMOB-7240", "fields": { "summary": "Android: OptionDialog can't be called several times after a tabgroup is opened and closed. ", "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": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-10T05:57:32.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": "Opening and closing a new tab group successively crashes app 1 times out of 12.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run Code.\r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'red',\r\n\tfullscreen: false,\r\n\texitOnClose: true\r\n});\r\n\r\nvar button = Ti.UI.createButton({\r\n\theight: 50,\r\n\ttitle: 'click'\r\n});\r\n\r\nbutton.addEventListener('click', function(e)\r\n{\r\n\tvar tabGroup = Ti.UI.createTabGroup();\r\n\t\r\n\tvar tabWin = Ti.UI.createWindow({\r\n\t\t\ttitle: 'blue',\r\n\t\t\tbackgroundColor: 'blue'\r\n\t\t});\r\n\t\r\n\tvar tabButton = Ti.UI.createButton({\r\n\t\t\ttitle: 'close'\r\n\t\t});\r\n\t\r\n\tvar tab = Ti.UI.createTab({\r\n\t\t\ttitle: 'blue',\r\n\t\t\twindow: tabWin\r\n\t\t});\r\n\t\r\n\ttabWin.add(tabButton);\r\n\t\r\n\ttabButton.addEventListener('click', function(e){\r\n\t\ttabGroup.close();\r\n\t});\r\n\t\r\n\ttabGroup.addTab(tab);\t\r\n\ttabGroup.open();\r\n});\r\n\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n\r\n2. Click 'click' and 'close' a dozen times. must click VERY FAST.\r\n\r\nExpected Result:\r\n\r\nNo crash.\r\n\r\nActual Result:\r\n\r\nCrash with null pointer exception. Logs attached.", "attachment": [ { "id": "25658", "filename": "rhino opening and closing tabgroup crashes app.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-07T17:14:02.000+0000", "size": 13656, "mimeType": "text/plain" }, { "id": "25659", "filename": "v8 opening and closing tabgroup crashes app.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-07T17:14:02.000+0000", "size": 19762, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Rhino: Titanium.UI.TabGroup: opening and closing new tab group in a cycle crashes app with null pointer exception", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 1.9.0.v20120207124634\r\nAndroid: Rhino\r\nStudio: 1.0.8.201201262211\r\nOS: Lion\r\nDevices Tested: Droid3 2.3.4, Android Emulator 2.2, Xoom 3.2.1", "comment": { "comments": [ { "id": "182444", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as Duplicate of TIMOB-7572.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-08T14:46:19.000+0000", "updated": "2012-02-08T14:46:19.000+0000" }, { "id": "182447", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug occurs in Rhino, not a duplicate.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-08T14:51:39.000+0000", "updated": "2012-02-08T14:51:39.000+0000" }, { "id": "182918", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with SDK 1.9.0.v20120212011634 on Droid 3.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-13T09:57:30.000+0000", "updated": "2012-02-13T09:57:30.000+0000" }, { "id": "283459", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/5074\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T05:57:32.000+0000", "updated": "2013-12-10T05:57:32.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }