Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-7337

JMC fails to parse JFR with events from WebLogic Server

XMLWordPrintable

        Steps to reproduce.

        Open attached JFR  (WLS.lz4) or perform the following on a WebLogic Server   

        1. Setup WebLogic 14c server with a wl_server domain (This domain contains example applications pre-deployed, and the example applications use Servlets, EJBs, JSPs,  JMS, JPA, JDBC transactions, and so on)
        2. Enable diagnostic level to HIGH
        3. Start Flight recording of the WLS Server for 10 to 15 minutes, by enabling all events from profiling on server template, set threshold of events to 1 ms.
        4. Open the example applications deployed into the WebLogic server and try out different operations given (when the recording is going on, this is to ensure different events from the WebLogic server are getting dumped to JFR)
        5. Upon completion of the recording interval,  JMC fails to dump the JFR file with the following error message.
        6. While opening the JFR (which is dumped to file system by WLS Server) , an error message as in the image is displayed.

         

              java.lang.NullPointerException: Cannot invoke "org.openjdk.jmc.common.IMCPackage.getModule()" because "thePackage" is null at org.openjdk.jmc.flightrecorder.parser.synthetic.SyntheticAttributeExtension$ModuleExportSink.addEvent(SyntheticAttributeExtension.java:206) at org.openjdk.jmc.flightrecorder.internal.parser.v1.TypeManager$EventTypeEntry.readEvent(TypeManager.java:321) at org.openjdk.jmc.flightrecorder.internal.parser.v1.TypeManager.readEvent(TypeManager.java:420) at org.openjdk.jmc.flightrecorder.internal.parser.v1.ChunkLoaderV1.call(ChunkLoaderV1.java:92) at org.openjdk.jmc.flightrecorder.internal.parser.v1.ChunkLoaderV1.call(ChunkLoaderV1.java:47) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:831)

         

         

         

        P.S. : The attached JFR is compressed using lz4 to reduce the size,  .lz4 file can be opened directly in JMC 8.1.0.

         

          1. image-2021-07-09-14-09-53-675.png
            image-2021-07-09-14-09-53-675.png
            255 kB
          2. WLF_3.jfr.lz4
            3.57 MB
          3. WLS.lz4
            14.55 MB

              ghb Guru Hb (Inactive)
              bbanathur Bipin Banathur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: