You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Ro...@ipaustralia.gov.au on 2010/10/20 01:31:10 UTC
Adding PDFs to Jackrabbit, class cast exceptions[SEC=UNCLASSIFIED]
Hi
While adding many PDF documents to Jackrabbit repository, WARNING messages
keep popping out in the logs
org.apache.pdfbox.cos.COSDocument - java.lang.ClassCastException
Oct 19 13:13:40 localhost java.lang.ClassCastException
the documents themselves seem to be added successfully to the lucene
index. (the ones that have text)
Is this warning coming from Tika or from PDFBox? Many of my documents will
have no text to find, being simply containers of scanned tiffs. Perhaps
these are the ones that have provoke the messages?
Thanks
Ross.
Re: Adding PDFs to Jackrabbit, class cast exceptions[SEC=UNCLASSIFIED]
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On Wed, Oct 20, 2010 at 1:31 AM, <Ro...@ipaustralia.gov.au> wrote:
> Is this warning coming from Tika or from PDFBox? Many of my documents will
> have no text to find, being simply containers of scanned tiffs. Perhaps
> these are the ones that have provoke the messages?
It's coming from PDFBox. Do you have a full stack trace of the error?
BR,
Jukka Zitting