Rank: Member Groups: Member
Joined: 9/5/2013 Posts: 10
|
We tried to upgrade our EO.PDF subscription from 5.0.89.2 to 16.0.7.0. Everything was working fine locally, though under a rather light load. When trying to deploy to production, it would work fine for a couple of requests and then would start failing with a null reference exception and would continue to fail with the same exception for subsequent requests. After reverting back to 5.0.89.2 we have not seen the issue pop up again. Here is the stack trace that we were able to capture from the exception:
System.NullReferenceException: Object reference not set to an instance of an object. at EO.Internal.o4.a(adv A_0, String A_1, String A_2, Int32 A_3, Int32 A_4, Boolean A_5) at EO.Pdf.HtmlToPdfSession.a(adv A_0, String A_1, String A_2, Boolean A_3) at EO.Pdf.HtmlToPdfSession.LoadHtml(String html) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options)
Any thoughts?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
This appears to be caused by an internal thread terminated prematurely (which is what caused the converter to fail with the same exception with subsequent requests). We are currently adding code to make sure:
1. Some exceptions that can cause this thread to terminate will be routed back to your calling thread with a more specific error message and will not cause the thread to terminate. This would make the error recoverable; 2. Other unrecoverable exception would trigger EO.Base.Runtime.Exception event. It is recommended that you monitor this event once you update to the new build. That may provide additional information about the root of the problem;
We are currently working on a number of issues with the new build and is expected to post an update build during the weekend.
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have just posted the new build with these changes. However we have not been able to reproduce this exact problem. So please let us know if you can reproduce this problem consistently.
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
The NullReferenceException issue is fixed in 2016.0.28.0. You can download it from our download page.
Thanks!
|