org.odftoolkit.odfdom.converter.core.ODFConverterException

java.lang.RuntimeException: Not all annotations could be added to the document (the document doesn’t have enough pages).

Solutions on the web2

  • via wordpress.com by Unknown author, 9 months ago
    java.lang.RuntimeException: Not all annotations could be added to the document (the document doesn’t have enough pages).
  • via GitHub by matteomr
    , 1 year ago
    java.lang.RuntimeException: Not all annotations could be added to the document (the document doesn't have enough pages).
  • Stack trace

    • org.odftoolkit.odfdom.converter.core.ODFConverterException: java.lang.RuntimeException: Not all annotations could be added to the document (the document doesn’t have enough pages). 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 fr.opensagres.xdocreport.samples.odt.converters.pdf.ConvertODTas400ToPDF.main(ConvertODTas400ToPDF.java:198) Caused by: java.lang.RuntimeException: Not all annotations could be added to the document (the document doesn’t have enough pages). at com.lowagie.text.pdf.PdfDocument.close(Unknown Source) at com.lowagie.text.Document.close(Unknown Source) at org.odftoolkit.odfdom.converter.pdf.internal.stylable.StylableDocument.close(StylableDocument.java:380) at org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.save(ElementVisitorForIText.java:685) at org.odftoolkit.odfdom.converter.pdf.PdfConverter.processBody(PdfConverter.java:128) at org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:65)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.