ibmruntimes / Semeru-Runtimes

Issue repo for all things IBM Semeru Runtimes
14 stars 4 forks source link

NullPointerException thrown in StackTraceElement.hashCode with IBM Semeru runtime 11.0.13 #9

Closed dynatrace-peterlang closed 3 years ago

dynatrace-peterlang commented 3 years ago

StackTraceElement.hashCode throws an unexpected NullPointerException in my application.

I created a simple reproducer app (https://github.com/dynatrace-peterlang/exception-stacktraceelement-npe). If I run it with IBM Semeru Runtime Open Edition 11.0.13.0 (build 11.0.13+8) my app fails with a NullPointerException.

java.lang.NullPointerException
        at java.base/java.lang.StackTraceElement.hashCode(StackTraceElement.java:278)
        at java.base/java.util.HashMap.hash(HashMap.java:340)
        at java.base/java.util.HashMap.get(HashMap.java:553)
        at com.dynatrace.App.main(App.java:32)
JasonFengJ9 commented 3 years ago

Is this an intermittent NPE?

JasonFengJ9 commented 3 years ago

Created https://github.com/eclipse-openj9/openj9/issues/13941.

dynatrace-peterlang commented 3 years ago

Is this an intermittent NPE?

No the NPE is always thrown.

dynatrace-peterlang commented 3 years ago

Could we please close this issue here to focus further discussion on https://github.com/eclipse-openj9/openj9/issues/13941