Hello

I have an FO file and I want to use it to generate a PDF File.

When I use FOP 0.93 by command line, everything works fine. A PDF file is
generated correctly. This PDF file contains a table, text and 3 checkboxes.
When I use FOP 0.93 using Java API, the PDF is generated, no error is
generated but the checkboxes are not generated. They simply does not appear.

With FOP 0.94 using Java API, the result is the same.

With FOP 0.95, using Java API, the PDF is not generated. The following error
is displayed:

Exception in thread "Thread-3" org.eclipse.swt.SWTException: Failed to
execute runnable (java.lang.StackOverflowError)
    at org.eclipse.swt.SWT.error(SWT.java:3374)
    at org.eclipse.swt.SWT.error(SWT.java:3297)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:178)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:3763)
    at
composite.NouvelleLettreStructuree$6$1$1.run(NouvelleLettreStructuree.java:646)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.StackOverflowError
    at sun.misc.FloatingDecimal.dtoa(Unknown Source)
    at sun.misc.FloatingDecimal.<init>(Unknown Source)
    at java.lang.StringBuffer.append(Unknown Source)
    at
org.apache.fop.fo.properties.PercentLength.toString(PercentLength.java:121)
    at java.lang.String.valueOf(Unknown Source)
    at java.lang.StringBuffer.append(Unknown Source)
    at
org.apache.fop.fo.flow.table.TableColumn.toString(TableColumn.java:233)

Any idea on how can I can generate the PDF correctly using FOP API?

Thanks
Regards.

Reply via email to