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

Nasty-sounding warning at the first use of xlsx #94

Open
EmmanuelCharpentier opened this issue Apr 1, 2018 · 2 comments
Open

Nasty-sounding warning at the first use of xlsx #94

EmmanuelCharpentier opened this issue Apr 1, 2018 · 2 comments

Comments

@EmmanuelCharpentier
Copy link

I just saw this :

> library(xlsx)
Le chargement a nécessité le package : rJava
Le chargement a nécessité le package : xlsxjars
> D1 <- read.xlsx(file="Données.xlsm", header=FALSE,
+                     sheetName="Info Générale",
+                     rowIndex=3:32, colIndex=1:12,
+                     colClasses=c("numeric", rep("character",2), "character",
+                                  "numeric", rep("logical",6),"character"))
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.poi.util.SAXHelper (file:/usr/local/lib/R/site-library/xlsxjars/java/poi-ooxml-3.10.1-20140818.jar) to method com.sun.org.apache.xerces.internal.util.SecurityManager.setEntityExpansionLimit(int)
WARNING: Please consider reporting this to the maintainers of org.apache.poi.util.SAXHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
>

I haven't the foggiest idea of the meaning of this warning. It seems, though, that the culprit may exist in some XML library you happen to use, not in xlsx itself.

HTH...

@colearendt
Copy link
Owner

Thanks for the report... that's a menacing one! Very curious

@IrelCM
Copy link

IrelCM commented Sep 30, 2024

Hello,
I'm having the same problem trying to compile my RMD. The compilation stops when I use this function write.xlsx()

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.poi.util.SAXHelper (file:/home/ibpc/R/x86_64-pc-linux-gnu-library/4.4/xlsxjars/java/poi-ooxml-3.10.1-20140818.jar) to method com.sun.org.apache.xerces.internal.util.SecurityManager.setEntityExpansionLimit(int)
WARNING: Please consider reporting this to the maintainers of org.apache.poi.util.SAXHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Thanks.
Irelka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants