You are viewing a plain text version of this content. The canonical link for it is here.
Posted to odf-dev@incubator.apache.org by "Igor Avila (JIRA)" <ji...@apache.org> on 2017/01/10 06:43:58 UTC

[jira] [Commented] (ODFTOOLKIT-443) Error converting .ods file to .pdf

    [ https://issues.apache.org/jira/browse/ODFTOOLKIT-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15814093#comment-15814093 ] 

Igor Avila commented on ODFTOOLKIT-443:
---------------------------------------

Hi Svante,

Thank you so far for this info :)

> 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)