Re: ClassCastException in PDDocumentCatalog.java:339 once again in latest snapshot

2015-04-23 Thread Vadim Bauer
Sorry forgot the most important part. I was calling document.getDocumentCatalog().getOutputIntents(); The Version I am using the latest PDFBox 2.0.0-SNAPSHOT Regards, Vadim > Am 23.04.2015 um 20:12 schrieb Tilman Hausherr : > > What were you doing, and what version were you using? 1.8.10 snaps

Re: NullPointerException while validating PDF/A files

2015-04-23 Thread Tilman Hausherr
I'm glad to hear that. Although the 2.0 snapshot is unreleased, it is pretty stable re PDF/A checking. None of the remaining 2.0 issues are related to preflight. Tilman Am 23.04.2015 um 11:38 schrieb Eugster Christian BB_SK: Hi Mariun, at last I had the opportunity to download the 2.0.0 SNAP

Re: Getting the pagenumber of a PDPage

2015-04-23 Thread Tilman Hausherr
Am 22.04.2015 um 10:15 schrieb Johanneke Lamberink: Hi, I'm trying to get the pagenumber of a given PDPage. What I have is: document.getPages().indexOf(page) No matter the page I input, I always get the same result, which is equal to the total number of pages document.getPages().getCount() ==

Re: ClassCastException in PDDocumentCatalog.java:339 once again in latest snapshot

2015-04-23 Thread Tilman Hausherr
What were you doing, and what version were you using? 1.8.10 snapshot or 2.0 snapshot? Tilman Am 23.04.2015 um 19:40 schrieb Vadim Bauer: Hello everybody, this issue is similar as the one already reported by me in https://issues.apache.org/jira/browse/PDFBOX-2687. java.lang.ClassCastExcept

ClassCastException in PDDocumentCatalog.java:339 once again in latest snapshot

2015-04-23 Thread Vadim Bauer
Hello everybody, this issue is similar as the one already reported by me in https://issues.apache.org/jira/browse/PDFBOX-2687 . java.lang.ClassCastException: org.apache.pdfbox.cos.COSObject cannot be cast to org.apache.pdfbox.cos.COSDi

Re: NullPointerException while validating PDF/A files

2015-04-23 Thread Maruan Sahyoun
Hi, > Am 23.04.2015 um 11:38 schrieb Eugster Christian BB_SK > : > > Hi Mariun, > > at last I had the opportunity to download the 2.0.0 SNAPSHOT. With the 1.8.9 > release the NPE has been thrown at the same point, with 2.0.0 SNAPSHOT of > 04/23/2015 it has gone. Thank you very much! good to

NullPointerException while validating PDF/A files

2015-04-23 Thread Eugster Christian BB_SK
Hi Mariun, at last I had the opportunity to download the 2.0.0 SNAPSHOT. With the 1.8.9 release the NPE has been thrown at the same point, with 2.0.0 SNAPSHOT of 04/23/2015 it has gone. Thank you very much! Regards Christian Freundliche GrĂ¼sse Christian Eugster Stadtkanzlei l Stadt St.Gallen