We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

IWorkbook.Clone() always throws NullReferenceException in XlsIO for WinRT

Dear Syncfusion support,

It seems that the method "IWorkbook.Clone()" causes a "NullReferenceException" in XlsIO for WinRT (11.2.0.25).

STEPS TO REPRODUCE:

1) Create a new Excel document with Excel 2010
2) Save the document as XLSX
3) Open the document with XlsIO for WinRT (11.2.0.25)
4) Call the "Clone()" method of the workbook class.

EXPECTED RESULT : a copy of the workbook should be returned.

ACTUAL RESULT : a "NullReferenceException" is thrown.

Can you please tell me if there is any workaround for creating a full "in-memory" copy of a workbook, without saving to a file? The workaround that consists in copying all the worksheets to a new workbook using the "IWorksheets.AddCopy" method is not enough because the properties and other information of the workbook do not get copied.

Thank you in advance for your help.

Best regards,

Giovanni

1 Reply

MM Manikandan M Syncfusion Team August 19, 2013 11:28 AM UTC

Hi Giovanni,

 

Thanks for your interest in Syncfusion products.

 

We are able to reproduce the reported issue at our side. We suspect that this could be a defect and send to the development team for further analysis. So we request you to open a new direct-trac incident for further follow up on this issue.

Direct-Trac Link:
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents


Thank you very much for your patience.

Please let us know if you need any clarifications.

 

Thanks,

Manikandan M.


Loader.
Live Chat Icon For mobile
Up arrow icon