Expand my Community achievements bar.

ALC-BCF-002-004: PDFException

Avatar

Level 4
Hi, I have a process which I inititate through Watchfolder Endpoint. In the process I decode the barcode on the scanned document with Barcoded Forms ES(I use Decode first and then Extract to XML operations). I have LiveCycle ES 8.0.1 JBoss Turnkey with SP1b installed.<br />If I scan the document as TIFF the process works fine but if I scan the document as PDF than I get the below exception:<br /><br />2008-04-22 15:43:54,250 INFO [STDOUT] Caused by: ALC-BCF-002-004: PDFException. Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException: could not find xref section<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.barcodedforms.decoder.image.PDFImageIterator.<init>(PDFImageIterator.java:82)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.barcodedforms.decoder.image.ImageIteratorFactory.getInstance(ImageIteratorFactory.java:42)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.barcodedforms.decoder.reader.BarcodeReader.decode(BarcodeReader.java:67)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.livecycle.barcodedforms.BarcodedFormsService.decode(BarcodedFormsService.java:292)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:181)<br />2008-04-22 15:43:54,250 INFO [STDOUT] ... 106 more<br />2008-04-22 15:43:54,250 INFO [STDOUT] Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException: could not find xref section<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.internal.pdftoolkit.core.cos.XRefTable.<init>(XRefTable.java:184)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.internal.pdftoolkit.core.cos.CosDocument.init(CosDocument.java:410)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.internal.pdftoolkit.core.cos.CosDocument.<init>(CosDocument.java:135)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.internal.pdftoolkit.core.cos.CosDocument.newDocument(CosDocument.java:189)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.<init>(PDFDocument.java:308)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.newInstance(PDFDocument.java:240)<br />2008-04-22 15:43:54,250 INFO [STDOUT] at com.adobe.barcodedforms.decoder.image.PDFImageIterator.<init>(PDFImageIterator.java:64)<br />2008-04-22 15:43:54,250 INFO [STDOUT] ... 114 more<br />2008-04-22 15:43:54,250 INFO [STDOUT] Apr 22, 2008 3:43:54 PM com.adobe.idp.workflow.dsc.service.OrchestrationEventListenerService propogateFault<br />INFO: ProcessManagerSerice:throwEvent()
3 Replies

Avatar

Former Community Member
Please forward your barcoded forms (PDF & tiff) to denoix@adobe.com for investigation. Thanks.

Avatar

Former Community Member
The issue has been assigned to the Adobe Gibson team which they knew about: Watson Ref# 1217985 (COS Layer: repair bad xref tables during document open).

Right now, it is being treated as an enhancement (future release).

Avatar

Level 4
Hi all,

The issue is solved by converting the TIFF file to PDF by using Acrobat Professional and using it within the process. As a result, the initial PDF generated by the scanner software was faulty and caused this exception to be taken.

Thanks