You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/09/08 11:52:28 UTC

[jira] [Closed] (PDFBOX-2331) Expected a long type at offset 22112, instead got '_AJ1T'

     [ https://issues.apache.org/jira/browse/PDFBOX-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr closed PDFBOX-2331.
-----------------------------------
    Resolution: Duplicate

Duplicate of PDFBOX-2250. I have many such files from the digitalcorpora site. They have one thing in common: they were created by early acrobat software, and contain only printable characters. These files were either buggy from the start, or something went wrong with the CR LF when transferring.

> Expected a long type at offset 22112, instead got '_AJ1T'
> ---------------------------------------------------------
>
>                 Key: PDFBOX-2331
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2331
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>
> PDF from PDFBOX-647
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage -nonSeq Function\ Structure\ example.pdf
> Exception in thread "main" java.io.IOException: Error: Expected a long type at offset 22112, instead got '_AJ1T'
> 	at org.apache.pdfbox.pdfparser.BaseParser.readLong(BaseParser.java:1701)
> 	



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)