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

java.lang.IndexOutOfBoundsException in callothersubr

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: FontBox
    • Labels:

      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: