{ "id": "98039", "key": "TIMOB-10152", "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-08-27T16:22:35.000+0000", "created": "2012-07-26T00:38:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "qe-and070112" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [ { "id": "19646", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "94645", "key": "TIMOB-9911", "fields": { "summary": "Android: Action Bar Navigation Tabs", "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": "Medium", "id": "3" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } }, { "id": "20280", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "99038", "key": "TIMOB-10406", "fields": { "summary": "Android: KS crashes on Galaxy Tab and HTC Sensation 4G on V8 only", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "19495", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "98287", "key": "TIMOB-10227", "fields": { "summary": "Android: Kitchensink crashes on relaunch after opening a tab and leave the device idle for sometime.", "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": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-10T19:10:11.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": "On android platform,Application doesn't display contents on screen and crashes when hardware back button is pressed on Samsung Note\r\n\r\nThis is not a regression.It even occurs on 2.1.0,but works fine on 2.0.2 and 2.0.1.\r\nThe issue is occurring only on Samsung Galaxy Note GT-7000 (2.3.6) and does not happens on Android Emulator(2.3.3), Samsung Tab (3.2),LG P970 (2.2)\r\n\r\nSteps to Reproduce:\r\n\r\n1. Install the app and launch it on to the Android Samsung galaxy note device.\r\n2. Press hardware back button.\r\n\r\nExpected Result:\r\n1. one Button on top with table view should appear on the screen.\r\n2. Application should exit successfully.\r\n\r\nActual Result:\r\n1. Blank black screen appears.\r\n2. Application crashes.Find attached the log.txt\r\n\r\n{code}\r\n(function() {\r\n \r\n var create = function() {\r\n \r\n var tabGroupWrapper = {}, tabWrapper = {}, winWrapper = {}, tableViewWrapper = {}, buttonWrapper = {};\r\n \r\n tabGroupWrapper.Element = Ti.UI.createTabGroup();\r\n \r\n winWrapper.Element = Ti.UI.createWindow({ navBarHidden: true, backgroundColor: '#fc9', layout: 'vertical' });\r\n \r\n tabWrapper.Element = Ti.UI.createTab({ title: 'Test', window: winWrapper.Element });\r\n \r\n tabGroupWrapper.Element.addTab(tabWrapper.Element);\r\n \r\n tableViewWrapper.Element = Ti.UI.createTableView();\r\n \r\n var data = [];\r\n \r\n for (var i = 1; i <= 500; ++i) {\r\n data.push({ title: 'Row ' + i});\r\n }\r\n \r\n tableViewWrapper.Element.setData(data);\r\n \r\n buttonWrapper.Element = Ti.UI.createButton({\r\n title: 'Create new tabgroup!'\r\n });\r\n \r\n buttonWrapper.Element.addEventListener('click', function() {\r\n create();\r\n });\r\n \r\n winWrapper.Element.add(buttonWrapper.Element);\r\n winWrapper.Element.add(tableViewWrapper.Element);\r\n \r\n tabGroupWrapper.Element.setActiveTab(0);\r\n \r\n tabGroupWrapper.Element.open();\r\n \r\n };\r\n \r\n create();\r\n \r\n \r\n})();\r\n{code}\r\n", "attachment": [ { "id": "30070", "filename": "log.txt", "author": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-07-26T00:38:57.000+0000", "size": 4221, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: TabGroup - Application doesn't display contents on screen and crashes when hardware back button is pressed on Samsung Galaxy Note", "creator": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Tested with Titanium SDK: 2.1.1.v20120723131610\r\nTested with Titanium  Studio: 2.1.1.201207171343\r\nAndroid Device: Samsung Tab (3.2),LG P970 (2.2),Samsung Galaxy Note GT-7000 (2.3.6)\r\nOS: Mac OSX 10.7.3", "comment": { "comments": [ { "id": "209520", "author": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "On further testing found,that the issue also exists on other devices (Samsung Tab(3.2),Emulator(2.2,2.3.3)). However,the issue doesn't reproduce during the launch of the app,but while pressing the button quickly and continuously for a longer period of time.It eventually shows the blank black screen as mentioned in the bug above.", "updateAuthor": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-07-26T02:02:53.000+0000", "updated": "2012-07-26T02:02:53.000+0000" }, { "id": "212124", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bill, the log.txt here matches the one in TIMOB-10227. Is this the crash you are looking at?\r\nIf so isn't this bug just a duplicate of TIMOB-10227?", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-06T11:06:45.000+0000", "updated": "2012-08-06T11:06:45.000+0000" }, { "id": "212148", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "The log here is a result of backing out of a blank Tab group. The main problem here is the blank Tab group. No idea if that was a symptom of 10227 as well. In other words, I'm not sure if multiple things can cause the NPE. Fixing the NPE doesn't fix the main problem.\r\n\r\nCould be duplicates. Don't know.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-06T11:55:24.000+0000", "updated": "2012-08-06T11:55:24.000+0000" }, { "id": "212157", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "If we do decide they're dupes, we should keep this one open, since it has a very definitive and clean fail case.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-06T12:19:11.000+0000", "updated": "2012-08-06T12:19:11.000+0000" }, { "id": "213026", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Now that TIMOB-10227 has been merged to master, the NPE upon backing out of the anomalous empty TabGroup _no longer occurs_. The TabGroup is, of course, still empty, however.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-06T16:05:38.000+0000", "updated": "2012-08-06T16:05:38.000+0000" }, { "id": "215711", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I think that native crash is the same one I am seeing in TIMOB-10406.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-22T16:01:09.000+0000", "updated": "2012-08-22T16:01:09.000+0000" }, { "id": "216342", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Closing in favor of newer TIMOB-10406 duplicate, which should have a fix soon.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-27T16:22:20.000+0000", "updated": "2012-08-27T16:22:20.000+0000" }, { "id": "411292", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-10T19:10:11.000+0000", "updated": "2017-03-10T19:10:11.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }