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

An illegal reflective access operation has occurred #307

Closed
TheRealAyCe opened this issue Feb 11, 2022 · 3 comments · Fixed by #311 or #324
Closed

An illegal reflective access operation has occurred #307

TheRealAyCe opened this issue Feb 11, 2022 · 3 comments · Fixed by #311 or #324
Labels
bug Something isn't working done This issue was solved but not merged in master
Milestone

Comments

@TheRealAyCe
Copy link

Describe the bug

Console:

...
SonarQube URL: http://localhost:9000
SonarQube online: true
Detected SonarQube version: 8.9.7
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.poi.openxml4j.util.ZipSecureFil
e$1 (file:/G:/Sonarqube/sonar-cnes-report-4.0.0.jar) to field java.io.FilterInpu
tStream.in
WARNING: Please consider reporting this to the maintainers of org.apache.poi.ope
nxml4j.util.ZipSecureFile$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release
Report generation: SUCCESS

To reproduce

I just analyzed my project:
java -jar sonar-cnes-report-4.0.0.jar -t mytoken -p myproject

User environment

  • OS: Windows 7
  • Project version: 4.0.0
C:\Users\AyCe>java -version
java version "15" 2020-09-15
Java(TM) SE Runtime Environment (build 15+36-1562)
Java HotSpot(TM) 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)
@TheRealAyCe TheRealAyCe added the bug Something isn't working label Feb 11, 2022
@Sancretor
Copy link
Contributor

Hi @TheRealAyCe

Thanks for the feedback !
We are aware of these warnings but still haven't investigate much yet.

Just to be sure, your issue only deals with these warnings, right ?
You do not encounter any wrong behaviour ?

@TheRealAyCe
Copy link
Author

It says "report generation: success", and the report seems fine. So no other issues I think.

@Sancretor
Copy link
Contributor

Thanks !
We will try to fix this for a future release, it may take a while, I can't any promise.

@Sancretor Sancretor added this to the 4.2.0 milestone Feb 22, 2022
@Sancretor Sancretor added the done This issue was solved but not merged in master label May 13, 2022
@Sancretor Sancretor mentioned this issue Jun 13, 2022
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working done This issue was solved but not merged in master
Projects
None yet
2 participants