You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tran Nam Quang (Created) (JIRA)" <ji...@apache.org> on 2012/01/31 19:00:11 UTC

[jira] [Created] (PDFBOX-1217) ClassCastException: COSInteger cannot be cast to COSDictionary

ClassCastException: COSInteger cannot be cast to COSDictionary
--------------------------------------------------------------

                 Key: PDFBOX-1217
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1217
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 1.6.0
            Reporter: Tran Nam Quang


java.lang.ClassCastException: org.apache.pdfbox.cos.COSInteger cannot be cast to org.apache.pdfbox.cos.COSDictionary
at org.apache.pdfbox.pdmodel.PDDocument.getDocumentInformation(PDDocument.java:576)
at net.sourceforge.docfetcher.model.parse.PdfParser.parse(PdfParser.java:52)
at net.sourceforge.docfetcher.model.parse.ParseService.doParse(ParseService.java:261)
at net.sourceforge.docfetcher.model.parse.ParseService.parse(ParseService.java:229)
at net.sourceforge.docfetcher.model.index.file.FileContext.index(FileContext.java:137)
at net.sourceforge.docfetcher.model.index.file.FileIndex$1.handleFile(FileIndex.java:276)
at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.runWithHtmlPairing(HtmlFileLister.java:123)
at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.doRun(HtmlFileLister.java:56)
...

I got this crash from a user, so I'm afraid I can't provide the PDF file that caused this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira