This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
java.lang.NoSuchFieldError: EMPTY_BYTE_ARRAY #1506
Labels
question
Tickets that are not bug reports, but questions
Description
I googled this problem and it seems that this field causes a lot of issues in deployment. I wonder why and why this field is so special and causes the error.
Configuration
Version: 2.17.0
Operating system: in use with Kotlin and Jupyter
JDK: open JDK 11
Logs
Reproduction
Initially, I thought it might be a problem with the kotlin-jupyter kernel. So, I submitted an issue in their github/issue.
Kotlin/kotlin-jupyter#417
After more research, I found this problem appearing in other deployment as well. This field is just sometimes not accessible.
The code to reproduce it is:
All it does is to load the jar, and try to access the field: var c2 = org.apache.logging.log4j.util.Constants.EMPTY_BYTE_ARRAY
And it is missing.
You will need a jupyter-kotlin server to run this code. I prepare an instance here:
http://35.223.178.227:8888/tree?token=5d6c7622a457c14fcad438dbe89ff57be4a564021d23e07e
The text was updated successfully, but these errors were encountered: