Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camel-pdf: build failure in jvm mode with Apache Camel 3.0.1 #631

Closed
lburgazzoli opened this issue Jan 17, 2020 · 1 comment · Fixed by #630
Closed

camel-pdf: build failure in jvm mode with Apache Camel 3.0.1 #631

lburgazzoli opened this issue Jan 17, 2020 · 1 comment · Fixed by #630
Assignees
Labels
bug Something isn't working

Comments

@lburgazzoli
Copy link
Contributor

From #630 (comment)

Caused by: java.io.IOException: COSStream has been closed and cannot be read. Perhaps its enclosing PDDocument has been closed?
	at org.apache.pdfbox.cos.COSStream.checkClosed(COSStream.java:83)
	at org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:168)
	at org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:163)
	at org.apache.pdfbox.pdmodel.PDPage.getContents(PDPage.java:157)
	at org.apache.pdfbox.pdfparser.PDFStreamParser.<init>(PDFStreamParser.java:92)
	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:496)
	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:480)
	at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:153)
	at org.apache.pdfbox.text.LegacyPDFStreamEngine.processPage(LegacyPDFStreamEngine.java:139)
	at org.apache.pdfbox.text.PDFTextStripper.processPage(PDFTextStripper.java:391)
	at org.apache.pdfbox.text.PDFTextStripper.processPages(PDFTextStripper.java:319)
	at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:266)
	at org.apache.pdfbox.text.PDFTextStripper.getText(PDFTextStripper.java:227)
	at org.apache.camel.component.pdf.PdfProducer.doExtractText(PdfProducer.java:104)
	at org.apache.camel.component.pdf.PdfProducer.process(PdfProducer.java:66)
@lburgazzoli
Copy link
Contributor Author

/cc: @aldettinger

lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Jan 17, 2020
@lburgazzoli lburgazzoli added the bug Something isn't working label Jan 17, 2020
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Jan 17, 2020
@lburgazzoli lburgazzoli self-assigned this Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant