Tilman Hausherr created PDFBOX-6310:
---------------------------------------

             Summary: 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
             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]

Reply via email to