Igor Avila created ODFTOOLKIT-443:
-------------------------------------
Summary: Error converting .ods file to .pdf
Key: ODFTOOLKIT-443
URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-443
Project: ODF Toolkit
Issue Type: Bug
Components: odfdom
Affects Versions: 0.7-incubating
Reporter: Igor Avila
Attachments: odfdomsample.java, origSpreadsheetFile.ods
I'm using odfdom version 0.8.7, simple-odf version 0.6.6, odfdom.converter.core
and odfdom.converter.pdf version 1.0.6, having same trouble with version 1.0.5
and lowagie.itext version 2.1.7.
What I'm trying is to open a .ods file, fill content and finally convert it to
pdf. The problem is when I try to convert it to pdf, I always have the same
exception:
org.odftoolkit.odfdom.converter.core.ODFConverterException:
java.lang.NullPointerException
at
org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:82)
at
org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:43)
at
org.odftoolkit.odfdom.converter.core.AbstractODFConverter.convert(AbstractODFConverter.java:42)
at odfdom.odfdomsample.processSpreadsheetFile(odfdomsample.java:184)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)