• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

SERVER ERROR with cfhtmltopdf tag

New Here ,
Apr 13, 2022 Apr 13, 2022

Copy link to clipboard

Copied

We are facing issue when generating pdf in Coldfusion 2018. As per one relieble source we came to know this is existing bug in Coldfusion 2018. It will be really big help if some assist us in solution or is there any patch Adobe is relased then let us know. Below is error detail -

 

Regards

Nikhil 

--------------------------------------------------------

Detail: Reason: SERVER ERROR
Message: Error occurred while generating PDF.
StackTrace: coldfusion.document.webkit.PDFgErrorHandler$ServiceManagerConversionException: Error occurred while generating PDF.
at coldfusion.document.webkit.PDFgErrorHandler.handleConversionError(PDFgErrorHandler.java:190)
at coldfusion.document.webkit.HttpPDFRequestHandler.requestPDFGeneration(HttpPDFRequestHandler.java:178)
at coldfusion.tagext.lang.HtmlToPdfTag.processPDFgRequest(HtmlToPdfTag.java:1361)
at coldfusion.tagext.lang.HtmlToPdfTag.handlePDFgConversionRequest(HtmlToPdfTag.java:1511)
at coldfusion.tagext.lang.HtmlToPdfTag.convertToPDF(HtmlToPdfTag.java:1448)
at coldfusion.tagext.lang.HtmlToPdfTag.doEndTag(HtmlToPdfTag.java:1599)

Views

399

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 13, 2022 Apr 13, 2022

Copy link to clipboard

Copied

Nikhil, can you share first any more you have that connects this to being a bug? I ask because rhere can be many reasons you get such an error, which may not be "bugs".

 

First, what update of cf2018 are you one? And how long have you been on it?

 

And are you confirming that ANY use of cfhtmltopdf fails tobwork, even a simple 3 line example with static text? That can be valuable to know. 

 

And in the cf admin, on the pdf service page, is it pointing to its pdf (add on) service as running on the localhost along with CF, or on another server? That's an option. 

 

And we need to know because you'd want to check the logs for that pdf/addon service. The addon service could have been installed on its own and implemented in its own folder, like coldfusion2018addonservice, or it could have been installed along with CF, and so its folder would be  the cfusion/jetty folder. And the logs would be in either of those.

 

Let us know what you may find. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 13, 2022 Apr 13, 2022

Copy link to clipboard

Copied

LATEST

Do the following test, in strict order:

  1.  Restart the Add-On services (thereby automatically restarting the PDF service);
  2.  Restart ColdFusion;
  3.  Run the code to generate PDF.

 

That suggestion comes from a previous discussion in this forum. Does it work for you too?

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation