Re: ClassCastException in PDDocumentCatalog.java:474

2015-02-17 Thread Vadim Bauer
not fixed. add a comment in jira https://issues.apache.org/jira/browse/PDFBOX-2687 > Am 17.02.2015 um 19:13 schrieb Maruan Sahyoun : > > you can download a snapshot build from > https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox/1.8.9-SNAPSHOT/ > including the fix

Re: ClassCastException in PDDocumentCatalog.java:474

2015-02-17 Thread Maruan Sahyoun
you can download a snapshot build from https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox/1.8.9-SNAPSHOT/ including the fix or build from the sources. Please confirm at https://issues.apache.org/jira/browse/PDFBOX-2687 that the issue has been resolved. BR Maruan A

Re: ClassCastException in PDDocumentCatalog.java:474

2015-02-17 Thread Maruan Sahyoun
Hi, I created https://issues.apache.org/jira/browse/PDFBOX-2687 and I already have a fix for it. Maruan Am 17.02.2015 um 17:55 schrieb Vadim Bauer : > tried with 1.8.6 and 1.8.8. > >> Am 17.02.2015 um 16:38 schrieb Maruan Sahyoun : >> >> which version of PDFBox are you using? >> >> Maruan

Re: ClassCastException in PDDocumentCatalog.java:474

2015-02-17 Thread Maruan Sahyoun
I'm in the middle of fixing it - there are two issues in the code. Maruan Am 17.02.2015 um 18:15 schrieb Tilman Hausherr : > I'll take care about this later today. Probably need to replace getItem with > getDictionaryItem. > > Tilman > > Am 17.02.2015 um 17:55 schrieb Vadim Bauer: >> tried w

Re: ClassCastException in PDDocumentCatalog.java:474

2015-02-17 Thread Tilman Hausherr
I'll take care about this later today. Probably need to replace getItem with getDictionaryItem. Tilman Am 17.02.2015 um 17:55 schrieb Vadim Bauer: tried with 1.8.6 and 1.8.8. Am 17.02.2015 um 16:38 schrieb Maruan Sahyoun : which version of PDFBox are you using? Maruan Am 17.02.2015 um 16:

Re: ClassCastException in PDDocumentCatalog.java:474

2015-02-17 Thread Vadim Bauer
tried with 1.8.6 and 1.8.8. > Am 17.02.2015 um 16:38 schrieb Maruan Sahyoun : > > which version of PDFBox are you using? > > Maruan > > Am 17.02.2015 um 16:36 schrieb Vadim Bauer : > >> fyi >> the item is = COSObject{5, 0} >> and baseObject is a COSArray >> >> COSArray{[COSDictionary{(COSNam

Re: ClassCastException in PDDocumentCatalog.java:474

2015-02-17 Thread Maruan Sahyoun
which version of PDFBox are you using? Maruan Am 17.02.2015 um 16:36 schrieb Vadim Bauer : > fyi > the item is = COSObject{5, 0} > and baseObject is a COSArray > > COSArray{[COSDictionary{(COSName{DestOutputProfile}:COSDictionary{(COSName{Alternate}:COSName{DeviceRGB}) > (COSName{Filter}:COSNa

Re: ClassCastException in PDDocumentCatalog.java:474

2015-02-17 Thread Vadim Bauer
fyi the item is = COSObject{5, 0} and baseObject is a COSArray COSArray{[COSDictionary{(COSName{DestOutputProfile}:COSDictionary{(COSName{Alternate}:COSName{DeviceRGB}) (COSName{Filter}:COSName{FlateDecode}) (COSName{Length}:COSInt{2574}) (COSName{N}:COSInt{3}) }) (COSName{Info}:COSString{sRGB I

Re: ClassCastException in PDDocumentCatalog.java:474

2015-02-17 Thread Maruan Sahyoun
Hi, I'd need to look into the PDF in more detail but the output intent should be an array (of dictionaries). BR Maruan Am 17.02.2015 um 15:59 schrieb Vadim Bauer : > Im trying to call "List outputIntents = > doc.getDocumentCatalog().getOutputIntent();" on > https://www.dropbox.com/s/u7gwgxpq