Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
NullPointerExceptions for tests on Renaissance Suite #5726
In the Renaissance Suite, some tests which work as expected on Hotspot and Graal fail on OpenJ9 with a NullPointerException.
The tests that fail are the ones with no results in this image, that is:
Taking a closer look at als, one of the tests that failed, the stack trace in the Javacore shows:
All 7 of the tests suffer from NullPointerExceptions, and 6 of them, with the exception of log-regression, with the same failure as above.
Generated dumps using
Looked at the corefile view using jdmpview for the thread that threw the exception using
The constructor of ClassLoaderAwareObjectInputStream,
Taking a closer look at the static fields in the RAM class in there using
So seems like the Map primitiveTypes is null.
The renaissance release uses an earlier version of Apache Commons-Lang. Looking at the class in question, SerializationUtils.java:
So it seems like the static variable
This problem is due to
The solution is to move
Not always, that's what