ArgumentOutOfRange Exception on SaveDocument() on iOS

Hi,

While working with PdfViewer I have encountered an ArgumentOutOfRange exception while calling SaveDocument. This exception happens on iOS, on Android same code works without any problem. This also doesn't happen on all documents, I guess that it happens on documents containing the list form. I have attached a document which you can use to reproduce the issue. Also I was not able to interect with the form on iOS, while on Android everything works fine.

I need to save the document to be able to access the form data, so if there is some method for getting the data out of the PdfViewer itself, it would be sufficient workaround for me.

Thanks in advance

Attachment: list_form.pdf_357494ec.zip

11 Replies 1 reply marked as answer

AV Ashokkumar Viswanathan Syncfusion Team October 16, 2020 11:36 AM UTC

Hi Michal, 
 
Greetings from Syncfusion support, 
 
We were able to reproduce the issue, “Application crashes with Argument out of range exception while saving a particular PDF document” in iOS Platform. Currently we are validating the issue and we will update further details on October 20th 2020. 
 
Regards, 
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team October 20, 2020 03:20 PM UTC

  
Hi Michal, 
 
Sorry for the inconvenience caused,  
  
We are still validating the issue, “Application crashes with Argument out of range exception while saving a particular PDF document” in iOS Platform due to its complexity and we will update further details on October 22nd , 2020 without any further delay.  
 
Regards, 
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team October 22, 2020 06:25 PM UTC

Hi Michal, 
 
We have confirmed that the issue, “Application crashes with Argument out of range exception while saving a particular PDF document” in iOS Platform is s defect and logged defect report for the issue. The patch for this issue will be delivered on November 12th , 2020. 
 
Please find the feedback link below, 
 
Regards,    
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team November 12, 2020 06:03 PM UTC

Hi Michal,  
  
Sorry for the inconvenience caused, 
  
We are still validating the issue, “Application crashes with Argument out of range exception while saving a particular PDF document” in iOS Platform due to its complexity. We will update the further details on November 19th, 2020 without any further delay.  
  
Regards,  
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team November 19, 2020 02:35 PM UTC

Hi Michal 
 
We have resolved the issue ”Application crashes with Argument out of range exception while saving a particular PDF document” and the custom NuGet for the same can be downloaded from the following link         
      
Custom NuGet :  
 
Disclaimer:   
Please note that we have created this NuGet for version 18.3.0.47 specifically to resolve the following issue(s) reported in this/the Forum 158748
 
   
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 2020 Volume 4 Main release which is expected to available in the month of December, 2020.     
  
Regards,  
Ashok Kumar Viswanathan.  



MS Michal Saman November 20, 2020 11:18 AM UTC

Hi,

thanks for the update. I have a question, we are currently using other version of your nuget package, which contains fix to issue discussed here: https://www.syncfusion.com/forums/157930/nullreferenceexception-while-adding-stamp

What fixes are included in package from this thread? Only the fix for issue discussed in this thread or also fix for the issue discussed in the other thread? And if the former, is there any way how to use both fixes, before  2020 Volume 4 Main release is released? 

Thanks in advance


AV Ashokkumar Viswanathan Syncfusion Team November 23, 2020 12:17 PM UTC

Hi Michal, 
 
Thank you for your update, 
 
We will provide the consolidated patch for the issue, “Application crashes with Argument out of range exception while saving a particular PDF document” and for the issue “Application crashes with null reference exception while adding stamp annotation” reported in the forum 157930 on November 24th 2020. 
 
However, we will include the fix for the issue in our upcoming weekly NuGet which is expected to be available on December 1st  2020. 
 
Regards, 
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team November 24, 2020 03:40 PM UTC

Hi Michal,  
  
Sorry for the inconvenience caused, 
  
We will provide the consolidated patch for the issue, “Application crashes with Argument out of range exception while saving a particular PDF document” and for the issue “Application crashes with null reference exception while adding stamp annotation” reported in the forum 157930 on November 25th 2020.  
 
Regards, 
Ashok Kumar Viswanathan. 



NK Navaneetha Kannan Sudalai Muthu Syncfusion Team November 26, 2020 05:49 AM UTC

Hi Michal,  

We sincerely regret the inconvenience caused. We will provide the consolidated patch for the issues on November 27, 2020 without any further delay.  

As promised, the fixes will also be moved to the weekly nuget release which is expected to be out by December 1, 2020.  

Best, 
Navaneetha Kannan 



AG Aribalakrishnan Govindasamy Syncfusion Team November 26, 2020 06:37 PM UTC

  
Hi Michal,  
  
We have resolved the issue, “Application crashes with Argument out of range exception while saving a particular PDF document” and for the issue “Application crashes with null reference exception while adding stamp annotation” and the consolidated  custom NuGet for the same can be downloaded from the following link         
      
Custom NuGet:   
  
 
Disclaimer:   
Please note that we have created this NuGet for version 18.3.0.51 specifically to resolve the following issue(s) reported in the above-mentioned forum. 158748, 157930 
    
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 weekly NuGet release which is expected to be out by December 1, 2020.   
   
Regards,     
Aribalakrishnan G. 



AV Ashokkumar Viswanathan Syncfusion Team December 1, 2020 02:44 PM UTC

Hi Michal, 
 
We have included the fix for the issue, “Application crashes with Argument out of range exception while saving a particular PDF document” and for the issue “Application crashes with null reference exception while adding stamp annotation reported in the forum 157930 in our weekly NuGet release v18.3.0.52. Kindly update to the mentioned version to resolved the issue. 
 
Please find the packages link below, 
 
Regards, 
Ashok Kumar Viswanathan. 


Marked as answer
Loader.
Up arrow icon