[ 
https://issues.apache.org/jira/browse/PDFBOX-6063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-6063.
-------------------------------------
    Resolution: Fixed

> StringIndexOutOfBoundsException in PlainText$Paragraph.getLines()
> -----------------------------------------------------------------
>
>                 Key: PDFBOX-6063
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6063
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.34, 3.0.5 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.35, 3.0.6 PDFBox, 4.0.0
>
>         Attachments: PDFBOX-6063-0072554-EmptyAnnotation.pdf
>
>
> StringIndexOutOfBoundsException: begin 0, end -1, length 6
>     java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
>     java.base/java.lang.String.substring(String.java:1874)
>     
> org.apache.pdfbox.pdmodel.interactive.PlainText$Paragraph.getLines(PlainText.java:206)
>     
> org.apache.pdfbox.pdmodel.interactive.PlainTextFormatter.format(PlainTextFormatter.java:153)
> This is because width is negative, because the rectangle is empty.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to