{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/3015","repository_url":"https://api.github.com/repos/xamarin/Xamarin.Forms","labels_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/3015/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/3015/comments","events_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/3015/events","html_url":"https://github.com/xamarin/Xamarin.Forms/issues/3015","id":331530304,"node_id":"MDU6SXNzdWUzMzE1MzAzMDQ=","number":3015,"title":"[UWP] : App crash when Loader and Alert popup collide.","user":{"login":"ashishm29","id":30036418,"node_id":"MDQ6VXNlcjMwMDM2NDE4","avatar_url":"https://avatars1.githubusercontent.com/u/30036418?v=4","gravatar_id":"","url":"https://api.github.com/users/ashishm29","html_url":"https://github.com/ashishm29","followers_url":"https://api.github.com/users/ashishm29/followers","following_url":"https://api.github.com/users/ashishm29/following{/other_user}","gists_url":"https://api.github.com/users/ashishm29/gists{/gist_id}","starred_url":"https://api.github.com/users/ashishm29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashishm29/subscriptions","organizations_url":"https://api.github.com/users/ashishm29/orgs","repos_url":"https://api.github.com/users/ashishm29/repos","events_url":"https://api.github.com/users/ashishm29/events{/privacy}","received_events_url":"https://api.github.com/users/ashishm29/received_events","type":"User","site_admin":false},"labels":[{"id":799174627,"node_id":"MDU6TGFiZWw3OTkxNzQ2Mjc=","url":"https://api.github.com/repos/xamarin/Xamarin.Forms/labels/i/critical","name":"i/critical","color":"dd2c70","default":false},{"id":770580102,"node_id":"MDU6TGFiZWw3NzA1ODAxMDI=","url":"https://api.github.com/repos/xamarin/Xamarin.Forms/labels/p/UWP","name":"p/UWP","color":"a3241d","default":false},{"id":771881931,"node_id":"MDU6TGFiZWw3NzE4ODE5MzE=","url":"https://api.github.com/repos/xamarin/Xamarin.Forms/labels/s/needs-info","name":"s/needs-info","color":"fcb95a","default":false},{"id":343860851,"node_id":"MDU6TGFiZWwzNDM4NjA4NTE=","url":"https://api.github.com/repos/xamarin/Xamarin.Forms/labels/t/bug%20:bug:","name":"t/bug :bug:","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-12T10:31:27Z","updated_at":"2018-06-13T18:34:00Z","closed_at":null,"author_association":"NONE","body":"<!-- Bug report best practices: https://github.com/xamarin/Xamarin.Forms/wiki/Submitting-Issues -->\r\n\r\n### Description\r\n\r\nIf Loader is running and Any Alert pop's up app crashes with following error message\r\nWhen multiple alerts are opened at the same time, UWP crashes with \"Only a single ContentDialog can be open at any time.\"\r\n\r\n   at Windows.UI.Xaml.Controls.ContentDialog.ShowAsync()\r\n   at Xamarin.Forms.Platform.UWP.Platform.<ShowAlert>d__9.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Xamarin.Forms.Platform.UWP.Platform.<OnPageAlert>d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)\r\n   at System.Threading.WinRTSynchronizationContextBase.Invoker.InvokeCore()\r\n\r\n\r\n### Bugs Fixed\r\nfixes #2369 - getting same error message.\r\n\r\n### Steps to Reproduce\r\n\r\n1.  Try to open Alert PopUp  while loader is running. \r\n2. App will not crash every time but if do fast process it will crash.\r\n\r\nFor Loader i am using\r\n Acr.UserDialogs - v7.0.1.\r\n\r\n private async void ButtonClickCommandReceiver()\r\n        {\r\n            try\r\n            {\r\n                UserDialogs.Instance.ShowLoading(\"Loading...\");\r\n                // Service call \r\n                await Application.Current.MainPage.DisplayAlert(\"Alert\", \"Add Item ?\", \"Yes\", \"No\");\r\n            }\r\n            catch (System.Exception ex)\r\n            {\r\n                Debug.WriteLine(ex.Message);\r\n            }\r\n        }\r\n\r\n\r\n### Expected Behavior\r\n - App should not crash\r\n\r\n### Actual Behavior\r\n - App crashes with  following error message:\r\n\r\nWhen multiple alerts are opened at the same time, UWP crashes with \"Only a single ContentDialog can be open at any time.\"\r\n\r\n### Basic Information\r\n\r\n- Version with issue: \r\nIssue was their in XF 2.4.0.275 - pre3 version and now i am using XF - 3.0.0.482510 issue still exist.\r\n- Last known good version: NA\r\n- IDE: Microsoft Visual Studio Community 2017 \r\n- Platform Target Frameworks: \r\n  - UWP: 16299\r\n- Android Support Library Version: <!-- if applicable -->\r\n- Nuget Packages:\r\n  Acr.UserDialogs - v7.0.1.\r\n   XF - 3.0.0.482510\r\n- Affected Devices: UWP\r\n"},"comment":{"url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/comments/397041022","html_url":"https://github.com/xamarin/Xamarin.Forms/issues/3015#issuecomment-397041022","issue_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/3015","id":397041022,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzA0MTAyMg==","user":{"login":"samhouts","id":7827070,"node_id":"MDQ6VXNlcjc4MjcwNzA=","avatar_url":"https://avatars3.githubusercontent.com/u/7827070?v=4","gravatar_id":"","url":"https://api.github.com/users/samhouts","html_url":"https://github.com/samhouts","followers_url":"https://api.github.com/users/samhouts/followers","following_url":"https://api.github.com/users/samhouts/following{/other_user}","gists_url":"https://api.github.com/users/samhouts/gists{/gist_id}","starred_url":"https://api.github.com/users/samhouts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samhouts/subscriptions","organizations_url":"https://api.github.com/users/samhouts/orgs","repos_url":"https://api.github.com/users/samhouts/repos","events_url":"https://api.github.com/users/samhouts/events{/privacy}","received_events_url":"https://api.github.com/users/samhouts/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T18:34:00Z","updated_at":"2018-06-13T18:34:00Z","author_association":"MEMBER","body":"This is likely fixed by #2526. Are you able to test with a nightly build? https://blog.xamarin.com/try-the-latest-in-xamarin-forms-with-nightly-builds/"}}
{"actor":{"display_login":"samhouts"}}