{ "id": "129560", "key": "TIMOB-16897", "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": "16270", "description": "2014 Sprint 10", "name": "2014 Sprint 10", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "16271", "description": "2014 Sprint 10 SDK", "name": "2014 Sprint 10 SDK", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-23T19:02:39.000+0000", "created": "2014-04-22T22:06:36.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "mobilesdk", "module_platform", "qe-testadded" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-05-23T22:37:39.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, using Ti.Platform.openURL(\"http://www.google.com\") causes app to crash with an exception: \"Uncaught Error: Java Exception ocurred\".\r\nI believe it's the same issue of issue [TC-3319] .\r\n\r\nIssue is intermittent (sometimes had to click the button 4-5 times to happen) and only happens when Window is created with \"exitOnClose\" = true.\r\n\r\nManaged to reproduce the issue, sample code attached.\r\n\r\nVideo (7.8mb) showing how it happened on sample: http://www.techme.com.br/download/Titanium_openURL_bug_Android_480p.mov", "attachment": [ { "id": "47644", "filename": "app.js", "author": { "name": "rubensjr", "key": "rubensjr", "displayName": "Rubens Jr", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2014-04-22T22:06:36.000+0000", "size": 1669, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: Ti.Platform.openURL throws Unknown Java Exception intermittently", "creator": { "name": "rubensjr", "key": "rubensjr", "displayName": "Rubens Jr", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "rubensjr", "key": "rubensjr", "displayName": "Rubens Jr", "active": true, "timeZone": "America/Sao_Paulo" }, "environment": "Mac OS 10.9.2 ; Titanium Studio, build: 3.2.1.201402041146 ; SDK 3.2.2GA ; Android 2.3.3 And Android 4.4.2 (emulator And Devices)", "closedSprints": [ { "id": 104, "state": "closed", "name": "2014 Sprint 10 SDK", "startDate": "2014-05-12T16:00:00.000Z", "endDate": "2014-05-24T00:00:00.000Z", "completeDate": "2014-05-27T18:11:47.424Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "303007", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce this issue with the provided test case. Note that I had to try many times before making it fail so keep trying until it fails.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-30T05:13:10.000+0000", "updated": "2014-04-30T05:13:10.000+0000" }, { "id": "306114", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull Pending\r\nmaster - https://github.com/appcelerator/titanium_mobile/pull/5725\r\n3_3_X - https://github.com/appcelerator/titanium_mobile/pull/5726", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-22T18:36:33.000+0000", "updated": "2014-05-22T18:36:33.000+0000" }, { "id": "306352", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nTi.Platform.openURL does not throw any Unknown Java Exception.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.3.0.201405211748\r\nTi SDK : 3.3.0.v20140523143057\r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-alpha4\r\nCLI - 3.3.0-alpha5\r\nCode Processor: 1.1.1\r\nSamsung Galaxy S4 running android 4.2.2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-23T22:37:39.000+0000", "updated": "2014-05-23T22:37:39.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }