java.io.IOException

java.io.IOException

Forum member · Jan 12, 2008
Hi: I modified the sample code to convert TIFF to PDF. I got an array of TIFF filenames. I loop through the TIFF list to create the PDF file for every TIFF file. But only the first file created correctly. Starting from the second TIFF file, I got the following errors. java.io.IOException: An attempt was made to move the file pointer before the beginning of the file at java.io.FileInputStream.skip(Native Method) at com.cete.dynamicpdf.io.d.skip(Unknown Source) at com.cete.dynamicpdf.imaging.tiff.n.setPosition(Unknown Source) at com.cete.dynamicpdf.imaging.tiff.p.a(Unknown Source) at com.cete.dynamicpdf.imaging.tiff.j.getNextSubFile(Unknown Source) at com.cete.dynamicpdf.imaging.TiffImageData.d(Unknown Source) at com.cete.dynamicpdf.imaging.TiffImageDataList.a(Unknown Source) at com.cete.dynamicpdf.imaging.TiffImageDataList.getCount(Unknown Source) at com.cete.dynamicpdf.imaging.TiffFile.getDocument(Unknown Source) at tiff2pdf.TIFFtoPDF(tiff2pdf.java:77) at tiff2pdf.main(tiff2pdf.java: What was possibly wrong? Thanks, Brian

Re: java.io.IOException

Support · Jan 14, 2008
Hello Brian, Can you please send over the code you are using and few tiff images which are giving this error to our [^a|mailto:support@cete.com|Support Team^] so that they can take a look at it. Thanks, ceTe Software Support Team.