[ 
https://issues.apache.org/jira/browse/PDFBOX-4635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913642#comment-16913642
 ] 

Tilman Hausherr commented on PDFBOX-4635:
-----------------------------------------

Your file is corrupt, maybe due to a corrupt disk. Open the file with 
NOTEPAD++, look near the offset mentioned, it looks like this:

 

<</Limits[(G3.1236853)(G3.1244142)]/Names[(G3.1236853)1239 0 R(G3.1236854)1240 
0 R(G3.1238009)1241 0 R(G3.1238010)1242 0 R(G3.1238390)1243 0 R(G3.1239044)1244 
0 R(G3.1239135)1245 0 R(G3.1240144)1246 0 R(G3.1240171)1247 0 R(G3.1240173)1248 
0 R(G3.1240174)1249 0 R(G3.1240180)1250 0 R(G3.1240182)1251 0 R(G3.1240183)1252 
0 R(G3.1240184)1253 0 R(G3.1240186)1254 0 R(G3.1240214)1255 0 R(G3.1240216)1256 
0 R(G3.1240217)1257 0 R(G3.1240218)1258 0 R(G3.1241467)1259 0 R(G3.1241798)1260 
0 R(G3.1241801)1261 0 R(G3.1241806)1262 0 R(G3.1241809)1263 0 R(G3.1241811)1264 
0 R(G3.1242223)1265 0 R(G3.1242240)1266 0 R(G3.1242256)1267 0 R(G3.1242272)1268 
0 R(G3.1242273)1269 0 R(G3.1242297)1270 0 R(G3.1242449)1271 0 R(G3.1242477)1272 
0 R(G3.1242496)1273 0 R(G3.1242515)1274 0 R(G3.1242534)1275 0 R(G3.1242553)1276 
0 R(G3.1242572)1277 0 R(G3.1242798)1278 0 R(G3.1242799)1279 0 R(G3.1242911)1280 
0 R(G3.1242915)1281 0 R(G3.1242955)1282 0 R(G3.1242960)1283 0 R(G3.1243008)1284 
0 R(G3.1243097)1285 0 R(G3.1243135)1286 0 
R(G3.º¨4Z±Ñj»h<!Q›9€èÏÃg¡¦9«ÛtþÅ7QžÜêF–§ZS%C‡û¨ÃhÆU Î9®û 
r}yº>üÖ_~üÉG?ûù’ûZo'öôƒ÷±"Á?Š;ìN'+:h,lJg[òç,”Jš‡È|«LÙ+!/ï0ÖŠŽÙž

> Exception: Unknown dir object
> -----------------------------
>
>                 Key: PDFBOX-4635
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4635
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.16
>            Reporter: Hilmar Bunjes
>            Priority: Major
>         Attachments: amika_bruksanvisning_ip35_tom_dec_2017.pdf
>
>
> Hello,
> I have attached a document which causes an IOException:
> Exception in thread "main" java.io.IOException: Unknown dir object c=')' 
> cInt=41 peek=')' peekInt=41 at offset 5493913
>  at org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:966)
>  at org.apache.pdfbox.pdfparser.BaseParser.parseCOSArray(BaseParser.java:636)
>  
> This occured with older versions and also with version 2.0.16.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to