Hi, our Xamarin.Forms app for Samsung Watch (Tizen) did not pass the review process to Samsung Store, because it crashed on startup. The log says:
System.NullReferenceException: Object reference not set to an instance of an object. at KTizen.App..ctor() at KTizen.Program.OnCreate() at Tizen.Applications.CoreBackend.UICoreBackend.OnCreateNative(IntPtr data) at Tizen.Applications.CoreBackend.UICoreBackend.Run(String[] args) at Tizen.Applications.CoreApplication.Run(String[] args) at Tizen.Applications.CoreUIApplication.Run(String[] args) at KomootTizen.Program.Main(String[] args) Fatal error. Internal CLR error. (0x80131506) at Interop+Application.Main(Int32, System.String[], UIAppLifecycleCallbacks ByRef, IntPtr) at Tizen.Applications.CoreBackend.UICoreBackend.Run(System.String[]) at Tizen.Applications.CoreApplication.Run(System.String[]) at Tizen.Applications.CoreUIApplication.Run(System.String[]) at KomootTizen.Program.Main(System.String[]) onSigabrt called
This seems to be an internal exception in the .NET Core itself / device firmware issue. How can we debug this? How can we fix it?
We have all our code in the contructor wrapped with a try/catch block, so technically it should never crash there.