PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) Troubleshooting PD4ML library failed to support utf-8

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26867

    Here is the sample HTML content which is failing to convert to PDF.

    <br /> <!doctype html><br /> <html><br /> <head><br /> <title>Test</title><br /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><br /> </head><br /> <body><br /> <h3>Test</h3><br /> </body><br /> </html><br />
    Here is the exception what I see on the server.

    java.lang.NullPointerException
    at org.zefer.pd4ml.PD4ML.o00000(Unknown Source)
    at org.zefer.pd4ml.PD4ML.render(Unknown Source)
    at com.skire.common.util.PDFUtils.convertToPDF(PDFUtils.java:140)
    at com.skire.common.util.PDFUtils.convertToPDF(PDFUtils.java:38)
    at com.skire.common.taskdefs.PDFTask.webPDF(PDFTask.java:120)
    at com.skire.common.taskdefs.PDFTask.execute(PDFTask.java:57)
    at com.skire.webant.WebTask.perform(WebTask.java:93)

    On commenting meta tag the PDF generation goes through well.
    Any help will be appreciated much.

    Thank you,
    Udaya

    #29385

    Anybody encounter this issue ?

    #29386

    Download and try the most recent PD4ML Pro v385.

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.