locked
Lost exceptions stacktrace after upgrading Xamarin RRS feed

  • Question

  • User136827 posted

    After upgrading Xamarin to latest version, I lost real stacktrace on iOS errors. All exceptions seems to be originated on Application Main method. Is anyone familiar with this problem? This is an example of how an exception stacktrace looks like now

    System.NullReferenceException: Object reference not set to an instance of an object at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/3426/6c3fee4d/source/xamarin-macios/src/UIKit/UIApplication.cs:79 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/3426/6c3fee4d/source/xamarin-macios/src/UIKit/UIApplication.cs:63 at Project.iOS.Application.Main (System.String[] args) [0x0003a] in /Users/claudioredi/sources/mobileapp/Project.iOS/Main.cs:18

    This is my about info

    === Xamarin Studio Community ===

    Version 6.1 (build 5441) Installation UUID: 008d64d0-19a0-4009-b988-2e1c8160b6de Runtime: Mono 4.6.0 (mono-4.6.0-branch/746756c) (64-bit) GTK+ 2.24.23 (Raleigh theme)

    Package version: 406000245
    

    === NuGet ===

    Version: 3.4.3.0

    === Xamarin.Profiler ===

    Not Installed

    === Apple Developer Tools ===

    Xcode 8.0 (11246) Build 8A218a

    === Xamarin.iOS ===

    Version: 10.0.0.6 (Xamarin Studio Community) Hash: 6c3fee4 Branch: xcode8 Build date: 2016-09-09 13:01:32-0400

    === Xamarin.Android ===

    Version: 7.0.0.18 (Xamarin Studio Community) Android SDK: /Users/claudioredi/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 4.0.3 (API level 15) 4.4 (API level 19) 6.0 (API level 23) 7.0 (API level 24)

    SDK Tools Version: 25.2.2 SDK Platform Tools Version: 24.0.3 SDK Build Tools Version: 23.0.1

    Java SDK: /usr java version "1.7.071" Java(TM) SE Runtime Environment (build 1.7.071-b14) Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

    Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL

    === Xamarin Android Player ===

    Version: 0.6.5 Location: /Applications/Xamarin Android Player.app

    === Xamarin.Mac ===

    Version: 2.10.0.99 (Xamarin Studio Community)

    === Build Information ===

    Release ID: 601005441 Git revision: 68292d1ab289911c815ddc715dd7cc29a9752f9f Build date: 2016-09-09 04:43:23-04 Xamarin addins: ed25d008672663eeb9db55f1ccecb3c24d2fd3b2 Build lane: monodevelop-lion-cycle8

    === Operating System ===

    Mac OS X 10.11.6 Darwin MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0 Mon Aug 29 20:21:34 PDT 2016 root:xnu-3248.60.11~1/RELEASEX8664 x86_64

    Wednesday, September 21, 2016 4:49 PM

Answers

  • User58997 posted

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

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, October 6, 2016 1:58 PM

All replies

  • User223730 posted

    This seems to be happening to me now

    Thursday, October 6, 2016 1:08 PM
  • User58997 posted

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

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, October 6, 2016 1:58 PM