[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error

2014-01-14 Thread vakhtang koroghlishvili (JIRA)

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

vakhtang koroghlishvili updated PDFBOX-1846:


Attachment: NonSequentialPDFParser.java.patch

 NonSequentialPDFParser Error
 

 Key: PDFBOX-1846
 URL: https://issues.apache.org/jira/browse/PDFBOX-1846
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 1.8.4
Reporter: vakhtang koroghlishvili
 Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, 
 testNUlll.pdf


 What happens when you have a document and there is many NULL-s (p.s it is 
 zeros in byte) at the end of the document? Someone send me document like 
 this. It was created by one software. 
 No Problem Then I try to parse it... and we have one problem:
 Exception in thread main java.io.IOException: Missing end of file marker 
 '%%EOF'
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767)
 I'm attaching sample document, Image, and fixing patch.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error

2014-01-14 Thread vakhtang koroghlishvili (JIRA)

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

vakhtang koroghlishvili updated PDFBOX-1846:


Attachment: testNUlll.pdf

 NonSequentialPDFParser Error
 

 Key: PDFBOX-1846
 URL: https://issues.apache.org/jira/browse/PDFBOX-1846
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 1.8.4
Reporter: vakhtang koroghlishvili
 Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, 
 testNUlll.pdf


 What happens when you have a document and there is many NULL-s (p.s it is 
 zeros in byte) at the end of the document? Someone send me document like 
 this. It was created by one software. 
 No Problem Then I try to parse it... and we have one problem:
 Exception in thread main java.io.IOException: Missing end of file marker 
 '%%EOF'
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767)
 I'm attaching sample document, Image, and fixing patch.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error

2014-01-14 Thread vakhtang koroghlishvili (JIRA)

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

vakhtang koroghlishvili updated PDFBOX-1846:


Attachment: NonSequentialPDFParser.java.patch

 NonSequentialPDFParser Error
 

 Key: PDFBOX-1846
 URL: https://issues.apache.org/jira/browse/PDFBOX-1846
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 1.8.4
Reporter: vakhtang koroghlishvili
 Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, 
 testNUlll.pdf


 What happens when you have a document and there is many NULL-s (p.s it is 
 zeros in byte) at the end of the document? Someone send me document like 
 this. It was created by one software. 
 No Problem Then I try to parse it... and we have one problem:
 Exception in thread main java.io.IOException: Missing end of file marker 
 '%%EOF'
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767)
 I'm attaching sample document, Image, and fixing patch.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error

2014-01-14 Thread vakhtang koroghlishvili (JIRA)

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

vakhtang koroghlishvili updated PDFBOX-1846:


Attachment: (was: NonSequentialPDFParser.java.patch)

 NonSequentialPDFParser Error
 

 Key: PDFBOX-1846
 URL: https://issues.apache.org/jira/browse/PDFBOX-1846
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 1.8.4
Reporter: vakhtang koroghlishvili
 Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, 
 testNUlll.pdf


 What happens when you have a document and there is many NULL-s (p.s it is 
 zeros in byte) at the end of the document? Someone send me document like 
 this. It was created by one software. 
 No Problem Then I try to parse it... and we have one problem:
 Exception in thread main java.io.IOException: Missing end of file marker 
 '%%EOF'
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767)
 I'm attaching sample document, Image, and fixing patch.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error

2014-01-14 Thread vakhtang koroghlishvili (JIRA)

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

vakhtang koroghlishvili updated PDFBOX-1846:


Attachment: NonSequentialPDFParser.java.patch

 NonSequentialPDFParser Error
 

 Key: PDFBOX-1846
 URL: https://issues.apache.org/jira/browse/PDFBOX-1846
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 1.8.4
Reporter: vakhtang koroghlishvili
 Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, 
 testNUlll.pdf


 What happens when you have a document and there is many NULL-s (p.s it is 
 zeros in byte) at the end of the document? Someone send me document like 
 this. It was created by one software. 
 No Problem Then I try to parse it... and we have one problem:
 Exception in thread main java.io.IOException: Missing end of file marker 
 '%%EOF'
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767)
 I'm attaching sample document, Image, and fixing patch.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error

2014-01-14 Thread vakhtang koroghlishvili (JIRA)

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

vakhtang koroghlishvili updated PDFBOX-1846:


Attachment: (was: NonSequentialPDFParser.java.patch)

 NonSequentialPDFParser Error
 

 Key: PDFBOX-1846
 URL: https://issues.apache.org/jira/browse/PDFBOX-1846
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 1.8.4
Reporter: vakhtang koroghlishvili
 Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, 
 testNUlll.pdf


 What happens when you have a document and there is many NULL-s (p.s it is 
 zeros in byte) at the end of the document? Someone send me document like 
 this. It was created by one software. 
 No Problem Then I try to parse it... and we have one problem:
 Exception in thread main java.io.IOException: Missing end of file marker 
 '%%EOF'
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767)
 I'm attaching sample document, Image, and fixing patch.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (PDFBOX-1846) NonSequentialPDFParser Error

2014-01-14 Thread vakhtang koroghlishvili (JIRA)

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

vakhtang koroghlishvili updated PDFBOX-1846:


Attachment: NULLS.jpg

Document looks like this

 NonSequentialPDFParser Error
 

 Key: PDFBOX-1846
 URL: https://issues.apache.org/jira/browse/PDFBOX-1846
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 1.8.4
Reporter: vakhtang koroghlishvili
 Attachments: NULLS.jpg, NonSequentialPDFParser.java.patch, 
 testNUlll.pdf


 What happens when you have a document and there is many NULL-s (p.s it is 
 zeros in byte) at the end of the document? Someone send me document like 
 this. It was created by one software. 
 No Problem Then I try to parse it... and we have one problem:
 Exception in thread main java.io.IOException: Missing end of file marker 
 '%%EOF'
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.getStartxrefOffset(NonSequentialPDFParser.java:619)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.initialParse(NonSequentialPDFParser.java:329)
   at 
 org.apache.pdfbox.pdfparser.NonSequentialPDFParser.parse(NonSequentialPDFParser.java:767)
 I'm attaching sample document, Image, and fixing patch.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)