java.lang.NoSuchFieldError: EMPTY_BYTE_ARRAY #2165
Unanswered
haksunlinm
asked this question in
Q&A
Replies: 2 comments
-
I googled the same issue and it seems to happen in other situations as well. But I don't see a solution. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions