I think it is not the cause of the error : the exception is caused in
the processStream, so we have already loaded the document catalog,
readed the pages…
If the BufferedInputStream would be wrong or null, the Exception would
have been raised before.
I could'nt reproduced the problem : if the file does not exists, we have
another exception, and do not go throught the pdfbox parsing system…
It is as if Pdfbox can open the file and make its own temp files, but
fail when trying to read them… Maybe an environnment problem ? The same
code is working fine on other system.
By tracking the hierarchy call, its look like the COSStream object
created by :
page.getContents().getStream()
create a COSStream where the « file » property point on a non existent
file, but I don't know exactly where is created the RandomAccess object
during the Pdf parsing.
Nobody else but me has encountered this problem before ?
Thanks !
--
Sébastien Dailly