Hi,
I got an ClassCastException in the log file of the agent. I append this part of the log. It is weird ClassCastException:
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
The error in front of the Exception is also very weird:
ERROR MySQLSessionGrabber - An exception occurred when getting MySQL DB session id.
There is no MySQL DB in the whole environment. So why does the agent try to get an MySQL DB session id?
Regards,
Thomas
Hi Thomas,
The error raised as part of agent logging and instrumentation of SQL backend exit calls and SQL queries as part of BT detecion, We have known bug around the error and is fixed already in 4.0.3 agent version, We request you to upgrade agent to 4.0.3 or latest 4.0.x agent version and that should resolve the error post agent ugprade and jvm restart.
Hope that information helps.
Regards,
Arun