Hi,
the Exception I mentioned in iOS has some bad consequences, I think. In iOS, if I show the page with SfImageEditor and just go back, the whole app crash.When I click on the save button, it works OK. Here ist the Exception I've got:
Thread finished: <Thread Pool> #28
The thread 0x1c has exited with code 0 (0x0).
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
2018-08-30 15:11:32.915 Stotax2go.iOS[11378:7308740] [AppCenterCrashes] ERROR: +[MSWrapperLogger MSWrapperLog:tag:level:]/7 Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at Syncfusion.SfImageEditor.iOS.SfImageEditor.Reset () [0x000ba] in <557ac349a8924036921b0f4fbfb09ec2>:0
at Syncfusion.SfImageEditor.iOS.SfImageEditor.SetImage (UIKit.UIImage im) [0x0000e] in <557ac349a8924036921b0f4fbfb09ec2>:0
at Syncfusion.SfImageEditor.iOS.SfImageEditor.set_Image (UIKit.UIImage value) [0x00007] in <557ac349a8924036921b0f4fbfb09ec2>:0
at Syncfusion.SfImageEditor.XForms.iOS.ImageEditorMapping+<setBitmap>d__8.MoveNext () [0x000ca] in <557ac349a8924036921b0f4fbfb09ec2>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0 (System.Object state) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/mcs/class/referen
cesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1018
at Foundation.NSAsyncSynchronizationContextDispatcher.Apply () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/Foundation/NSAction.cs:178
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 /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/UIKit/UIApplication.cs:79
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/UIKit/UIApplication.cs:63
at Stotax2go.iOS.Application.Main (System.String[] args) [0x00001] in C:\Git\Stotax2go\Stotax2go\Stotax2go\Stotax2go.iOS\Main.cs:17
2018-08-30 15:11:32.947 Stotax2go.iOS[11378:7308740] Unhandled managed exception:
Object reference not set to an instance of an object (System.NullReferenceException)
at Syncfusion.SfImageEditor.iOS.SfImageEditor.Reset () [0x000ba] in <557ac349a8924036921b0f4fbfb09ec2>:0
at Syncfusion.SfImageEditor.iOS.SfImageEditor.SetImage (UIKit.UIImage im) [0x0000e] in <557ac349a8924036921b0f4fbfb09ec2>:0
at Syncfusion.SfImageEditor.iOS.SfImageEditor.set_Image (UIKit.UIImage value) [0x00007] in <557ac349a8924036921b0f4fbfb09ec2>:0
at Syncfusion.SfImageEditor.XForms.iOS.ImageEditorMapping+<setBitmap>d__8.MoveNext () [0x000ca] in <557ac349a8924036921b0f4fbfb09ec2>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0 (System.Object state) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodB
uilder.cs:1018
at Foundation.NSAsyncSynchronizationContextDispatcher.Apply () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/Foundation/NSAction.cs:178
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 /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/UIKit/UIApplication.cs:79
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.14/src/Xamarin.iOS/UIKit/UIApplication.cs:63
at Stotax2go.iOS.Application.Main (System.String[] args) [0x00001] in C:\Git\Stotax2go\Stotax2go\Stotax2go\Stotax2go.iOS\Main.cs:17
The app has been terminated.
Failed to Stop app: An error occured on client IDB4110756 while executing a reply for topic xvs/idb/4.11.0.756/stop-app
The app has been terminated.
Thanks
Marian