Skip to content
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

jdk15 NullPointerException.constructor Cannot invoke "java.lang.Throwable.fillInStackTrace() #11206

Closed
pshipton opened this issue Nov 17, 2020 · 8 comments · Fixed by #11283
Closed

Comments

@pshipton
Copy link
Member

https://ci.eclipse.org/openj9/job/Test_openjdk15_j9_sanity.system_ppc64le_linux_Nightly/106/
MauveMultiThreadLoadTest_0
https://ci.eclipse.org/openj9/job/Test_openjdk15_j9_sanity.system_x86-64_linux_Nightly/103/
MauveSingleThreadLoadTest_OpenJ9_0

LT  03:29:27.451 - Test failed
LT    Failure num.  = 1
LT    Test number   = 2208
LT    Test details  = 'Mauve[gnu.testlet.java.lang.NullPointerException.constructor]'
LT    Suite number  = 0
LT    Thread number = 13
LT  >>> Captured test output >>>
LT  PASS: gnu.testlet.java.lang.NullPointerException.constructor (number 0)
LT  FAIL: gnu.testlet.java.lang.NullPointerException.constructor (number 1)
LT  got java.lang.NullPointerException: Cannot invoke "java.lang.Throwable.fillInStackTrace()" because "this" is null but expected java.lang.NullPointerException
LT  PASS: gnu.testlet.java.lang.NullPointerException.constructor (number 2)
LT  PASS: gnu.testlet.java.lang.NullPointerException.constructor (number 3)
LT  PASS: gnu.testlet.java.lang.NullPointerException.constructor (number 4)
LT  FAIL: gnu.testlet.java.lang.NullPointerException.constructor (number 5)
LT  got java.lang.NullPointerException: Cannot invoke "java.lang.Throwable.fillInStackTrace()" because "this" is null but expected java.lang.NullPointerException
@pshipton
Copy link
Member Author

Related to #11183

@JasonFengJ9 pls take a look.

@JasonFengJ9
Copy link
Member

Sure, will look into it.

@pshipton
Copy link
Member Author

@JasonFengJ9
Copy link
Member

@pshipton I am actively working on this, the NPE was due to Throwable object invokes NullPointerException.fillInStackTrace while the NullPointerException object hasn't been initialized. The test can be excluded before a fix is merged.

@JasonFengJ9
Copy link
Member

Opened adoptium/aqa-systemtest#380 to exclude Mauve[gnu.testlet.java.lang.NullPointerException.constructor].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants