ExcelCompare icon indicating copy to clipboard operation
ExcelCompare copied to clipboard

Error: "illegal reflective access operation has occurred"

Open seishonagon opened this issue 5 years ago • 3 comments

I've installed version 0.6.1 on Mojave 10.14.6 using Homebrew, and I'm using it to git diff excel files.

Application excel_cmp works fine, except for a warning error:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.poi.util.DocumentHelper (file:/usr/local/Cellar/excel-compare/0.6.1/libexec/poi-ooxml-3.12.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.DocumentHelper
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

It's not a big deal, but it makes the output that much harder to read ...

seishonagon avatar Jul 30 '19 16:07 seishonagon

Just chiming in to report that this error is still present more than a year later.

xapple avatar Sep 22 '20 15:09 xapple

Yep, I also saw this just today. The statement "All illegal access operations will be denied in a future release" makes me worried that this tool might stop working at some point, so I will not use consider it for our build-pipeline permanently.

Svelix avatar Nov 14 '20 15:11 Svelix

This error occurs when using newer JDK than 8. I believe that this Apache POI library version is not compatible with JDK 17. JDK 11 still works.

kiilivi avatar Jun 06 '22 08:06 kiilivi