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

java.lang.IndexOutOfBoundsException in callothersubr

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • FontBox

    Description

      I get this exception with the attached file:

      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      	at java.util.ArrayList.rangeCheck(Unknown Source)
      	at java.util.ArrayList.get(Unknown Source)
      	at org.apache.fontbox.cff.Type1CharString.callothersubr(Type1CharString.java:291)
      	at org.apache.fontbox.cff.Type1CharString.handleCommand(Type1CharString.java:233)
      	at org.apache.fontbox.cff.Type1CharString.access$000(Type1CharString.java:39)
      	at org.apache.fontbox.cff.Type1CharString$1.handleCommand(Type1CharString.java:135)
      	at org.apache.fontbox.cff.CharStringHandler.handleSequence(CharStringHandler.java:45)
      	at org.apache.fontbox.cff.Type1CharString.render(Type1CharString.java:138)
      	at org.apache.fontbox.cff.Type1CharString.getPath(Type1CharString.java:110)
      	at org.apache.pdfbox.rendering.font.Type1Glyph2D.<init>(Type1Glyph2D.java:90)
      	at org.apache.pdfbox.rendering.font.Type1Glyph2D.<init>(Type1Glyph2D.java:62)
      	at org.apache.pdfbox.rendering.PageDrawer.createGlyph2D(PageDrawer.java:548)
      

      Attachments

        1. PDFBOX-2244-040483.pdf
          171 kB
          Tilman Hausherr

        Activity

          People

            jahewson John Hewson
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: