Stack walks are not supported on this platform.

DivikiranRavelaDivikiranRavela Divikiran RavelaINMember ✭✭

Do anyone what does this error mean
Stack walks are not supported on this platform.

do anyone know how to resolve it

at (wrapper managed-to-native) System.Reflection.Assembly:GetCallingAssembly ()
at Xamarin.Forms.Forms.Init (Android.Content.Context activity, Android.OS.Bundle bundle) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Forms.cs:70
at FlashCards.Droid.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x00009] in :0
at Android.Support.V4.App.FragmentActivity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x00011] in <7a2a36256f1648ecbd0c15a75bc5a349>:0
at (wrapper dynamic-method) System.Object:dc1aa05c-23b5-4c8d-811f-d8678248f9ee (intptr,intptr,intptr)

Posts

  • ChrisRiesgoChrisRiesgo Chris Riesgo USInsider, University, Developer Group Leader ✭✭

    @DivikiranRavela - Are you running Visual Studio for Mac? Or the current Alpha channel with Mono 5.x?

    I noticed a similar message and logged it on bugzilla.

    https://bugzilla.xamarin.com/show_bug.cgi?id=55087

  • JonathanTrowbridgeJonathanTrowbridge Jonathan Trowbridge USUniversity ✭✭

    I just started seeing this as well...

    at (wrapper managed-to-native) System.Reflection.Assembly:GetCallingAssembly ()
    at Xamarin.Forms.Forms.Init (Android.Content.Context activity, Android.OS.Bundle bundle) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Forms.cs:71
    at CoolPlanet.Droid.Activities.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x0001f] in /Users/jonathantrowbridge/Projects/coolplanet-app/src/CoolPlanet/Droid/Activities/MainActivity.cs:21
    at Android.Support.V4.App.FragmentActivity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x00011] in <6b56ca8771fb489ca3bfe1714dfcf7f9>:0
    at (wrapper dynamic-method) System.Object:efe10e74-7c7c-48bb-94bc-267d009481f2 (intptr,intptr,intptr)

  • rseostarrseostar Robert Strand USUniversity ✭✭

    I'm getting it on Xamarin Alpha / Mono 5, and it looks just about the same as your stack trace.

    at (wrapper managed-to-native) System.Reflection.Assembly:GetCallingAssembly ()
    at Xamarin.Forms.Forms.Init (Android.Content.Context activity, Android.OS.Bundle bundle) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Forms.cs:71
    at xuni.Droid.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x0001f] in :0
    at Android.Support.V4.App.FragmentActivity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x00011] in <7e083afc7c9045f59e01d9c14931060d>:0
    at (wrapper dynamic-method) System.Object:2253a773-3885-495f-b207-f131415ef3f8 (intptr,intptr,intptr)

  • JonathanTrowbridgeJonathanTrowbridge Jonathan Trowbridge USUniversity ✭✭

    I'm seeing this as well..

    at (wrapper managed-to-native) System.Reflection.Assembly:GetCallingAssembly ()
    at Xamarin.Forms.Forms.Init (Android.Content.Context activity, Android.OS.Bundle bundle) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Forms.cs:71
    at CoolPlanet.Droid.Activities.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x0001f] in /Users/jonathantrowbridge/Projects/coolplanet-app/src/CoolPlanet/Droid/Activities/MainActivity.cs:21
    at Android.Support.V4.App.FragmentActivity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x00011] in <6b56ca8771fb489ca3bfe1714dfcf7f9>:0
    at (wrapper dynamic-method) System.Object:efe10e74-7c7c-48bb-94bc-267d009481f2 (intptr,intptr,intptr)

  • JonathanTrowbridgeJonathanTrowbridge Jonathan Trowbridge USUniversity ✭✭

    I'm seeing this as well..

    at (wrapper managed-to-native) System.Reflection.Assembly:GetCallingAssembly ()
    at Xamarin.Forms.Forms.Init (Android.Content.Context activity, Android.OS.Bundle bundle) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Forms.cs:71
    at CoolPlanet.Droid.Activities.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x0001f] in /Users/jonathantrowbridge/Projects/coolplanet-app/src/CoolPlanet/Droid/Activities/MainActivity.cs:21
    at Android.Support.V4.App.FragmentActivity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x00011] in <6b56ca8771fb489ca3bfe1714dfcf7f9>:0
    at (wrapper dynamic-method) System.Object:efe10e74-7c7c-48bb-94bc-267d009481f2 (intptr,intptr,intptr)

  • DivikiranRavelaDivikiranRavela Divikiran Ravela INMember ✭✭

    Guys,

    In my case, I was on alpha channel and updated to latest alpha update, so it was causing this issue.
    Once I am back in Stable channel, issue was resolved.

  • GCrockenbergGCrockenberg Gerard Crockenberg USMember ✭✭

    Started experiencing this in Stable Release: 15.2 released 5/10/2017. Trying to troubleshoot but might have to try rolling back.

  • GCrockenbergGCrockenberg Gerard Crockenberg USMember ✭✭

    Anyone know of a way to roll back Visual Studio 2017 community addition without a MSDN account. I followed the instructions in the release notes but was prompted for a MSDN account when I navigated to the download older version page. https://visualstudio.com/vs/older-downloads/

  • BryanSanchezBryanSanchez Bryan Sanchez USUniversity ✭✭

    I have this same problem, ocurr in Android emulator with x86_64 i switch to x86 an work fine

  • AnatoliiBAnatoliiB Anatolii Belomestnov USUniversity ✭✭

    I am also having this issue with Visual Studio 2017 Community Edition, Xamarin Forms 10.10
    When I switch back to VS 2015 it works ok, so it's something specific to VS 2017!

Sign In or Register to comment.