You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using version 2.0.4 of the library together with Apache POI 5.2.5 I am getting an error converting a particular docm file. This is the error:
Exception in thread "main" fr.opensagres.poi.xwpf.converter.core.XWPFConverterException: java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 8
at fr.opensagres.poi.xwpf.converter.pdf.PdfConverter.doConvert(PdfConverter.java:71)
at fr.opensagres.poi.xwpf.converter.pdf.PdfConverter.doConvert(PdfConverter.java:39)
at fr.opensagres.poi.xwpf.converter.core.AbstractXWPFConverter.convert(AbstractXWPFConverter.java:42)
at ConvertWordToPDF.convertWordToPDF(ConvertWordToPDF.java)
The error is raised on line 57, mapper.start()
The same code works in other docm files so I suspect that something is wrong with the file. However, I can open it without any issue in LibreOffice desktop application.
Unfortunately, I cannot share the document as it contains private information. Is there anything I can do to solve it?
The text was updated successfully, but these errors were encountered:
Using version 2.0.4 of the library together with Apache POI 5.2.5 I am getting an error converting a particular docm file. This is the error:
Exception in thread "main" fr.opensagres.poi.xwpf.converter.core.XWPFConverterException: java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 8
at fr.opensagres.poi.xwpf.converter.pdf.PdfConverter.doConvert(PdfConverter.java:71)
at fr.opensagres.poi.xwpf.converter.pdf.PdfConverter.doConvert(PdfConverter.java:39)
at fr.opensagres.poi.xwpf.converter.core.AbstractXWPFConverter.convert(AbstractXWPFConverter.java:42)
at ConvertWordToPDF.convertWordToPDF(ConvertWordToPDF.java)
The error is raised on line 57, mapper.start()
The same code works in other docm files so I suspect that something is wrong with the file. However, I can open it without any issue in LibreOffice desktop application.
Unfortunately, I cannot share the document as it contains private information. Is there anything I can do to solve it?
The text was updated successfully, but these errors were encountered: