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)


P.s. don't forget to put a valid license key.


Attachment: SfSignatureExample_report_7e361b32.zip


6 Replies

VD Vikram Devaraj Syncfusion Team July 19, 2021 10:43 AM UTC

  
Hi Palmy, 
 
Greetings from Syncfusion support, 
 
We were able to reproduce the issue, Application crashes with exception while adding signature using signaturePad . Currently, we are validating this issue and we will update the further details on July 22, 2021. 
 
Regards, 
Vikram D

 



PC Palmy Code July 19, 2021 01:47 PM UTC

Hi Vikram,

Thanks for the reply.

I also got the same issue when I tried to add FreeTextAnnotation.


Attachment: SfSignatureExample_report_8fb9e8.zip



VD Vikram Devaraj Syncfusion Team July 20, 2021 10:35 AM UTC

Hi Palmy, 
 
You are most welcome.

 
We were able to reproduce the issue, Application crashes with exception while adding FreeText annotation . Currently, we are validating both issues and we will update the further details on July 22, 2021. 
 
Regards, 
Vikram D

 



VD Vikram Devaraj Syncfusion Team July 22, 2021 06:38 PM UTC

Hi Palmy, 

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
 



VD Vikram Devaraj Syncfusion Team July 26, 2021 07:08 PM UTC

Hi Palmy,   
    
We have confirmed that the issue “Application crashes with exception while adding signature using signaturePad and  FreeText annotation” is a defect and logged a defect report for this issue. The patch for this issue will be delivered on August 16, 2021.   
   
Please find the feedback link below,   
    
Regards,   
Vikram D




VD Vikram Devaraj Syncfusion Team August 16, 2021 04:49 PM UTC

Hi Palmy,


 
We have resolved the issues “Application crashes with exception while adding signature using signaturePad and  FreeText annotation” and the custom NuGet for the same can be downloaded from the following link.    
        
       
Disclaimer: Please note that we have created this NuGet for version 19.2.0.47 specifically to resolve the following issue reported in this forum 167333. 
      
Note : Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.       
        
           
This fix will be included in our 2021 Volume 3 Main release which is expected to available in the month of September, 2021 
 
Regards,    
Vikram D 


Loader.
Up arrow icon