RE: [Tika] I have a question. --> "Exception : org.apache.pdfbox.cos.COSArray cannot be cast to org.apache.pdfbox.cos.COSDictionary"

2016-09-16 Thread Allison, Timothy B.
-Original Message- From: question.answer...@gmail.com [mailto:question.answer...@gmail.com] Sent: Friday, September 16, 2016 8:11 AM To: u...@tika.apache.org Subject: Re: [Tika] I have a question. --> "Exception : org.apache.pdfbox.cos.COSArray cannot be cast to org.apache.pdfbox.cos.C

Empty array when getting acroforms

2016-09-16 Thread Andrew Bogdanov
Hi. I'm trying to retrieve an Acroform data of the PDF by using this code: COSArray fields = (COSArray)this.acroForm.getDictionaryObject(COSName.getPDFName("Fields")); As a result I have got empty array, but this doc for sure have may filed inside, if I open this doc through the console using ja

Re: Empty array when getting acroforms

2016-09-16 Thread Tilman Hausherr
Am 16.09.2016 um 17:04 schrieb Andrew Bogdanov: Hi. I'm trying to retrieve an Acroform data of the PDF by using this code: COSArray fields = (COSArray)this.acroForm.getDictionaryObject(COSName.getPDFName("Fields")); As a result I have got empty array, but this doc for sure have may filed in

Re: [Tika] I have a question. --> "Exception : org.apache.pdfbox.cos.COSArray cannot be cast to org.apache.pdfbox.cos.COSDictionary"

2016-09-16 Thread Tilman Hausherr
Please upload your PDF file somewhere and tell what PDFBox version you are using. (In the PDFBox user mailing list) Tilman -Original Message- From: question.answer...@gmail.com [mailto:question.answer...@gmail.com] Sent: Friday, September 16, 2016 8:11 AM To: u...@tika.apache.org Su

Re: Unsupported float value. Error expected floating point number actual='0.-262'

2016-09-16 Thread Tilman Hausherr
Am 15.09.2016 um 22:07 schrieb Tilman Hausherr: Hi, Thanks, I've opened https://issues.apache.org/jira/browse/PDFBOX-3500. Your patch works fine with the file but I'll run some more tests, as you rightly suggest :-) Tilman done ---