{ "id": "77327", "key": "AC-2986", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-07-09T12:13:54.000+0000", "created": "2011-07-04T01:14:59.000+0000", "labels": [ "android", "crash", "defect", "release-1.7.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "tguntharp", "key": "tguntharp", "displayName": "Tony Guntharp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:59.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When using a ActivityIndicator in an application and a openUrl-function to open an external web browser, when pressing the back button in the browser, any ActivityIndicator in the program will produce an exception and eventually crash the program.\r\n\r\nThe following error message is shown: [http://pastie.org/2161668]\r\n\r\nThe following code will reproduce the bug: [http://pastie.org/2161675]\r\n\r\nMake sure to wait for the page to finish loading så that the app is relaunched and not just returned to (which is another issue of mine).\r\n\r\nA question and answer post here: [http://developer.appcelerator.com/question/121996/]", "attachment": [], "flagged": false, "summary": "ActivityIndicator crashes after returning from external web browser on android.", "creator": { "name": "shump", "key": "shump", "displayName": "Julian Lindblad", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shump", "key": "shump", "displayName": "Julian Lindblad", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android (Google API 2.3.1) emulator. Titanium 1.7.0.", "comment": { "comments": [ { "id": "158445", "author": { "name": "shump", "key": "shump", "displayName": "Julian Lindblad", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Okey, so I found some more clues. Apparently I get low memory on my android device (emulator) which forces my application to close.\r\n\r\nIs there a way to increase it's memory to prevent it from crashing? \r\n\r\nComplete console output: [http://pastie.org/2161859]\r\n\r\nAlthough the memory seems to be the root to my problem, the problem with ActivityIndicator crashing after a program crash still exists.", "updateAuthor": { "name": "shump", "key": "shump", "displayName": "Julian Lindblad", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-04T02:20:39.000+0000", "updated": "2011-07-04T02:20:39.000+0000" }, { "id": "159134", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Julian\r\n\r\nIt's great that you created [a Q&A question|http://developer.appcelerator.com/question/121996/activityindicator-crashes-after-returning-from-external-web-browser-on-android] to consult the community before raising this ticket, as this is the recommended approach. However, it's useful to also include a link to it in the ticket for reference.\r\n\r\n\r\nI think the problem may be caused by the way you are using the API. See my answer in the Q&A. If it transpires that this really is a bug, I will be happy to reopen this ticket.\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-09T12:13:54.000+0000", "updated": "2011-07-09T12:24:18.000+0000" }, { "id": "159156", "author": { "name": "shump", "key": "shump", "displayName": "Julian Lindblad", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Posted a modified version of my code as a comment to your answer.\r\n\r\nNever the less, even if it turns out that this is a problem caused by my misuse of the API, shouldn't it at least be fixed so it does not crash. Or at least specified in the documentation.", "updateAuthor": { "name": "shump", "key": "shump", "displayName": "Julian Lindblad", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-11T01:31:13.000+0000", "updated": "2011-07-11T01:31:13.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }