Finding the SfPdfViewer glitchy

I have a Page that has an SfListView of document titles and another Page that has SfPdfViewer that loads the document selected when a document title is selected. I click on the first title on the list and the SfPdfViewer loads the document and I use the Search function (click on the magnifying glass) in the SfPdfViewer to search for some words in the pdf. I navigate back to the list of document titles and choose another title. The SfPdfViewer on the other page loads the new document and I click on the magnifying glass that will allow me to search and the program crashes with the following message:

Object reference not set to an instance of an object   at Syncfusion.SfPdfViewer.XForms.iOS.AlertViewTextBoxDelegate.OnKeyBoardShow (Foundation.NSNotification notification

I have attached a zip with some screenshots for reference.

Thank you,
Madhu

Attachment: screenshots_aa88a029.zip

7 Replies

MG Madhu Ganesh May 28, 2020 02:57 PM UTC

Other errors I get while navigating between different pdfs:

-- System.NullReferenceException: Object reference not set to an instance of an object
  at Syncfusion.Pdf.Parsing.PdfLoadedForm.IsNode (Syncfusion.Pdf.Primitives.PdfArray kids) [0x00023] in <d942fc17214f424aaabacfeddcd5ddb2>:0 


-- Cannot access a disposed object. Object name: 'ScrollViewEx'.


-- OutOfMemory Exception


AV Ashokkumar Viswanathan Syncfusion Team May 29, 2020 01:31 PM UTC

 
 
 
 
 
 The SfPdfViewer on the other page loads the new document and I click on the magnifying glass that will allow me to search and the program crashes with the following message: 
 
Object reference not set to an instance of an object   at Syncfusion.SfPdfViewer.XForms.iOS.AlertViewTextBoxDelegate.OnKeyBoardShow (Foundation.NSNotification notification 
 
We were able to reproduce the issue, “Application crashes with null reference exception while focusing the search bar . Currently, we are validating the issue and we will update the further details on June 2nd , 2020. 
 
Other errors I get while navigating between different pdfs: 
  1. System.NullReferenceException: Object reference not set to an instance of an object at Syncfusion.Pdf.Parsing.PdfLoadedForm.IsNode (Syncfusion.Pdf.Primitives.PdfArray kids) [0x00023] in <d942fc17214f424aaabacfeddcd5ddb2>:0 
 
  1. Cannot access a disposed object. Object name: 'ScrollViewEx'.
 
 
  1. OutOfMemory Exception
 
 
 
 
 
 
 
 
Kindly share the following details to analyze more on this issue and assist you with the better solution   
1.       Simple sample/ modify the above sample to reproduce the issue.  
2.       SfPdfViewer version  
3.       Xamarin.Forms version  
4.       Device Specification 
5.       Platform 
6.       Replication procedure to reproduce the issue.  
 
 
 
 
 



MG Madhu Ganesh May 30, 2020 02:04 AM UTC

I get the following error:

Cannot access a disposed object. Object name: 'ScrollViewEx'.

I get this error when I click on a document in the listview (which opens up the document in the pdf viewer in the next page). I change the view of the pdf to Page By Page and then navigate back to the list of documents and the program crashes with the above error. Please confirm if you are able to reproduce this error.

Thanks


AV Ashokkumar Viswanathan Syncfusion Team June 1, 2020 06:39 AM UTC

Hi  Madhu, 
 
We were able to reproduce the issue, “Application crashes with System.ObjectDisposedException in PageByPage View mode” in iOS platform. Currently, we are validating the issue and we will update the further details on June 3rd , 2020.  
 
As mentioned earlier, we are currently validating the issue, “Application crashes with null reference exception while focusing the search bar” and we will update the details on June 2nd, 2020. 
 
Meanwhile, kindly provide details for the other crashes that you have mentioned previously in the incident, so that I will be help up to analyze the issue further and provide a better solution at earliest. 
 
Regards, 
Ashok Kumar Viswanathan 



AV Ashokkumar Viswanathan Syncfusion Team June 2, 2020 12:17 PM UTC

Hi Madhu, 
 
We have fixed the issue “Application crashes with null reference exception while focusing the search bar in Xamarin.Forms iOS platform” in our weekly NuGet release with version 18.1.0.55. Kindly update your SfPdfViewerControl the mentioned version to get the issue resolved.   
 
Please find the package in the below link, 
 
As mentioned earlier, we are currently validating the issue,  Application crashes with System.ObjectDisposedException in PageByPage View mode” in iOS platform and we will update the details on June 3rd , 2020.  
 
Meanwhile, kindly provide details for the other crashes that you have mentioned previously in the incident, so that I will be help up to analyze the issue further and provide a better solution at earliest.  
 
Regards, 
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team June 3, 2020 03:42 PM UTC

Hi Madhu, 
 
We have confirmed that the issue, Application crashes with System.ObjectDisposedException in PageByPage View mode” in iOS platform is s defect and logged defect report for the issue. The fix for the issue will be included in our weekly NuGet Release, which will be available on June 23rd, 2020. 
 
Regards, 
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team June 23, 2020 09:27 AM UTC

Hi Madhu,    
    
We have resolved the issue “Application crashes with System.ObjectDisposedException in PageByPage View mode” in the iOS platform and included the fix in our weekly NuGet release with version 18.1.0.57. Kindly update your SfPdfViewerControl the mentioned version to get the issue resolved.    
  
Please find the download link from below,  
  
Please let us know if you need any further assistance with this.  

Regards, 
Ashok Kumar Viswanathan. 


Loader.
Up arrow icon