Test Fails because of UnsupportedOperationException

Stack trace is

Cause: com.diffblue.cover.service.analyzer.b: Failed to call configureAnalysisDriver
at com.diffblue.cover.service.analyzer.a.d.a(SourceFile:54)
at com.diffblue.cover.analysis.a.d.<init>(SourceFile:102)
at com.diffblue.cover.analysis.b.a(SourceFile:185)
at com.diffblue.cover.j.a.g.a(SourceFile:1137)
at com.diffblue.cover.j.a.a.a(SourceFile:517)
at com.diffblue.cover.j.a.g.a(SourceFile:107)
at com.diffblue.cover.p.a.a.a(SourceFile:212)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
com.diffblue.cover.exception.BaseException: Unexpected error: Test generation failed
< … hidden frames … >
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:428)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:115)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:478)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:251)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:71)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:71)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:251)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:465)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: com.diffblue.cover.service.analyzer.b: Failed to call configureAnalysisDriver
< … hidden frames … >
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNKNOWN: The Security Manager is deprecated and will be removed in a future release
java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
at java.base/java.lang.System.setSecurityManager(System.java:425)
at com.diffblue.cover.analysis.b.a(SourceFile:1205)
at com.diffblue.cover.service.analyzer.a.c$a.a(SourceFile:313)
at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1228)
at com.diffblue.cover.service.analyzer.a.c$a.a(SourceFile:311)
at com.diffblue.cover.service.analyzer.a.a.m$h.invoke(SourceFile:699)
at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(SourceFile:182)
at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(SourceFile:355)
at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(SourceFile:867)
at io.grpc.internal.ContextRunnable.run(SourceFile:37)
at io.grpc.internal.SerializingExecutor.run(SourceFile:133)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1589)

at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:592)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:571)
< ... hidden frames ... >
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

Caused by: io.grpc.StatusRuntimeException: UNKNOWN: The Security Manager is deprecated and will be removed in a future release
java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
at java.base/java.lang.System.setSecurityManager(System.java:425)
at com.diffblue.cover.analysis.b.a(SourceFile:1205)
at com.diffblue.cover.service.analyzer.a.c$a.a(SourceFile:313)
at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1228)
at com.diffblue.cover.service.analyzer.a.c$a.a(SourceFile:311)
at com.diffblue.cover.service.analyzer.a.a.m$h.invoke(SourceFile:699)
at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(SourceFile:182)
at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(SourceFile:355)
at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(SourceFile:867)
at io.grpc.internal.ContextRunnable.run(SourceFile:37)
at io.grpc.internal.SerializingExecutor.run(SourceFile:133)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1589)

at io.grpc.Status.asRuntimeException(Status.java:539)
at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:544)
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:563)
at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:744)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:723)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

Hi @arnzel

Thank you for posting - are you please able to send a full support log file? This will give us more information surrounding the problem, and more context for the solution. You can obtain the log file by following this guide: Log files - Diffblue Documentation

Kind regards,

Jane @ Diffblue

sure, here it is

10:29:25.178 [INFO] [Checking] Detected classpath from module
10:29:25.387 [INFO] [Checking] Detected Spring Core version 5.3.26
10:29:25.388 [INFO] [Checking] Detected Spring Test version 5.3.26
10:29:25.389 [INFO] [Checking] Detected Spring Boot version 2.7.10
10:29:25.389 [INFO] [Checking] Detected Spring Boot Test version 2.7.10
10:29:25.405 [INFO] [Checking] Detected build system: Maven 3.9.2
10:29:25.420 [INFO] [Checking] Detected test framework: JUnit Jupiter 5.8.2
10:29:25.431 [INFO] [Checking] Detected JUnit Jupiter version 5.8.2
10:29:25.442 [INFO] [Checking] Detected JUnit Jupiter Params version 5.8.2
10:29:25.470 [INFO] [Checking] Detected working directory /Users/211897/IdeaProjects/xxx/xxx-persistence from module
10:29:25.472 [INFO] [Checking] Detected Java version 19.0.2
10:29:25.484 [INFO] [Checking] Detected Mockito version 4.5.1
10:29:26.212 [INFO] [Reporting] Selected test output directory: /Users/211897/IdeaProjects/xxx/xxx-persistence/src/test/java
10:29:26.214 [INFO] [Reporting] Selected test framework: JUnit Jupiter
10:29:26.242 [INFO] [Reporting] Detected Hamcrest 2 version 2.2
10:29:31.068 [INFO] [Reporting] Detected JVM architecture: 64-Bit
10:29:31.068 [INFO] [Reporting] Detected language level 17 - Sealed types, always-strict floating-point semantics from module
10:29:31.155 [INFO] [Reporting] Selected Java language compliance level: 17
10:29:31.159 [WARN] [Reporting] E047: Unsupported Java version
Version 19.0.2 of Java is not supported.
Please use Java 8 Update 351+, Java 11.0.17+ or Java 17.0.5+.
10:29:31.611 [INFO] [Reporting]
10:29:31.611 [INFO] [Reporting] Environment summary:
10:29:31.611 [INFO] [Reporting] --------------------
10:29:31.611 [INFO] [Reporting] Build system Maven SUCCESS
10:29:31.612 [WARN] [Reporting] Java version 19.0.2 WARNING
10:29:31.612 [INFO] [Reporting] Mocking Framework Mockito 4.5.1 SUCCESS
10:29:31.612 [INFO] [Reporting] Testing framework JUnit Jupiter 5 SUCCESS
10:29:31.612 [INFO] [Reporting] Hamcrest Hamcrest 2 2.2 SUCCESS
10:29:31.612 [INFO] [Reporting] Spring Core 5.3.26 SUCCESS
10:29:31.612 [INFO] [Reporting] Spring Boot 2.7.10 SUCCESS
10:29:31.612 [INFO] [Reporting] Spring Boot Test 2.7.10 SUCCESS
10:29:31.612 [INFO] [Reporting] Spring Test 5.3.26 SUCCESS
10:29:31.612 [INFO] [Reporting]
10:29:31.613 [WARN] [Reporting] Environment check status: WARNING
10:29:31.625 [INFO] [Checking] Classpath:
/Users/211897/IdeaProjects/xxx/xxx-persistence/target/classes (code under test)
/Users/211897/.m2/repository/org/postgresql/postgresql/42.3.8/postgresql-42.3.8.jar
/Users/211897/.m2/repository/org/checkerframework/checker-qual/3.5.0/checker-qual-3.5.0.jar
/Users/211897/.m2/repository/org/springframework/boot/spring-boot-starter-data-jpa/2.7.10/spring-boot-starter-data-jpa-2.7.10.jar
/Users/211897/.m2/repository/org/springframework/boot/spring-boot-starter-aop/2.7.10/spring-boot-starter-aop-2.7.10.jar
/Users/211897/.m2/repository/org/springframework/spring-aop/5.3.26/spring-aop-5.3.26.jar
/Users/211897/.m2/repository/org/aspectj/aspectjweaver/1.9.7/aspectjweaver-1.9.7.jar
/Users/211897/.m2/repository/org/springframework/boot/spring-boot-starter-jdbc/2.7.10/spring-boot-starter-jdbc-2.7.10.jar
/Users/211897/.m2/repository/com/zaxxer/HikariCP/4.0.3/HikariCP-4.0.3.jar
/Users/211897/.m2/repository/org/springframework/spring-jdbc/5.3.26/spring-jdbc-5.3.26.jar
/Users/211897/.m2/repository/jakarta/transaction/jakarta.transaction-api/1.3.3/jakarta.transaction-api-1.3.3.jar
/Users/211897/.m2/repository/jakarta/persistence/jakarta.persistence-api/2.2.3/jakarta.persistence-api-2.2.3.jar
/Users/211897/.m2/repository/org/springframework/data/spring-data-jpa/2.7.10/spring-data-jpa-2.7.10.jar
/Users/211897/.m2/repository/org/springframework/data/spring-data-commons/2.7.10/spring-data-commons-2.7.10.jar
/Users/211897/.m2/repository/org/springframework/spring-orm/5.3.26/spring-orm-5.3.26.jar
/Users/211897/.m2/repository/org/springframework/spring-context/5.3.26/spring-context-5.3.26.jar
/Users/211897/.m2/repository/org/springframework/spring-expression/5.3.26/spring-expression-5.3.26.jar
/Users/211897/.m2/repository/org/springframework/spring-tx/5.3.26/spring-tx-5.3.26.jar
/Users/211897/.m2/repository/org/springframework/spring-beans/5.3.26/spring-beans-5.3.26.jar
/Users/211897/.m2/repository/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar
/Users/211897/.m2/repository/org/springframework/spring-aspects/5.3.26/spring-aspects-5.3.26.jar
/Users/211897/.m2/repository/org/hibernate/hibernate-core/5.6.15.Final/hibernate-core-5.6.15.Final.jar
/Users/211897/.m2/repository/org/jboss/logging/jboss-logging/3.4.3.Final/jboss-logging-3.4.3.Final.jar
/Users/211897/.m2/repository/javax/persistence/javax.persistence-api/2.2/javax.persistence-api-2.2.jar
/Users/211897/.m2/repository/net/bytebuddy/byte-buddy/1.12.23/byte-buddy-1.12.23.jar
/Users/211897/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar
/Users/211897/.m2/repository/org/jboss/spec/javax/transaction/jboss-transaction-api_1.2_spec/1.1.1.Final/jboss-transaction-api_1.2_spec-1.1.1.Final.jar
/Users/211897/.m2/repository/org/jboss/jandex/2.4.2.Final/jandex-2.4.2.Final.jar
/Users/211897/.m2/repository/com/fasterxml/classmate/1.5.1/classmate-1.5.1.jar
/Users/211897/.m2/repository/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar
/Users/211897/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.1.2.Final/hibernate-commons-annotations-5.1.2.Final.jar
/Users/211897/.m2/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar
/Users/211897/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.8/jaxb-runtime-2.3.8.jar
/Users/211897/.m2/repository/org/glassfish/jaxb/txw2/2.3.8/txw2-2.3.8.jar
/Users/211897/.m2/repository/com/sun/istack/istack-commons-runtime/3.0.12/istack-commons-runtime-3.0.12.jar
/Users/211897/.m2/repository/com/sun/activation/jakarta.activation/1.2.2/jakarta.activation-1.2.2.jar
/Users/211897/.m2/repository/org/hibernate/validator/hibernate-validator/7.0.5.Final/hibernate-validator-7.0.5.Final.jar
/Users/211897/.m2/repository/jakarta/validation/jakarta.validation-api/2.0.2/jakarta.validation-api-2.0.2.jar
/Users/211897/.m2/repository/org/hibernate/validator/hibernate-validator-cdi/7.0.5.Final/hibernate-validator-cdi-7.0.5.Final.jar
/Users/211897/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar
/Users/211897/.m2/repository/com/h2database/h2/2.1.214/h2-2.1.214.jar
/Users/211897/.m2/repository/com/yannbriancon/spring-hibernate-query-utils/2.0.0/spring-hibernate-query-utils-2.0.0.jar
/Users/211897/.m2/repository/org/springframework/boot/spring-boot-starter-validation/2.7.10/spring-boot-starter-validation-2.7.10.jar
/Users/211897/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/9.0.73/tomcat-embed-el-9.0.73.jar
/Users/211897/.m2/repository/org/projectlombok/lombok/1.18.30/lombok-1.18.30.jar
/Users/211897/.m2/repository/org/hibernate/hibernate-jpamodelgen/5.6.15.Final/hibernate-jpamodelgen-5.6.15.Final.jar
/Users/211897/.m2/repository/org/joda/joda-money/1.0.1/joda-money-1.0.1.jar
/Users/211897/.m2/repository/org/springframework/boot/spring-boot-starter-test/2.7.10/spring-boot-starter-test-2.7.10.jar
/Users/211897/.m2/repository/org/springframework/boot/spring-boot-starter/2.7.10/spring-boot-starter-2.7.10.jar
/Users/211897/.m2/repository/org/springframework/boot/spring-boot/2.7.10/spring-boot-2.7.10.jar
/Users/211897/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.7.10/spring-boot-autoconfigure-2.7.10.jar
/Users/211897/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.7.10/spring-boot-starter-logging-2.7.10.jar
/Users/211897/.m2/repository/ch/qos/logback/logback-classic/1.2.11/logback-classic-1.2.11.jar
/Users/211897/.m2/repository/ch/qos/logback/logback-core/1.2.11/logback-core-1.2.11.jar
/Users/211897/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.17.2/log4j-to-slf4j-2.17.2.jar
/Users/211897/.m2/repository/org/apache/logging/log4j/log4j-api/2.17.2/log4j-api-2.17.2.jar
/Users/211897/.m2/repository/org/slf4j/jul-to-slf4j/1.7.36/jul-to-slf4j-1.7.36.jar
/Users/211897/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar
/Users/211897/.m2/repository/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar
/Users/211897/.m2/repository/org/springframework/boot/spring-boot-test/2.7.10/spring-boot-test-2.7.10.jar
/Users/211897/.m2/repository/org/springframework/boot/spring-boot-test-autoconfigure/2.7.10/spring-boot-test-autoconfigure-2.7.10.jar
/Users/211897/.m2/repository/com/jayway/jsonpath/json-path/2.7.0/json-path-2.7.0.jar
/Users/211897/.m2/repository/net/minidev/json-smart/2.4.10/json-smart-2.4.10.jar
/Users/211897/.m2/repository/net/minidev/accessors-smart/2.4.9/accessors-smart-2.4.9.jar
/Users/211897/.m2/repository/org/ow2/asm/asm/9.3/asm-9.3.jar
/Users/211897/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar
/Users/211897/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar
/Users/211897/.m2/repository/org/assertj/assertj-core/3.22.0/assertj-core-3.22.0.jar
/Users/211897/.m2/repository/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar
/Users/211897/.m2/repository/org/junit/jupiter/junit-jupiter/5.8.2/junit-jupiter-5.8.2.jar
/Users/211897/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.8.2/junit-jupiter-api-5.8.2.jar
/Users/211897/.m2/repository/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar
/Users/211897/.m2/repository/org/junit/platform/junit-platform-commons/1.8.2/junit-platform-commons-1.8.2.jar
/Users/211897/.m2/repository/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar
/Users/211897/.m2/repository/org/junit/jupiter/junit-jupiter-params/5.8.2/junit-jupiter-params-5.8.2.jar
/Users/211897/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.8.2/junit-jupiter-engine-5.8.2.jar
/Users/211897/.m2/repository/org/junit/platform/junit-platform-engine/1.8.2/junit-platform-engine-1.8.2.jar
/Users/211897/.m2/repository/org/mockito/mockito-core/4.5.1/mockito-core-4.5.1.jar
/Users/211897/.m2/repository/net/bytebuddy/byte-buddy-agent/1.12.23/byte-buddy-agent-1.12.23.jar
/Users/211897/.m2/repository/org/objenesis/objenesis/3.2/objenesis-3.2.jar
/Users/211897/.m2/repository/org/mockito/mockito-junit-jupiter/4.5.1/mockito-junit-jupiter-4.5.1.jar
/Users/211897/.m2/repository/org/skyscreamer/jsonassert/1.5.1/jsonassert-1.5.1.jar
/Users/211897/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar
/Users/211897/.m2/repository/org/springframework/spring-core/5.3.26/spring-core-5.3.26.jar
/Users/211897/.m2/repository/org/springframework/spring-jcl/5.3.26/spring-jcl-5.3.26.jar
/Users/211897/.m2/repository/org/springframework/spring-test/5.3.26/spring-test-5.3.26.jar
/Users/211897/.m2/repository/org/xmlunit/xmlunit-core/2.9.1/xmlunit-core-2.9.1.jar
/Users/211897/.m2/repository/com/openpojo/openpojo/0.9.1/openpojo-0.9.1.jar
10:29:31.722 [INFO] [Creating] Found 3 callable methods in 1 class
10:29:31.723 [INFO] [Creating]
10:29:31.723 [INFO] [Creating] Creating tests:
10:29:31.723 [INFO] [Creating] ---------------
10:29:31.729 [INFO] [Creating]

= Starting analysis for class ‘com.zzz.xxx.yyy.repository.CompanyRepository’

10:29:31.744 [INFO] [Creating] Filtering out non-testable methods…
10:29:32.947 [INFO] [Creating] Filtering of methods complete. Creating analysis request
10:29:32.948 [INFO] [Creating] Attempting to get service client, retry 1.
10:29:32.950 [INFO] [Creating] Starting monitoring server.
10:29:33.121 [INFO] [Creating] Monitoring server listening on localhost/127.0.0.1:64323
10:29:33.122 [INFO] [Creating] Starting analyzer server process…
10:29:33.122 [INFO] [Creating] Server command-line: /Users/211897/Library/Java/JavaVirtualMachines/graalvm-ce-19/Contents/Home/bin/java -XX:+IgnoreUnrecognizedVMOptions -Xms128m -Xmx2048m -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djbr.catch.SIGABRT=true -Djdk.http.auth.tunneling.disabledSchemes=“” -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Dapple.awt.application.appearance=system -Xmx8192m -Dide.managed.by.toolbox=/Applications/JetBrains Toolbox.app/Contents/MacOS/jetbrains-toolbox -Dtoolbox.notification.token=603a50e1-03df-4c87-9135-58fa579f4364 -Dtoolbox.notification.portFile=/Users/211897/Library/Caches/JetBrains/Toolbox/ports/663607410.port -Djna.boot.library.path=/Applications/IntelliJ IDEA.app/Contents/lib/jna/amd64 -Dpty4j.preferred.native.folder=/Applications/IntelliJ IDEA.app/Contents/lib/pty4j -Dsplash=true -Daether.connector.resumeDownloads=false -Djna.noclasspath=true -Djna.nosys=true -ea -javaagent:/Users/211897/Library/Application Support/JetBrains/IntelliJIdea2023.2/plugins/diffblue-cover-ij/lib/launcher-2023.10.02-shared-jar.jar -Dlogback.configurationFile=/var/folders/t7/zmrsh9px2wsftswyg4q00kbd8zyl36/T/diffblue/config/logback-remote-service.xml -Dcom.diffblue.springIsolationJar=/Users/211897/Library/Application Support/JetBrains/IntelliJIdea2023.2/plugins/diffblue-cover-ij/META-INF/cover-isolation-layer-2023.10.02.jar -Dcover.jar.path=/Users/211897/Library/Application Support/JetBrains/IntelliJIdea2023.2/plugins/diffblue-cover-ij/META-INF/cover-service-analyzer-2023.10.02.jar -Dcom.diffblue.assertionSuggestionJar=/Users/211897/Library/Application Support/JetBrains/IntelliJIdea2023.2/plugins/diffblue-cover-ij/META-INF/cover-service-analyzer-2023.10.02.jar -Dcover.main.class=com.diffblue.cover.service.analyzer.Main -jar /Users/211897/Library/Application Support/JetBrains/IntelliJIdea2023.2/plugins/diffblue-cover-ij/lib/launcher-2023.10.02-shared-jar.jar --service-lifespan 1800 --monitoring-service-port 64323 --debug-log
10:29:33.126 [INFO] [Creating] Server started. Waiting up to 300 seconds for a connection to be established…
10:29:34.224 [INFO] [Creating] Starting new remote monitor client
10:29:35.045 [INFO] [Creating] Attempting to start remote server.
10:29:35.480 [INFO] [Creating] Server started, listening on localhost/127.0.0.1:64326
10:29:36.140 [INFO] [Creating] Expect analyzer service to be listening on port 64326.
10:29:36.393 [INFO] [Creating] Started analyzer service and client retrieved.
10:29:36.795 [INFO] [Creating] [1/1] com.zzz.xxx.yyy.repository.CompanyRepository
10:29:36.795 [INFO] [Creating] [1/1] Tests created: 0
10:29:36.799 [INFO] [Reporting]
10:29:36.799 [INFO] [Reporting] Summary:
10:29:36.799 [INFO] [Reporting] --------
10:29:36.800 [INFO] [Reporting] Total: 3 methods
10:29:36.800 [INFO] [Reporting]
10:29:36.800 [INFO] [Reporting] No tests created for: 3 methods
10:29:37.662 [WARN] [Messaging] Internal error - Test generation failed
Cause: com.diffblue.cover.service.analyzer.b: Failed to call configureAnalysisDriver
at com.diffblue.cover.service.analyzer.a.d.a(SourceFile:54)
at com.diffblue.cover.analysis.a.d.<init>(SourceFile:102)
at com.diffblue.cover.analysis.b.a(SourceFile:185)
at com.diffblue.cover.j.a.g.a(SourceFile:1137)
at com.diffblue.cover.j.a.a.a(SourceFile:517)
at com.diffblue.cover.j.a.g.a(SourceFile:107)
at com.diffblue.cover.p.a.a.a(SourceFile:212)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
com.diffblue.cover.exception.BaseException: Unexpected error: Test generation failed
< … hidden frames … >
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:428)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:115)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:478)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:251)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:71)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:71)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:251)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:465)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: com.diffblue.cover.service.analyzer.b: Failed to call configureAnalysisDriver
< … hidden frames … >
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: UNKNOWN: The Security Manager is deprecated and will be removed in a future release
java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
at java.base/java.lang.System.setSecurityManager(System.java:425)
at com.diffblue.cover.analysis.b.a(SourceFile:1205)
at com.diffblue.cover.service.analyzer.a.c$a.a(SourceFile:313)
at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1228)
at com.diffblue.cover.service.analyzer.a.c$a.a(SourceFile:311)
at com.diffblue.cover.service.analyzer.a.a.m$h.invoke(SourceFile:699)
at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(SourceFile:182)
at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(SourceFile:355)
at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(SourceFile:867)
at io.grpc.internal.ContextRunnable.run(SourceFile:37)
at io.grpc.internal.SerializingExecutor.run(SourceFile:133)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1589)

at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:592)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:571)
< ... hidden frames ... >
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

Caused by: io.grpc.StatusRuntimeException: UNKNOWN: The Security Manager is deprecated and will be removed in a future release
java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
at java.base/java.lang.System.setSecurityManager(System.java:425)
at com.diffblue.cover.analysis.b.a(SourceFile:1205)
at com.diffblue.cover.service.analyzer.a.c$a.a(SourceFile:313)
at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1228)
at com.diffblue.cover.service.analyzer.a.c$a.a(SourceFile:311)
at com.diffblue.cover.service.analyzer.a.a.m$h.invoke(SourceFile:699)
at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(SourceFile:182)
at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(SourceFile:355)
at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(SourceFile:867)
at io.grpc.internal.ContextRunnable.run(SourceFile:37)
at io.grpc.internal.SerializingExecutor.run(SourceFile:133)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1589)

at io.grpc.Status.asRuntimeException(Status.java:539)
at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:544)
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:563)
at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:744)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:723)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

Thank you for uploading the log file @arnzel

I can see you are using Java 19 - we primarily support Java’s LTS versions (8, 11, & 17). Although in the most recent release (v. 2023.11.01) we do attempt to write tests for the non-LTS versions 18, 19, 20, 21 (see what’s new).
You are currently running Cover version 2023.10.02, so I would recommend to update to v. 2023.11.01 via the IntelliJ marketplace, and re-run Cover on the same code.

Let me know how this goes.

Kind regards,
Jane @ Diffblue