leonardobsjr · GitHub

Describe the bug
When profiling JDBC connections, sometimes i get a ClassCastException.

To Reproduce
Steps to reproduce the behavior:

  1. Start VisualVM
  2. Click on PID
  3. Profile the JDBC connections on the application

Expected behavior
Expected to see SQL's showing, but VisualVM freezes and my application Freezes too.

VisualVM log
Please attach VisualVM messages.log file to help diagnose your [problem.]
messages.zip

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu 20.10.1
  • JDK version AdoptOpenJDK 11.0.8
  • Version 2.0.4

Additional context

Read the original on github.com ↗