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

Samebug tips

  1. ,

    You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.

  2. ,

    Can occur when you try to convert a String to a numeric value but the String is not well formatted for the conversion.

Solutions on the web

via pdfbox-dev by Eric Leleu (JIRA), 1 year ago
via pdfbox-dev by Eric Leleu (JIRA), 1 year ago
via pdfbox-dev by Eric Leleu (JIRA), 1 year ago
via Google Groups by Greg Moncreaff, 2 years ago
For input string: ""
via Coderanch by Henry Wong, 1 year ago
For input string: ""
java.lang.NumberFormatException: For input string: "readonly"	at java.lang.NumberFormatException.forInputString(Unknown Source)	at java.lang.Integer.parseInt(Unknown Source)	at java.lang.Integer.parseInt(Unknown Source)	at org.apache.pdfbox.preflight.font.util.Type1Parser.readCharStringElement(Type1Parser.java:276)	at org.apache.pdfbox.preflight.font.util.Type1Parser.parseCharStringArray(Type1Parser.java:259)	at org.apache.pdfbox.preflight.font.util.Type1Parser.parseEExecPart(Type1Parser.java:248)	at org.apache.pdfbox.preflight.font.util.Type1Parser.decodeAndParseEExecPart(Type1Parser.java:180)	at org.apache.pdfbox.preflight.font.util.Type1Parser.parse(Type1Parser.java:167)	at org.apache.pdfbox.preflight.font.descriptor.Type1DescriptorHelper.processFontFile1(Type1DescriptorHelper.java:134)	at org.apache.pdfbox.preflight.font.descriptor.Type1DescriptorHelper.processFontFile(Type1DescriptorHelper.java:109)	at org.apache.pdfbox.preflight.font.descriptor.FontDescriptorHelper.validate(FontDescriptorHelper.java:90)	at org.apache.pdfbox.preflight.font.SimpleFontValidator.processFontDescriptorValidation(SimpleFontValidator.java:76)	at org.apache.pdfbox.preflight.font.SimpleFontValidator.validate(SimpleFontValidator.java:53)	at org.apache.pdfbox.preflight.process.reflect.FontValidationProcess.validate(FontValidationProcess.java:58)	at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:67)	at org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:45)	at org.apache.pdfbox.preflight.process.reflect.ResourcesValidationProcess.validateFonts(ResourcesValidationProcess.java:82)	at org.apache.pdfbox.preflight.process.reflect.ResourcesValidationProcess.validate(ResourcesValidationProcess.java:65)	at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:67)	at org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:45)	at org.apache.pdfbox.preflight.process.reflect.SinglePageValidationProcess.validateResources(SinglePageValidationProcess.java:142)	at org.apache.pdfbox.preflight.process.reflect.SinglePageValidationProcess.validate(SinglePageValidationProcess.java:76)	at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:67)	at org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:45)	at org.apache.pdfbox.preflight.process.PageTreeValidationProcess.validatePage(PageTreeValidationProcess.java:49)	at org.apache.pdfbox.preflight.process.PageTreeValidationProcess.validate(PageTreeValidationProcess.java:41)	at org.apache.pdfbox.preflight.utils.ContextHelper.callValidation(ContextHelper.java:67)	at org.apache.pdfbox.preflight.utils.ContextHelper.validateElement(ContextHelper.java:79)	at org.apache.pdfbox.preflight.PreflightDocument.validate(PreflightDocument.java:147)	at org.apache.pdfbox.preflight.Validator_A1b.main(Validator_A1b.java:58)