java.lang.IndexOutOfBoundsException

Index: 3, Size: 0

Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web7037

  • via Apache's JIRA Issue Tracker by James Green, 11 months ago
    Index: 3, Size: 0
  • via Coderanch by Jorge Zea, 7 months ago
    Index: 3, Size: 0
  • Index: 3, Size: 0
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 3, Size: 0 at java.util.ArrayList.get(ArrayList.java:352) at org.apache.pdfbox.io.RandomAccessBuffer.seek(RandomAccessBuffer.java:84) at org.apache.pdfbox.io.RandomAccessFileInputStream.read(RandomAccessFileInputStream.java:96) at java.io.BufferedInputStream.fill(BufferedInputStream.java:229) at java.io.BufferedInputStream.read1(BufferedInputStream.java:269) at java.io.BufferedInputStream.read(BufferedInputStream.java:328) at java.io.FilterInputStream.read(FilterInputStream.java:101) at org.apache.pdfbox.pdmodel.graphics.xobject.PDJpeg.removeAllFiltersButDCT(PDJpeg.java:305) at org.apache.pdfbox.pdmodel.graphics.xobject.PDJpeg.getRGBImage(PDJpeg.java:223) at org.apache.pdfbox.util.operator.pagedrawer.Invoke.process(Invoke.java:83) at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:554) at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:268) at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:235) at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:215) at org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:125) at org.apache.pdfbox.pdmodel.PDPage.convertToImage(PDPage.java:769)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 2 months ago
    Unknown user
    Once, 11 months ago
    6 times, 1 day ago
    9 times, 1 day ago
    2 times, 5 days ago
    227 more bugmates