Hello,
I'm sur there is already a post on this thread, but since i didn't found it, I post one.
Each times I want to generate my PDF from my html page using bootstrap I've got exception.
First one is a NullPointerException from NaiveUserAgent.getBinaryResource.
I clean my CSS to remove "@font-face" declaration and now I've got
java.lang.ClassCastException: org.xhtmlrenderer.render.BlockBox cannot be cast to org.xhtmlrenderer.newtable.TableBox
I've read a post to patch librairie with this code in BoxCollector.java
if (container.getStyle().isTable() && c instanceof RenderingContext && container instanceof TableBox) { // HACK
and it seems to works since next time...
Is there any other solution (upgrading version ? other librairie ? ) to get my PDF from my responsive html form ?
Best regards,
Julien.