java.io.IOException

Error: value is not an integer type actual='-'

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web12

Stack trace

  • java.io.IOException: Error: value is not an integer type actual='-' at org.apache.pdfbox.cos.COSInteger.<init>(COSInteger.java:71) at org.apache.pdfbox.cos.COSNumber.get(COSNumber.java:96) at org.apache.pdfbox.pdfparser.PDFStreamParser.parseNextToken(PDFStreamParser.java:255) at org.apache.pdfbox.pdfparser.PDFStreamParser.parse(PDFStreamParser.java:101) at org.apache.pdfbox.cos.COSStream.getStreamTokens(COSStream.java:119) at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:216) at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:188) at org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:367) at org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:291) at org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:247) at org.apache.pdfbox.ExtractText.main(ExtractText.java:229)

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

We couldn't find other users who have seen this exception.