-
Bug
-
Resolution: Fixed
-
P2
-
8.1.0
Steps to reproduce.
Open attached JFR (WLS.lz4) or perform the following on a WebLogic Server
- 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)
- Enable diagnostic level to HIGH
- 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.
- 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)
- Upon completion of the recording interval, JMC fails to dump the JFR file with the following error message.
- 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.
- backported by
-
JMC-7690 JMC fails to parse JFR with events from WebLogic Server
- Resolved