Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.22, 3.0.0 PDFBox
Description
java.lang.StringIndexOutOfBoundsException: begin 0, end 481, length 1 java.base/java.lang.String.checkBoundsBeginEnd(String.java:3756) java.base/java.lang.String.substring(String.java:1902) org.apache.pdfbox.pdmodel.interactive.form.PlainText$Paragraph.getLines(PlainText.java:209) org.apache.pdfbox.pdmodel.interactive.form.PlainTextFormatter.format(PlainTextFormatter.java:182) org.apache.pdfbox.pdmodel.interactive.form.AppearanceGeneratorHelper.insertGeneratedAppearance(AppearanceGeneratorHelper.java:585) org.apache.pdfbox.pdmodel.interactive.form.AppearanceGeneratorHelper.setAppearanceContent(AppearanceGeneratorHelper.java:420) org.apache.pdfbox.pdmodel.interactive.form.AppearanceGeneratorHelper.setAppearanceValue(AppearanceGeneratorHelper.java:238) org.apache.pdfbox.pdmodel.interactive.form.PDTextField.constructAppearances(PDTextField.java:262) org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm.refreshAppearances(PDAcroForm.java:327)
This happens with the field "barcode1" on page 6.