This piece of code fails for attached pdf document:
FileStream fs = new FileStream(@“c:\g1c601!.pdf”, FileMode.Open);
var pdfBookmarkEditor = new PdfBookmarkEditor(new Aspose.Pdf.Document(fs));
try
{
pdfBookmarkEditor.ExtractBookmarks();
}
catch (Exception ex)
{
ex.Message.Dump();
ex.StackTrace.Dump();
}
Value cannot be null.
Parameter name: pdfObject
at .„.get_Outlines()
at Aspose.Pdf.OutlineCollection.GetEnumerator()
at Aspose.Pdf.Facades.PdfBookmarkEditor.ExtractBookmarks(Boolean upperLevel)
at UserQuery.RunUserAuthoredQuery() in c:\Users\administrator.NCSDEV\AppData\Local\Temp\2\LINQPad_qzsqnlyv\query_hyylaq.cs:line 38
Hi Joao,
Hi,
Any news on this case?
/Bartek
@jhas,
The linked ticket ID PDFNET-42362 is pending for the analysis and not resolved yet. Our product team will investigate as per the development schedules. We have let you know once a significant progress has been made in this regard.
Hi,
Is this issue already analysed/fixed?
Best regards,
Bartłomiej Chojnowski
Thank you for getting back to us.
We regret to share with you that PDFNET-42362 is still pending for investigations. We have escalated its priority to next level and will schedule it soon. We really appreciate your patience and comprehension in this regard.
Hi,
I can see it is still an issue when using Aspose.PDF.dll version 20.1. Are there any plans to fix it?
Best regards,
Bartłomiej Chojnowski
The ticket has not been yet resolved due to other pending issues in the queue. We assure you that we will surely resolve the logged ticket as per the schedule and let you know as soon as it is fixed. Please spare us some time.
We are sorry for the inconvenience.