Tim Allison created PDFBOX-2868: ----------------------------------- Summary: NPE in Acroform getValueAsString Key: PDFBOX-2868 URL: https://issues.apache.org/jira/browse/PDFBOX-2868 Project: PDFBox Issue Type: Bug Components: AcroForm Reporter: Tim Allison Priority: Minor Attachments: 543014.pdf
The most common exception in the first run of 2.0.0-trunk against govdocs1 is this: {noformat} java.lang.NullPointerException at org.apache.pdfbox.pdmodel.interactive.form.PDNonTerminalField.getValueAsString(PDNonTerminalField.java:181) at org.apache.tika.parser.pdf.PDF2XHTML.addFieldString(PDF2XHTML.java:615) at org.apache.tika.parser.pdf.PDF2XHTML.processAcroField(PDF2XHTML.java:580) at org.apache.tika.parser.pdf.PDF2XHTML.extractAcroForm(PDF2XHTML.java:567) at org.apache.tika.parser.pdf.PDF2XHTML.endDocument(PDF2XHTML.java:201) at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:250) at org.apache.tika.parser.pdf.PDF2XHTML.process(PDF2XHTML.java:137) at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:132) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org