Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5506

IndexOutOfBoundsException in Type1Parser.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.26
    • 2.0.27, 3.0.0 PDFBox
    • FontBox
    • None

    Description

      "commoncrawl/CC-MAIN-2021-31/c3/9c/c39c99c7ecd091f778097e23374a08d78333d318c48b87c2ea62dfc7f096e82f",1,False,"2825","java.lang.IndexOutOfBoundsException: Index 110 out of bounds for length 110
      	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:248)
      	at java.base/java.util.Objects.checkIndex(Objects.java:373)
      	at java.base/java.util.ArrayList.set(ArrayList.java:441)
      	at org.apache.fontbox.type1.Type1Parser.readSubrs(Type1Parser.java:747)
      	at org.apache.fontbox.type1.Type1Parser.parseBinary(Type1Parser.java:594)
      	at org.apache.fontbox.type1.Type1Parser.parse(Type1Parser.java:71)
      	at org.apache.fontbox.type1.Type1Font.createWithPFB(Type1Font.java:71)
      	at org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:247)
      	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:76)
      	at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:146)
      	at org.apache.pdfbox.contentstream.operator.text.SetFont","2803",True
      

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: