Welcome Guest Search | Active Topics | Sign In | Register

EO.PDF 2023.2.14 - Error on Merge Array of PdfDocument Options
Fabien
Posted: Monday, July 10, 2023 11:03:39 AM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2014
Posts: 130
Hi,

After upgrade to 2023.2.14 Some PDF files throw an exception when using the PdfDocument.Merge(PdfDocument[] docs) method.

Exception throw :
Quote:
System.InvalidOperationException
HResult=0x80131509
Message=The LinkedList node does not belong to current LinkedList.
Source=System

Arborescence des appels de procédure :
at System.Collections.Generic.LinkedList`1.ValidateNode(LinkedListNode`1 node)
at System.Collections.Generic.LinkedList`1.Remove(LinkedListNode`1 node)
at EO.Internal.mknv.simz(mkok ctt)
at EO.Internal.mkdu.uqux(mknv qt, mkdu[] qu)
at EO.Internal.mknv.uqux(Boolean cul, Boolean cum)
at EO.Pdf.PdfDocument.uquy()
at EO.Pdf.PdfDocument.Merge(PdfDocument[] docs)


Snippet of the code that throws the exception :
Quote:

For Each file As String In files
Dim pdfToMerge As EO.Pdf.PdfDocument = New EO.Pdf.PdfDocument(filePath)
listDocument.Add(pdfToMerge)
Next
.....
outputDocument = EO.Pdf.PdfDocument.Merge(listDocument.ToArray())


We tested to downgrade to v22.279.0 and it works fine.

Thanks.
eo_support
Posted: Monday, July 10, 2023 4:28:27 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

Can you send a small test project to us so that we can investigate further? See here for more details:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.