Welcome Guest Search | Active Topics | Sign In | Register

Convertion failed. Object reference not set to an instance of an object. Options
jake
Posted: Monday, October 31, 2011 10:33:12 AM
Rank: Newbie
Groups: Member

Joined: 10/28/2011
Posts: 3
When trying to parse the adobe web site, I receive the following HtmlToPdfException:
"Convertion failed. Object reference not set to an instance of an object."


//Sample code
HtmlToPdfOptions options = new HtmlToPdfOptions();
options.MaxLoadWaitTime = 60000;

HtmlToPdf.Options.AutoFitX = HtmlToPdfAutoFitMode.ScaleToFit;
HtmlToPdf.Options.AutoFitY = HtmlToPdfAutoFitMode.ScaleToFit;

HtmlToPdf.ConvertUrl("url", "pdf file");


Stack Trace

at EO.Pdf.HtmlToPdfException.b(Exception A_0)
at EO.Pdf.Internal.kl.a()
at EO.Pdf.Internal.kl.i()
at EO.Pdf.HtmlToPdf.a(kl A_0)
at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertUrl(String url, String pdfFileName, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertUrl(String url, String pdfFileName)
at eopdfTest.EoPdfConverter.ScreenMediaTypePrinter.PrintPaperSizeFitToPage()
eo_support
Posted: Monday, October 31, 2011 11:03:54 AM
Rank: Administration
Groups: Administration

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

I believe this is a known issue and we already have a build that should fix this issue. Please see your private message for the download location.

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.