HTML to PDF / DOCX / RTF Java converter library Forums PD4ML v3 Archived Forums (Read Only) HTML/CSS rendering issues NullPointerException in a table/disp:none/float combination

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

    Hello,
    similarly to the ClassCastException and the endless loop, a somewhat similar combination leads to a NPE with 3.9.9fx1.
    The code is:
    <br /> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><br /> <html><br /> <body><br /> <table><br /> <tr><td><br /> <a style="display: block;"><br /> <span style="float: left;display: inline-block;"></span><br /> </a><br /> </td></tr><br /> <br /> <tr><td><br /> <div style="display: none;"><br /> <table><br /> <tr><td><br /> <a style="float: left;"><span style="display: block;"></span></a><br /> <a style="float: right;"><span style="display: block;"></span></a><br /> </td></tr><br /> </table><br /> </div><br /> <br /> </td></tr><br /> </table><br /> </body><br /> </html><br />

    and the exception
    <br /> java.lang.NullPointerException<br /> at org.zefer.html.doc.o.o00000(Unknown Source)<br /> at org.zefer.html.doc.r.ôO0000(Unknown Source)<br /> at org.zefer.html.doc.q.o00000(Unknown Source)<br /> at org.zefer.html.doc.q.void(Unknown Source)<br /> at org.zefer.html.doc.o.o00000(Unknown Source)<br /> at org.zefer.html.doc.view.d.o00000(Unknown Source)<br /> at org.zefer.html.doc.db.o00000(Unknown Source)<br /> at org.zefer.html.doc.view.d.o00000(Unknown Source)<br /> at org.zefer.html.doc.db.o00000(Unknown Source)<br /> at org.zefer.html.doc.Document.paint(Unknown Source)<br /> at org.zefer.pd4ml.PD4ML.o00000(Unknown Source)<br /> at org.zefer.pd4ml.PD4ML.render(Unknown Source)<br /> ...<br />

    Please let us know if we can supply any additional information.

    Thank you + best regards,
    Viktor

    #29936

    The issue is reproduced. We’ll begin to work on it next week.

    #29937

    v399fx2 should fix the issue.

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

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.