Vungle / Windows-SDK

Other
21 stars 8 forks source link

Crash in 6.10.1 version: KeyNotFoundException #37

Closed epman closed 2 years ago

epman commented 2 years ago

Hi, I have several reports on Windows 10 and 11 about a crash due to KeyNotFoundException in the SDK. I did use the 6.10.1 Sdk, in a UWP application coded in C#, the app is published on Microsoft Store.

Here is the message (key is edited): _d__97.MoveNext () System.Collections.Generic.KeyNotFoundException: The given key 'TESTMREC-0000000' was not present in the dictionary.

The stack trace:

System.Collections.Concurrent ConcurrentDictionary`2.ThrowKeyNotFoundException (Object)
System.Collections.Concurrent ConcurrentDictionary`2.get_Item (TKey)
VungleSDK.UI.VungleAdControl <SetupAndLoadBannerAd>d__97.MoveNext ()
System.Runtime.ExceptionServices ExceptionDispatchInfo.Throw ()

Unfortunately, I wasn't able to reproduce the error on my test devices. Thanks

gregthatcher commented 2 years ago

Hi Emilio,

Sorry to hear about the crashes you are having with Banner Ads.

Could you please try installing Vungle 6.11.0-beta4? To do this, you will need to check "Include prerelease" in NuGet manager in Visual Studio.

I understand that you can't reproduce this on your test devices, but I'm hoping you can try deploying and seeing if you still get the same crashes.

We will also try to repro the problem here.

Thanks much, Greg

On Wed, May 4, 2022 at 12:50 PM Emilio Mancini @.***> wrote:

Hi, I have several reports on Windows 10 and 11 about a crash due to KeyNotFoundException in the SDK. I did use the 6.10.1 Sdk, in a UWP application coded in C#, the app is published on Microsoft Store.

Here is the message (key is edited): d__97.MoveNext () System.Collections.Generic.KeyNotFoundException: The given key '[...]' was not present in the dictionary.

The stack trace:

System.Collections.Concurrent ConcurrentDictionary2.ThrowKeyNotFoundException (Object) System.Collections.Concurrent ConcurrentDictionary2.get_Item (TKey) VungleSDK.UI.VungleAdControl d__97.MoveNext () System.Runtime.ExceptionServices ExceptionDispatchInfo.Throw ()

Unfortunately, I wasn't able to reproduce the error on my test devices. Thanks

— Reply to this email directly, view it on GitHub https://github.com/Vungle/Windows-SDK/issues/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD7KRAELPFLJ3TZIGHU4E3VILIJ5ANCNFSM5VDAIG4A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

[image: vshapesaqua11553186012.gif] https://vungle.com/ Greg Thatcher Staff Engineer I, Mobile Windows 4152180328

[image: in1552694272.png] https://www.linkedin.com/company/vungle [image: fb1552694203.png] https://facebook.com/vungle [image: tw1552694330.png] https://twitter.com/vungle [image: ig1552694392.png] https://www.instagram.com/vungle 1255 Battery St. Ste 500. San Francisco, CA 94111

epman commented 2 years ago

Thank you for your answer Greg, After updating to the SDK 6.11.0-beta4 and monitoring it a couple of days, I didn't see the error report annymore Thanks E