Details
Description
In a specific use case, RATS doesn't marshal the type of the vulnerability at all in the XML file (it's a bug in the RATS codebase). As the sensor doesn't expect it, it crashes with a NullPointerException and fails the build.
Attached is a simple patch for protecting against it (includes unit test file) as well as the easy fix in the codebase of RATS 2.3 should anyone need it