Dear Christian, which version of PDFBox are you using? Could you provide a full stack trace?
BR Maruan Sahyoun FileAffairs GmbH Josef-Schappe-Straße 21 40882 Ratingen Tel: +49 (2102) 89497 88 Fax: +49 (2102) 89497 91 [email protected] www.fileaffairs.de Geschäftsführer: Maruan Sahyoun Handelsregister: AG Düsseldorf, HRB 53837 UST.-ID: DE248275827 Am 30.01.2015 um 10:45 schrieb Eugster Christian BB_SK <[email protected]>: > Hi , > previously I searched in the web for this issue but did not find anything > about it. > I am using pdfbox to validate pdf/a files. There are 265 files to validate, > most of them passed without problems. On 7 files however validating throws a > nullpointerexception. The place where this exception is thrown within pdfbox > is org.apache.pdfbox.util.PDFStreamEngine. processSubStream(PDPage aPage, > PDResources resources, COSStream cosStream) throws IOException within the > finally clause where streamResourcesStack.pop().clear() is done. Because I > have no chance to go further due to extremely restricted authorizations I can > not say more about it. The files in question are generated by Microsoft > Office 2010 without protection. The content of the files has informations > about persons and I am not allowed to distribute them. > > Does anybody know about this and what could be the problem? What am I to do > to avoid this problem? Do you need any further information? Thanks for any > response! > > Freundliche Grüsse > Christian Eugster > > Stadtkanzlei l Stadt St.Gallen l Rathaus l 9001 St.Gallen > Tel +41 71 224 XX XX l > [email protected]<mailto:[email protected]> l > www.stadt.sg.ch<http://www.stadt.sg.ch/> > Erreichbarkeit: jeweils Do und Fr der zweiten Monatshälfte. > > > ________________________________ > > Hinweis: Diese Mitteilung ist ausschliesslich für die als Adressaten > bezeichneten Personen bestimmt. Sie kann vertrauliche und rechtlich > geschützte Informationen enthalten. Sollten Sie diese Mitteilung irrtümlich > erhalten haben, bitten wir Sie, uns unverzüglich zu benachrichtigen und diese > Mitteilung zu löschen. Das unerlaubte Kopieren sowie die unbefugte Weitergabe > dieses E-Mails ist nicht gestattet. Besten Dank.

