java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via pdfbox-users by Agustin Rios, 1 year ago
Index: 0, Size: 0
via pdfbox-users by Agustin Rios, 1 year ago
Index: 0, Size: 0
via incubator-pdfbox-users by Agustin Rios, 4 months ago
Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at org.apache.pdfbox.pdfwriter.COSWriter.visitFromStream(COSWriter.java:1245)
at org.apache.pdfbox.cos.COSStream.accept(COSStream.java:201)
at org.apache.pdfbox.cos.COSObject.accept(COSObject.java:206)
at org.apache.pdfbox.pdfwriter.COSWriter.doWriteObject(COSWriter.java:524)
at org.apache.pdfbox.pdfwriter.COSWriter.doWriteBody(COSWriter.java:434)
at org.apache.pdfbox.pdfwriter.COSWriter.visitFromDocument(COSWriter.java:1056)
at org.apache.pdfbox.cos.COSDocument.accept(COSDocument.java:496)
at org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1392)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.