15:23 Diffblue Cover indexing in progress: Tests will be automatically written when the Diffblue Cover indexes are updated
15:23 Unsupported Java version
Unidentified Java versions are not supported.
Please use Java 8 or Java 11 (but not version 11.0.7).
15:23 Diffblue Cover encountered an error while writing tests: Environment checks failed, please address logged errors
WHAT. THE. HELL.
White horse is not horse, and java 11.0.7 is not java 11.
Pretty interesting but I think you should fix it.
This is a limitation of the Java JVM not Diffblue Cover
JVM 11.0.7 has a regression that makes it unstable causing it to regularly crash - this is a well known issue in Java 11.0.7 and has since been fixed in newer versions of the JVM. Diffblue therefore does not support this specific version of Java as there is no workaround.
Please upgrade or downgrade Java to a supported version
Thank you for reaching out again - Diffblue Cover does support Java 11; specifically versions 11.0.18 & 11.0.17 are supported. We also support Java 17 versions 17.0.6 & 17.0.5, and Java 8 8u361 & 8u351.
Please upgrade or downgrade Java to a supported version listed above.
Thanks for the quick reply , we are using IntelliJ IDEA 2021.3.3 (Ultimate Edition)
and we have the latest jdk 11 in intellij which has Latest Version
11.0.18.
Still i am facing issues
thanks jane , i was able to generate tests cases with compiler version changed to 11.0.8 and jdk version changes to 11.0.8 in the intellij settings itself
Thank you for sending this information - it seems you are using an old version of IntelliJ, therefore the version of Cover will be old too. Diffblue support’s the last 2 versions of IntelliJ; the newest release of Cover supports IntelliJ versions 2022.3, 2023.1 .
The old versions will explain the behaviour you are seeing; as the old Cover version would support Java 11.0.8, but wouldn’t support the latest version of Java 11 which unlikely existed at the time that version of Cover was released.
To get the most up to date release of Cover, I can update your IntelliJ IDEA to the newest version (2023.1). You will then be able to update the Diffblue Cover version (currently 2023.03.02) through the IntelliJ marketplace.
Please let me know if there are any more questions