[jira] [Created] (PDFBOX-4174) Reopen - java.io.IOException: Missing root object specification in trailer
Aleksandr Vasilenko created PDFBOX-4174: --- Summary: Reopen - java.io.IOException: Missing root object specification in trailer Key: PDFBOX-4174 URL: https://issues.apache.org/jira/browse/PDFBOX-4174 Project: PDFBox Issue Type: Bug Components: Parsing Affects Versions: 2.0.4 Reporter: Aleksandr Vasilenko Assignee: Andreas Lehmkühler Fix For: 2.0.6 Attachments: 069020.pdf java.io.IOException: Missing root object specification in trailer. {code} java.io.IOException: Missing root object specification in trailer. org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2156) org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:987) org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:943) org.apache.pdfbox.debugger.PDFDebugger.parseDocument(PDFDebugger.java:1369) org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1283) org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1266) org.apache.pdfbox.debugger.PDFDebugger.main(PDFDebugger.java:254) org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:85) {code} This worked in 2.0.4. Files with the same issue (not attached): {code} 015664.pdf 023505.pdf 047586.pdf 051613.pdf 069020.pdf <= smallest, attached here 193175.pdf 287698.pdf 303385.pdf 526394.pdf 587123.pdf 643304.pdf {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-4174) Reopen - java.io.IOException: Missing root object specification in trailer
[ https://issues.apache.org/jira/browse/PDFBOX-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksandr Vasilenko updated PDFBOX-4174: Description: We recently started getting this error in some of our production error logs. We are using PDFBOX 2.0.6 and are getting the same error after passing in the attached PDF into our application/ java.io.IOException: Missing root object specification in trailer. {code:java} // code placeholder{code} A snipet of our code {code:java} private byte[] validateAndConvertPDFToImage(byte[] imageArray) { PDDocument pdfDocument = null; try { // Error happens here pdfDocument = PDDocument.load(imageArray); PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); // .. }{code} was: We recently started getting this error in some of our production error logs. We are using PDFBOX 2.0.6 and are getting the same error after passing in the attached PDF into our application/ java.io.IOException: Missing root object specification in trailer. {code:java} 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) [ERROR] Unable to convert PDF document to image. : java.io.IOException: Missing root object specification in trailer. at org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) [pdfbox-2.0.5.jar:2.0.5] at com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) [oos-common-3.54.0-SNAPSHOT.jar:]{code} A snipet of our code {code:java} private byte[] validateAndConvertPDFToImage(byte[] imageArray) { PDDocument pdfDocument = null; try { // Error happens here pdfDocument = PDDocument.load(imageArray); PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); // .. }{code} > Reopen - java.io.IOException: Missing root object specification in trailer > -- > > Key: PDFBOX-4174 > URL: https://issues.apache.org/jira/browse/PDFBOX-4174 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.4 >Reporter: Aleksandr Vasilenko >Assignee: Andreas Lehmkühler >Priority: Major > Labels: regression > Fix For: 2.0.6 > > Attachments: 069020.pdf > > > We recently started getting this error in some of our production error logs. > We are using PDFBOX 2.0.6 and are getting the same error after passing in the > attached PDF into our application/ > > java.io.IOException: Missing root object specification in trailer. > {code:java} > // code placeholder{code} > A snipet of our code > {code:java} > private byte[] validateAndConvertPDFToImage(byte[] imageArray) { > PDDocument pdfDocument = null; > try { > // Error happens here > pdfDocument = PDDocument.load(imageArray); > PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); > // .. > }{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-4174) Reopen - java.io.IOException: Missing root object specification in trailer
[ https://issues.apache.org/jira/browse/PDFBOX-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksandr Vasilenko updated PDFBOX-4174: Description: We recently started getting this error in some of our production error logs. We are using PDFBOX 2.0.6 and are getting the same error after passing in the attached PDF into our application/ java.io.IOException: Missing root object specification in trailer. {code:java} 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) [ERROR] Unable to convert PDF document to image. : java.io.IOException: Missing root object specification in trailer. at org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) [pdfbox-2.0.5.jar:2.0.5] at com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) [oos-common-3.54.0-SNAPSHOT.jar:]{code} A snipet of our code {code:java} private byte[] validateAndConvertPDFToImage(byte[] imageArray) { PDDocument pdfDocument = null; try { // Error happens here pdfDocument = PDDocument.load(imageArray); PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); // .. }{code} was: We recently started getting this error in some of our production error logs. We are using PDFBOX 2.0.6 and are getting the same error after passing in the attached PDF into our application/ java.io.IOException: Missing root object specification in trailer. {code:java} 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) [ERROR] Unable to convert PDF document to image. : java.io.IOException: Missing root object specification in trailer. at org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) [pdfbox-2.0.5.jar:2.0.5] at com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) [oos-common-3.54.0-SNAPSHOT.jar:] {code} A snipet of our code {code:java} private byte[] validateAndConvertPDFToImage(byte[] imageArray) { PDDocument pdfDocument = null; try { // Error happens here pdfDocument = PDDocument.load(imageArray); PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); // .. }{code} > Reopen - java.io.IOException: Missing root object specification in trailer > -- > > Key: PDFBOX-4174 > URL: https://issues.apache.org/jira/browse/PDFBOX-4174 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.4 >Reporter: Aleksandr Vasilenko >Assignee: Andreas Lehmkühler >Priority: Major > Labels: regression > Fix For: 2.0.6 > > Attachments: 069020.pdf > > > We recently started getting this error in some of our production error logs. > We are using PDFBOX 2.0.6 and are getting the same error after passing in the > attached PDF into our application/ > > java.io.IOException: Missing root object specification in trailer. > {code:java} > 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) > [ERROR] Unable to convert PDF document to image. : java.io.IOException: > Missing root object specification in trailer. > at > org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) > [pdfbox-2.0.5.jar:2.0.5] > at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) > [pdfbox-2.0.5.jar:2.0.5] > at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) > [pdfbox-2.0.5.jar:2.0.5] > at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) > [pdfbox-2.0.5.jar:2.0.5] > at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) > [pdfbox-2.0.5.jar:2.0.5] > at org.apache.pdfb
[jira] [Updated] (PDFBOX-4174) Reopen - java.io.IOException: Missing root object specification in trailer
[ https://issues.apache.org/jira/browse/PDFBOX-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksandr Vasilenko updated PDFBOX-4174: Description: We recently started getting this error in some of our production error logs. We are using PDFBOX 2.0.6 and are getting the same error after passing in the attached PDF into our application/ java.io.IOException: Missing root object specification in trailer. {code:java} 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) [ERROR] Unable to convert PDF document to image. : java.io.IOException: Missing root object specification in trailer. at org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) [pdfbox-2.0.5.jar:2.0.5] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) [pdfbox-2.0.5.jar:2.0.5] at com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) [oos-common-3.54.0-SNAPSHOT.jar:] {code} A snipet of our code {code:java} private byte[] validateAndConvertPDFToImage(byte[] imageArray) { PDDocument pdfDocument = null; try { // Error happens here pdfDocument = PDDocument.load(imageArray); PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); // .. }{code} was: java.io.IOException: Missing root object specification in trailer. {code} java.io.IOException: Missing root object specification in trailer. org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2156) org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:987) org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:943) org.apache.pdfbox.debugger.PDFDebugger.parseDocument(PDFDebugger.java:1369) org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1283) org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1266) org.apache.pdfbox.debugger.PDFDebugger.main(PDFDebugger.java:254) org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:85) {code} This worked in 2.0.4. Files with the same issue (not attached): {code} 015664.pdf 023505.pdf 047586.pdf 051613.pdf 069020.pdf <= smallest, attached here 193175.pdf 287698.pdf 303385.pdf 526394.pdf 587123.pdf 643304.pdf {code} > Reopen - java.io.IOException: Missing root object specification in trailer > -- > > Key: PDFBOX-4174 > URL: https://issues.apache.org/jira/browse/PDFBOX-4174 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.4 >Reporter: Aleksandr Vasilenko >Assignee: Andreas Lehmkühler >Priority: Major > Labels: regression > Fix For: 2.0.6 > > Attachments: 069020.pdf > > > We recently started getting this error in some of our production error logs. > We are using PDFBOX 2.0.6 and are getting the same error after passing in the > attached PDF into our application/ > > java.io.IOException: Missing root object specification in trailer. > {code:java} > 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) > [ERROR] Unable to convert PDF document to image. : java.io.IOException: > Missing root object specification in trailer. > at > org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) > [pdfbox-2.0.5.jar:2.0.5] > at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) > [pdfbox-2.0.5.jar:2.0.5] > at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) > [pdfbox-2.0.5.jar:2.0.5] > at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) > [pdfbox-2.0.5.jar:2.0.5] > at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) > [pdfbox-2.0.5.jar:2.0.5] > at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) > [pdfbox-2.0.5.jar:2.0.5] > at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) > [pdfbox-2.0.5.jar:2.0.5] > at > com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) > [oos-common-3.54.0-SNAPSHOT.jar:] > {code} > A snipet of our code > {code:java} > private byte[] validateAndConvertPDFToImage(byte[] imageArray) { > PDDocument pdfDocument = nul
[jira] [Updated] (PDFBOX-4174) Reopen - java.io.IOException: Missing root object specification in trailer
[ https://issues.apache.org/jira/browse/PDFBOX-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksandr Vasilenko updated PDFBOX-4174: Description: We recently started getting this error in some of our production error logs. We are using PDFBOX 2.0.6 and are getting the same error after passing in the attached PDF into our application/ java.io.IOException: Missing root object specification in trailer. {code:java} 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) [ERROR] Unable to convert PDF document to image. : java.io.IOException: Missing root object specification in trailer. at org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) [pdfbox-2.0.6.jar:2.0.6] at com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) [oos-common-3.54.0-SNAPSHOT.jar:]{code} A snipet of our code {code:java} private byte[] validateAndConvertPDFToImage(byte[] imageArray) { PDDocument pdfDocument = null; try { // Error happens here pdfDocument = PDDocument.load(imageArray); PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); // .. }{code} was: We recently started getting this error in some of our production error logs. We are using PDFBOX 2.0.6 and are getting the same error after passing in the attached PDF into our application/ java.io.IOException: Missing root object specification in trailer. {code:java} // code placeholder{code} A snipet of our code {code:java} private byte[] validateAndConvertPDFToImage(byte[] imageArray) { PDDocument pdfDocument = null; try { // Error happens here pdfDocument = PDDocument.load(imageArray); PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); // .. }{code} > Reopen - java.io.IOException: Missing root object specification in trailer > -- > > Key: PDFBOX-4174 > URL: https://issues.apache.org/jira/browse/PDFBOX-4174 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.4 >Reporter: Aleksandr Vasilenko >Assignee: Andreas Lehmkühler >Priority: Major > Labels: regression > Fix For: 2.0.6 > > Attachments: 069020.pdf > > > We recently started getting this error in some of our production error logs. > We are using PDFBOX 2.0.6 and are getting the same error after passing in the > attached PDF into our application/ > > java.io.IOException: Missing root object specification in trailer. > {code:java} > 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) > [ERROR] Unable to convert PDF document to image. : java.io.IOException: > Missing root object specification in trailer. at > org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) > [pdfbox-2.0.6.jar:2.0.6] at > com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) > [oos-common-3.54.0-SNAPSHOT.jar:]{code} > A snipet of our code > {code:java} > private byte[] validateAndConvertPDFToImage(byte[] imageArray) { > PDDocument pdfDocument = null; > try { > // Error happens here > pdfDocument = PDDocument.load(imageArray); > PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); > // .. > }{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-4174) Reopen - java.io.IOException: Missing root object specification in trailer
[ https://issues.apache.org/jira/browse/PDFBOX-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksandr Vasilenko updated PDFBOX-4174: Description: We recently started getting this error in some of our production error logs. We are using PDFBOX 2.0.6 and are getting the same error after passing in the attached PDF into our application/ java.io.IOException: Missing root object specification in trailer. {code:java} 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) [ERROR] Unable to convert PDF document to image. : java.io.IOException: Missing root object specification in trailer. at org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) [pdfbox-2.0.6.jar:2.0.6] at com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) [oos-common-3.54.0-SNAPSHOT.jar:]{code} A snipet of our code {code:java} private byte[] validateAndConvertPDFToImage(byte[] imageArray) { PDDocument pdfDocument = null; try { // Error happens here pdfDocument = PDDocument.load(imageArray); PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); // .. } catch() { ... } } {code} was: We recently started getting this error in some of our production error logs. We are using PDFBOX 2.0.6 and are getting the same error after passing in the attached PDF into our application/ java.io.IOException: Missing root object specification in trailer. {code:java} 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) [ERROR] Unable to convert PDF document to image. : java.io.IOException: Missing root object specification in trailer. at org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) [pdfbox-2.0.6.jar:2.0.6] at com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) [oos-common-3.54.0-SNAPSHOT.jar:]{code} A snipet of our code {code:java} private byte[] validateAndConvertPDFToImage(byte[] imageArray) { PDDocument pdfDocument = null; try { // Error happens here pdfDocument = PDDocument.load(imageArray); PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); // .. }{code} > Reopen - java.io.IOException: Missing root object specification in trailer > -- > > Key: PDFBOX-4174 > URL: https://issues.apache.org/jira/browse/PDFBOX-4174 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.4 >Reporter: Aleksandr Vasilenko >Assignee: Andreas Lehmkühler >Priority: Major > Labels: regression > Fix For: 2.0.6 > > Attachments: 069020.pdf > > > We recently started getting this error in some of our production error logs. > We are using PDFBOX 2.0.6 and are getting the same error after passing in the > attached PDF into our application/ > > java.io.IOException: Missing root object specification in trailer. > {code:java} > 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) > [ERROR] Unable to convert PDF document to image. : java.io.IOException: > Missing root object specification in trailer. at > org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.loa
[jira] [Updated] (PDFBOX-4174) Reopen - java.io.IOException: Missing root object specification in trailer
[ https://issues.apache.org/jira/browse/PDFBOX-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksandr Vasilenko updated PDFBOX-4174: Description: We recently started getting this error in some of our production error logs. We are using PDFBOX 2.0.6 and are getting the same error after passing in the attached PDF into our application/ java.io.IOException: Missing root object specification in trailer. {code:text} 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) [ERROR] Unable to convert PDF document to image. : java.io.IOException: Missing root object specification in trailer. at org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) [pdfbox-2.0.6.jar:2.0.6] at com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) [oos-common-3.54.0-SNAPSHOT.jar:] {code} A snipet of our code {code:java} private byte[] validateAndConvertPDFToImage(byte[] imageArray) { PDDocument pdfDocument = null; try { // Error happens here pdfDocument = PDDocument.load(imageArray); PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); // .. } catch() { ... } } {code} was: We recently started getting this error in some of our production error logs. We are using PDFBOX 2.0.6 and are getting the same error after passing in the attached PDF into our application/ java.io.IOException: Missing root object specification in trailer. {code:java} 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) [ERROR] Unable to convert PDF document to image. : java.io.IOException: Missing root object specification in trailer. at org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) [pdfbox-2.0.6.jar:2.0.6] at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) [pdfbox-2.0.6.jar:2.0.6] at com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) [oos-common-3.54.0-SNAPSHOT.jar:]{code} A snipet of our code {code:java} private byte[] validateAndConvertPDFToImage(byte[] imageArray) { PDDocument pdfDocument = null; try { // Error happens here pdfDocument = PDDocument.load(imageArray); PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); // .. } catch() { ... } } {code} > Reopen - java.io.IOException: Missing root object specification in trailer > -- > > Key: PDFBOX-4174 > URL: https://issues.apache.org/jira/browse/PDFBOX-4174 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.4 >Reporter: Aleksandr Vasilenko >Assignee: Andreas Lehmkühler >Priority: Major > Labels: regression > Fix For: 2.0.6 > > Attachments: 069020.pdf > > > We recently started getting this error in some of our production error logs. > We are using PDFBOX 2.0.6 and are getting the same error after passing in the > attached PDF into our application/ > > java.io.IOException: Missing root object specification in trailer. > {code:text} > 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) > [ERROR] Unable to convert PDF document to image. : java.io.IOException: > Missing root object specification in trailer. at > org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) > [pdfbox-2.
[jira] [Commented] (PDFBOX-4174) Reopen - java.io.IOException: Missing root object specification in trailer
[ https://issues.apache.org/jira/browse/PDFBOX-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422667#comment-16422667 ] Aleksandr Vasilenko commented on PDFBOX-4174: - [~tilman] Actually this is not an issue, it was something on our side. Despite what what exception log is saying we were apparently still using pdfbox 2.0.5. Sorry to use up your time. I will close this issue. > Reopen - java.io.IOException: Missing root object specification in trailer > -- > > Key: PDFBOX-4174 > URL: https://issues.apache.org/jira/browse/PDFBOX-4174 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.6 >Reporter: Aleksandr Vasilenko >Assignee: Andreas Lehmkühler >Priority: Major > Labels: regression > Attachments: 069020.pdf > > > We recently started getting this error in some of our production error logs. > We are using PDFBOX 2.0.6 and are getting the same error after passing in the > attached PDF into our application/ > > {code} > java.io.IOException: Missing root object specification in trailer. > 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) > [ERROR] Unable to convert PDF document to image. : java.io.IOException: > Missing root object specification in trailer. at > org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) > [pdfbox-2.0.6.jar:2.0.6] at > com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) > [oos-common-3.54.0-SNAPSHOT.jar:] > {code} > A snipet of our code > {code:java} > private byte[] validateAndConvertPDFToImage(byte[] imageArray) { > PDDocument pdfDocument = null; > try { > // Error happens here > pdfDocument = PDDocument.load(imageArray); > PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); > // .. >} catch() { ... } > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Closed] (PDFBOX-4174) Reopen - java.io.IOException: Missing root object specification in trailer
[ https://issues.apache.org/jira/browse/PDFBOX-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksandr Vasilenko closed PDFBOX-4174. --- Resolution: Not A Bug > Reopen - java.io.IOException: Missing root object specification in trailer > -- > > Key: PDFBOX-4174 > URL: https://issues.apache.org/jira/browse/PDFBOX-4174 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.6 >Reporter: Aleksandr Vasilenko >Assignee: Andreas Lehmkühler >Priority: Major > Labels: regression > Attachments: 069020.pdf > > > We recently started getting this error in some of our production error logs. > We are using PDFBOX 2.0.6 and are getting the same error after passing in the > attached PDF into our application/ > > {code} > java.io.IOException: Missing root object specification in trailer. > 16:28:17,502 ERROR [OOS_ImageManagerImpl] (http-localhost/127.0.0.1:8080-1) > [ERROR] Unable to convert PDF document to image. : java.io.IOException: > Missing root object specification in trailer. at > org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2169) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:222) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1197) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1174) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1155) > [pdfbox-2.0.6.jar:2.0.6] at > org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1138) > [pdfbox-2.0.6.jar:2.0.6] at > com.vsp.oos.common.impl.ImageManagerImpl.validateAndConvertPDFToImage(ImageManagerImpl.java:630) > [oos-common-3.54.0-SNAPSHOT.jar:] > {code} > A snipet of our code > {code:java} > private byte[] validateAndConvertPDFToImage(byte[] imageArray) { > PDDocument pdfDocument = null; > try { > // Error happens here > pdfDocument = PDDocument.load(imageArray); > PDFRenderer pdfRenderer = new PDFRenderer(pdfDocument); > // .. >} catch() { ... } > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org