Free Support Forum - aspose.com

ParagraphAbsorber error


#1

ParagraphAbsorber is throwing below error when reading attached pdf doc

File: 02388_LTN20180329712.pdf (9.0 MB)

Code:
Document doc = new Document(inFileName);
ParagraphAbsorber absorber = new ParagraphAbsorber();
absorber.Visit(doc);

Error: Index was outside the bounds of the array.

Stack Trace:
at Aspose.Pdf.Text.ParagraphAbsorber.#=zmX0gwqG$YGTk(MarkupSection #=zsj9Epko=, Byte[,] #=zDlSnjSU=, List`1& #=zSu5x1eHXszN_)
at Aspose.Pdf.Text.ParagraphAbsorber.#=zuycpfSVg3rY9(PageMarkup #=z1Uyxhn4=)
at Aspose.Pdf.Text.ParagraphAbsorber.Visit(Page page)
at Aspose.Pdf.Text.ParagraphAbsorber.Visit(Document doc)


#2

@Angus_Luk

Thanks for contacting support.

We have tested the scenario in our environment and were able to replicate the issue that you have mentioned. We have logged it as PDFNET-45998 in our issue tracking system for the sake of correction. We will further look into details of the issue and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.