Welcome Guest Search | Active Topics | Sign In | Register

Exception when printing documents / link expires in 3 days Options
Raul F
Posted: Wednesday, May 28, 2025 5:18:22 AM
Rank: Member
Groups: Member

Joined: 9/23/2019
Posts: 21
We are getting the following exception when trying to print these 2 pdf files. https://we.tl/t-GS6vlEI2pE

System.Exception: Property 'Kids' can not be empty.
at EO.Internal.xvvu.abiu[a](String deb, Boolean dec)
at EO.Pdf.PdfPageCollection.iing(xvvu aku, xvxb akv)
at EO.Pdf.PdfPageCollection..ctor(xvnw aks, xvvu akt)
at EO.Internal.xvnw..ctor(PdfDocument ala, xvvu alb)
at EO.Pdf.PdfDocument..ctor(xvvh agp, Boolean agq)
at EO.Pdf.PdfDocument..ctor(Stream stream)
at AdvisoryTools.DocumentConversion.Logic.DocGeneration.MergeRawDocuments.MergeHtmlAndPdfStreams(Stream htmlStream, Stream pdfStream, CancellationToken cancellationToken) in C:\Workspace\Core\src\services\core.services\documentconversion\AdvisoryTools.DocumentConversion.Logic\DocGeneration\MergeRawDocuments.cs:line 261

Note: when they are printed independently they work. But when you try to merge these 2 and print them this error is being thrown.

this is the line that fails --> new EO.Pdf.PdfDocument(pdfStream); where pdfStream contains the stream of these 2 documents put together with the following line --> EO.Pdf.PdfDocument.Merge(docs.ToArray());
eo_support
Posted: Wednesday, May 28, 2025 9:52:25 PM
Rank: Administration
Groups: Administration

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

What version do you use? This might be an issue we fixed in build 25.1.22. We tested the latest build and we do not see this problem. Can you try the latest build and see if it works for you?

Thanks!
Raul F
Posted: Thursday, May 29, 2025 6:22:45 AM
Rank: Member
Groups: Member

Joined: 9/23/2019
Posts: 21
Seems to be working fine with version 25.1.65. Thanks!
eo_support
Posted: Thursday, May 29, 2025 11:19:06 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,373
Great. Thanks for confirming!


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.