Free Support Forum - groupdocs.com

Issue with conversion .docx (with table of content) to .html


#1

Hi,
I’d like to report an issue with conversion .docx to .html.

When I try to get first 7 pages or less the component works fine,
but when I try to get first 10 pages component throws an exception.

The problem seems to be with document’s “table of content”, because when I remove it component works fine even for much bigger documents.

Example .docx document is attached.
Source.zip (37.3 KB)

Exception:
System.InvalidOperationException: Stack empty

There was a similar issue:

Component is for .NET v18.10

Can you please advise me?

Kind regards


#2

@SwdS_User,

Thank you for your inquiry.
Can you please share sample code or project using that we can reproduce this issue?

Using provided file, we can successfully generate output - result-Source.zip (40.9 KB)


#3

Example is attached.
Example.zip (37.9 KB)

I also tried Component is for .NET v18.11 with no luck.


#4

@SwdS_User,

Thanks for sharing the sample code. This issue is now reproduced at our end. We are working on it, your investigation ticket ID is CONVERSIONNET-2863. As we have any update on it, we shall notify you.