RFR: 7337: JMC fails to parse JFR with events from WebLogic Server
Marcus Hirt
hirt at openjdk.java.net
Fri Jul 30 12:58:35 UTC 2021
On Fri, 30 Jul 2021 12:43:09 GMT, Guru Hb <ghb at openjdk.org> wrote:
> RC : NPE due to Invalid packageFieldIndex.
> Disassembled the original jfr (attached in jbs) which had 3 chunks out of which the last chunk "WLF_3.jfr" with Event type (a) "com.oracle.weblogic.servlet.ServletRequestRunEvent" was causing the NPE. This could be a corrupt event or in complete event captured in the jfr.
> This is a assertive fix and tried debugging the metadata parse (for any Ignored exception) and didn't find any noticeable place which can lead to events not indexed while collecting the events.
>
> After this fix compared the number of expected events of (a) with "jfr" tool in "jmc" (for WLF_3.jfr there were 32 events in (a) ) and didn't find any missing ones.
>
> Steps to re-produce NPE : load [WLS_3.jfr](https://bugs.openjdk.java.net/secure/attachment/95852/WLF_3.jfr.lz4)
Marked as reviewed by hirt (Lead).
-------------
PR: https://git.openjdk.java.net/jmc/pull/293
More information about the jmc-dev
mailing list