You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would request that you update the log4j version to 2.18.0 or 2.18 compatible.
We updated our project with log4j 2.18.0 and we are experiencing a runtime error in the DatabaseUtil.java.
This change was for the remediation of log4j vulnerability for all versions below 2.17
Steps To Reproduce
We have tried with the log4j included from QAF and upgrading in place and with an excluding log4j from QAF:
version 2.17.2 project seems to be executing fine. It is just on the next version of log4j 2.18 it is not functioning properly and give the error.
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/LogEvent
15:38:09 at com.qmetry.qaf.automation.util.DatabaseUtil.(DatabaseUtil.java:55)
option one: in place overwrite through dependecies.
Make sure that you are using latest version of QAF. Latest qaf (including database utils) version doesn't uses log4j. One of the way to check which version of qaf used is environment information in dashboard. It should work with any version of log4j or any other logging framework.
QAF Version
Library
Description
We would request that you update the log4j version to 2.18.0 or 2.18 compatible.
We updated our project with log4j 2.18.0 and we are experiencing a runtime error in the DatabaseUtil.java.
This change was for the remediation of log4j vulnerability for all versions below 2.17
Steps To Reproduce
We have tried with the log4j included from QAF and upgrading in place and with an excluding log4j from QAF:
version 2.17.2 project seems to be executing fine. It is just on the next version of log4j 2.18 it is not functioning properly and give the error.
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/LogEvent
15:38:09 at com.qmetry.qaf.automation.util.DatabaseUtil.(DatabaseUtil.java:55)
option one: in place overwrite through dependecies.
option two: exclude from QAF first.
Expected behavior
no error from database utility
Actual behavior
error from database utility
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/LogEvent 15:38:09 at com.qmetry.qaf.automation.util.DatabaseUtil.<clinit>(DatabaseUtil.java:55)
Is the issue reproducible on runner?
The text was updated successfully, but these errors were encountered: