-
Notifications
You must be signed in to change notification settings - Fork 721
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
NullPointerExceptions for tests on Renaissance Suite #5726
NullPointerExceptions for tests on Renaissance Suite #5726
Comments
Generated dumps using Looked at the corefile view using jdmpview for the thread that threw the exception using The constructor of ClassLoaderAwareObjectInputStream, Called 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: Class So when
So it seems like the static variable |
Will have a look. |
Hello from Renaissance team: if we can somehow help with debugging and testing, please, let us know (for completeness we track this here: renaissance-benchmarks/renaissance#131). Thanks! |
This problem is due to The solution is to move |
@JasonFengJ9 Isn't ObjectInputStream.java the same for both Hotspot and OpenJ9? Is there a reason why there's an issue with OpenJ9, but not Hotspot? |
Not always, that's what |
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:
To reproduce:
java -jar renaissance-mit-0.9.0.jar <name_of_test
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.
log-regression
fails with:The text was updated successfully, but these errors were encountered: