[
https://issues.apache.org/jira/browse/PDFBOX-6310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18146248#comment-18146248
]
ASF subversion and git services commented on PDFBOX-6310:
---------------------------------------------------------
Commit 1940396 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1940396 ]
PDFBOX-6310: add test for beads, by Valery Bokov
> Fix create word crash between articles
> --------------------------------------
>
> Key: PDFBOX-6310
> URL: https://issues.apache.org/jira/browse/PDFBOX-6310
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 3.0.8 PDFBox
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.38, 3.0.9 PDFBox, 4.0.0
>
>
> See attached PR by [~vbokov]
> {{PDFTextStripper.getText()}} throws an {{IndexOutOfBoundsException}} with
> default settings when a page has
> article beads and a new article starts on the same baseline as the previous
> one, e.g. two beads side by side:
> {{java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
> at java.util.ArrayList.get(ArrayList.java:428)
> at
> org.apache.pdfbox.text.PDFTextStripper.createWord(PDFTextStripper.java:2043)}}
> The bug doesn't occur in 2.0 but I'm adding the test anyway.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]