GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-05-23T19:02:39.000+0000 |
Affected Version/s | Release 3.2.2, Release 3.2.3 |
Fix Version/s | 2014 Sprint 10, 2014 Sprint 10 SDK, Release 3.3.0, Release 3.4.0 |
Components | Android |
Labels | android, mobilesdk, module_platform, qe-testadded |
Reporter | Rubens Jr |
Assignee | Vishal Duggal |
Created | 2014-04-22T22:06:36.000+0000 |
Updated | 2014-05-23T22:37:39.000+0000 |
On Android, using Ti.Platform.openURL("
http://www.google.com") causes app to crash with an exception: "Uncaught Error: Java Exception ocurred".
I believe it's the same issue of issue [TC-3319] .
Issue is intermittent (sometimes had to click the button 4-5 times to happen) and only happens when Window is created with "exitOnClose" = true.
Managed to reproduce the issue, sample code attached.
Video (7.8mb) showing how it happened on sample:
http://www.techme.com.br/download/Titanium_openURL_bug_Android_480p.mov
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.
Pull Pending master - https://github.com/appcelerator/titanium_mobile/pull/5725 3_3_X - https://github.com/appcelerator/titanium_mobile/pull/5726
Verified the fix. Ti.Platform.openURL does not throw any Unknown Java Exception. Closing. Environment: Appc Studio : 3.3.0.201405211748 Ti SDK : 3.3.0.v20140523143057 Mac OSX : 10.8.5 Alloy : 1.4.0-alpha4 CLI - 3.3.0-alpha5 Code Processor: 1.1.1 Samsung Galaxy S4 running android 4.2.2