-
Notifications
You must be signed in to change notification settings - Fork 71
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
Warning For Reflective Access #106
Comments
I reproduced using the first code example from the readme.
(Mac 10.13, tabulizer 0.2.2, rJava 0.9-11, R 3.6.0, Java 11.0.1) |
Getting the same in Linux too |
Just got the same warning. Using R version 3.6.0 (2019-04-26) on Mac OS 10.14.6 Has this caused any actual problems for others? |
In Travis it causes build failure. |
Anyone was able to solve it, I got the same error |
Same here |
Same issue here
|
I have the same problem. I'm wondering if this problem is about the "quality document". In other words, there are documents (pdf's) can use it with Tabulizer. But, others not. For example, if you download this pdf you can use Tabulizer. However, if you use this one cannot. I don't know why!. I don't believe illegal problems with the document. I think the "quality of information". If you make a paper in Word or Excel, then export to pdf and try it, you can do it! So, it seems Tabulizer algorithm doesn't work in all pdf documents 🧙♂️ P.S. I ran in RStudio 1.2.5033 an R 3.6.3 (2020-02-29) |
@lefcgis, there definitely could be some documents that trigger the issue and some that do not, but it is a Java coding issue and not an issue with a PDF file (as in, the pdf standard is being followed). For more information, see https://stackoverflow.com/questions/50251798/what-is-an-illegal-reflective-access |
Vale! |
Now it's causing to break my build |
For me, this warning only occurs the first time the example code is run in a new R session. Subsequent runs do not show this warning. Is that the same behavior others here are seeing? The test code I've been using is... out <- tabulizer::extract_tables(system.file("examples", "data.pdf", package = "tabulizer")) If so, I'm curious if #125 resolves this issue for you. |
Same thing happened to me. Got this error the first time then just an empty list each subsequent run. I can read other pdfs but it fails on one which is a different format.
|
@maahutch An error, or a warning? Those are significantly different. |
FWIW I'm getting a WARNING from Java (not R), and an empty list, the first time. Subsequently I get an empty list without a warning from Javascript. It's possible that this particular PDF is image-only and has no underlying text anyway .. ? |
yes, that would require OCR (i.e., tesseract or paws) |
When working with the current version of R and rJava, there is a warning with
extract_table()
indicating:Unfortunately, I cannot share the underlying .pdf file that caused the error.
The text was updated successfully, but these errors were encountered: