Tahir,
This makes absolutely no sense, please explain more!? And please provide a solution or workaround. This is a horrible issue that is crashing our Production servers, and we have no way to fix it since it is a StackOverflowException! Please raise this issue with your manager so we can get a solution ASAP!
I gave you the exact project we are using to repo the issue, included the exact file with the project that causes the issue, linked via nuget to the exact version of Aspose.PDF, and showed you a screenshot of the stack overflow that happens running the single line of code! How in the world can you not repo the error!? It happens every time whether or not running in the debugger! This same error, with the same file, is also happening on several of our Production Windows Server 2019 VMs, as well, so this is not isolated to a single machine or version of .NET!
Also, every time you reply to this issue, your statements don’t make sense. What do you mean “Please make sure that you are using the same HTML”? I included the EXACT file with the project I submitted to this ticket. Did you even download the project and run it???
Please raise this issue with your manager and switch over to another Dev who can figure out what is going on. We’ve been loyal customers of Aspose for years now and spent a ton of money with you guys, and the quality of the toolkits have gone downhill. Please get a resolution for us, or I will call in myself to get this figured out!!