- Home
- Forum
- Xamarin.Forms
- Object reference not set to an instance of an object at Syncfusion.SfPdfViewer.XForms.Droid.ScrollViewEx.SignatureCanvas_ConfirmationButtonClicked
Object reference not set to an instance of an object at Syncfusion.SfPdfViewer.XForms.Droid.ScrollViewEx.SignatureCanvas_ConfirmationButtonClicked
Hi all !!
I'm getting this error only on Android when I click on "DONE" button on the signature pad. I researched that this error I started getting after implementing framework Mvvmcross.Forms.
Steps to reproduce:
1) Load the app.
2) Click "Sign" button at the bottom.
3) Draw any signature.
4) Click "Done" button.
The next error occurred:
System.NullReferenceException: Object reference not set to an instance of an object. at Syncfusion.SfPdfViewer.XForms.Droid.ScrollViewEx.SignatureCanvas_ConfirmationButtonClicked (System.Object sender, System.EventArgs e) [0x00057] in <5412a555be57485f910e2eb59f4b1038>:0 at Syncfusion.SfPdfViewer.XForms.Droid.SignaturePad.DoneButton_Click (System.Object sender, System.EventArgs e) [0x0014d] in <5412a555be57485f910e2eb59f4b1038>:0 at Android.Views.View+IOnClickListenerImplementor.OnClick (Android.Views.View v) [0x0000a] in /Users/builder/azdo/_work/278/s/xamarin-android/src/Mono.Android/obj/Release/monoandroid10/android-29/mcw/Android.Views.View.cs:2258 at Android.Views.View+IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_v) [0x00010] in /Users/builder/azdo/_work/278/s/xamarin-android/src/Mono.Android/obj/Release/monoandroid10/android-29/mcw/Android.Views.View.cs:2227 at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.40(intptr,intptr,intptr)
Attachment: SfSignatureExample_report_7e361b32.zip
Hi Vikram,
Thanks for the reply.
I also got the same issue when I tried to add FreeTextAnnotation.
Attachment: SfSignatureExample_report_8fb9e8.zip
Sorry for the inconvenience caused. We are still validating the issue, “Application crashes with exception while adding signature using signaturePad and FreeText annotation” due to the complexity of the issue. We will update the further details on July 26, 2021.
Regards,
Vikram D
- 6 Replies
- 2 Participants
-
PC Palmy Code
- Jul 16, 2021 01:31 PM UTC
- Aug 16, 2021 04:49 PM UTC