Description
When I convert the pdf test file to image I get a Exception :
(I test with the latest trunk commit git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1663941)
> java -jar ./app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage -imageType png testFile.pdf
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:635)
at java.util.ArrayList.get(ArrayList.java:411)
at org.apache.pdfbox.contentstream.operator.text.ShowText.process(ShowText.java:38)
at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:802)
at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:464)
at org.apache.pdfbox.contentstream.PDFStreamEngine.processAnnotation(PDFStreamEngine.java:301)
at org.apache.pdfbox.contentstream.PDFStreamEngine.showAnnotation(PDFStreamEngine.java:382)
at org.apache.pdfbox.rendering.PageDrawer.showAnnotation(PageDrawer.java:791)
at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:164)
at org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:203)
at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:136)
at org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:95)
at org.apache.pdfbox.tools.PDFToImage.main(PDFToImage.java:236)
at org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:89)
Pages 1 to 6 are ok, only the seventh page is ko