Maybe now is a good time to take a step back and look at what you are trying to do here.
You are asking us about errors that a tool by some other vendor raises. We are not that vendor nor do we have more access than you to the vendor.
Maybe you can talk to the vendor about the documentation of their error message and the description what code causes the error to be raised.
Once you understand what in the code causes the Checkmarx error to be raised with your code, you can ask how to best rewrite your code so it avoids the issue.