Diffblue Intellij Plugin Failed to Create test : R006

private static final Logger LOGGER = LoggerFactory.getLogger(xxx.class);

// TODO: Complete this test.
// Reason: R006 Static initializer failed.
// The static initializer of
// xxx.xxx
// threw org.apache.logging.log4j.core.config.ConfigurationException while trying to load it.
// Make sure the static initializer of xxxx
// can be executed without throwing exceptions.

Hi Rakesh
Sometimes Diffblue Cover is not able to provide a complete test for a given method. In this instance, a partial test will be created which includes a comment suggesting action the developer can take to complete the test. Please see the following section in the Diffblue documentation which describes this feature and how to disable it if preferred:

FYI details for the various output codes produced can be found here:

Please let us know if you have any further questions.
Best regards
Peter @ Diffblue

The generated partial output is not helpful at all. Also, I am getting same exception even when trying to generate skeleton test.

Hi Rakesh
Thanks for the feedback. I’m sorry to hear you are not getting the results you would like. In this case Diffblue Cover has not been able to create a test because a static initializer from the original code has thrown an exception.
I would be happy to set up a Zoom call to discuss this further. Please email support@diffblue.com, if you would like to follow that route, so that we can send you a link directly.
Peter @ Diffblue