You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some of the PDF documents . When i try to create a PdfReader object using filepath , I am getting the below exception:-
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 16646495 out of bounds for length 6868
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.base/java.util.Objects.checkIndex(Objects.java:361)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at com.lowagie.text.pdf.PdfReader.readDocObj(PdfReader.java:1957)
at com.lowagie.text.pdf.PdfReader.readPdf(PdfReader.java:1354)
at com.lowagie.text.pdf.PdfReader.(PdfReader.java:180)
at com.lowagie.text.pdf.PdfReader.(PdfReader.java:167)
This used to work in openpdf version 1.3.30 but after this it's breaking. Even i tried with version 1.3.43 but issue still exists.
The text was updated successfully, but these errors were encountered:
Hi,
I have some of the PDF documents . When i try to create a PdfReader object using filepath , I am getting the below exception:-
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 16646495 out of bounds for length 6868
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.base/java.util.Objects.checkIndex(Objects.java:361)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at com.lowagie.text.pdf.PdfReader.readDocObj(PdfReader.java:1957)
at com.lowagie.text.pdf.PdfReader.readPdf(PdfReader.java:1354)
at com.lowagie.text.pdf.PdfReader.(PdfReader.java:180)
at com.lowagie.text.pdf.PdfReader.(PdfReader.java:167)
This used to work in openpdf version 1.3.30 but after this it's breaking. Even i tried with version 1.3.43 but issue still exists.
The text was updated successfully, but these errors were encountered: