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

Error using get_n_pages() #40

Closed
snoopyhaimaxuan opened this issue Mar 7, 2017 · 3 comments
Closed

Error using get_n_pages() #40

snoopyhaimaxuan opened this issue Mar 7, 2017 · 3 comments
Labels

Comments

@snoopyhaimaxuan
Copy link

Hi, an error as follows occurred when I tried to get the number of pages of a PDF file. I am not sure if it's because of the size of the file, but increasing the JAVA memory didn't help.

Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : org.apache.pdfbox.exceptions.WrappedIOException

Thank you!

@leeper
Copy link
Member

leeper commented Mar 8, 2017

Is this on all PDFs or one specific file? If the former, can you make a reproducible example? If the latter, can you share the PDF?

@snoopyhaimaxuan
Copy link
Author

Hi, Thank you for the reply!
It only happened to a specific PDF (I used the try-error function to avoid temporarily, so I don't know if this is the only one). Oops the file is too large, so I pasted the address to it.
http://static.globalreporting.org/report-pdfs/2011/4038e784aca44d8098c6b7726cc85095.pdf

@leeper leeper added the bug label Mar 9, 2017
@leeper
Copy link
Member

leeper commented Mar 9, 2017

Thanks. I'll investigate.

@leeper leeper closed this as completed in 239910b Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants