starting new job...
→ running command: dir='/etc/byggsteg/job-clone//symbanta/trunk'
branch='trunk'
if ! command -v git >/dev/null 2>&1; then
echo 'byggsteg: git is not on this deployment PATH, so the clone cannot be updated' >&2
exit 1
fi
if ! cd "$dir"; then
echo "byggsteg: cannot enter the clone $dir" >&2
exit 1
fi
root=$(git rev-parse --show-toplevel 2>/dev/null)
if [ "$root" != "$(pwd -P)" ]; then
echo "byggsteg: $dir is not a git checkout; remove it and the next run clones it again" >&2
exit 1
fi
if ! origin=$(git remote get-url origin 2>/dev/null); then
echo "byggsteg: $dir has no origin remote to fetch $branch from" >&2
exit 1
fi
before=$(git rev-parse --short HEAD 2>/dev/null) || before=none
attempt=1
while :; do
if GIT_TERMINAL_PROMPT=0 git fetch --quiet origin "+refs/heads/$branch:refs/remotes/origin/$branch"; then
break
fi
if [ "$attempt" -ge 3 ]; then
echo "byggsteg: could not fetch $branch from $origin after 3 attempts; is the branch still there, and is the remote reachable?" >&2
exit 1
fi
echo "byggsteg: fetching $branch from $origin failed; retrying in $((attempt * 2))s" >&2
sleep $((attempt * 2))
attempt=$((attempt + 1))
done
if ! git checkout --quiet --force -B "$branch" FETCH_HEAD; then
echo "byggsteg: fetched $branch from $origin but could not check it out" >&2
exit 1
fi
after=$(git rev-parse --short HEAD)
if [ "$before" = "$after" ]; then
echo "byggsteg: $branch was already at $after"
else
echo "byggsteg: $branch moved from $before to $after"
fi
byggsteg: trunk was already at dd7be4e
→ running command: cd /etc/byggsteg/job-clone/symbanta/trunk && uname -a
Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
→ running command: cd /etc/byggsteg/job-clone/symbanta/trunk && git log --name-status HEAD^..HEAD
commit dd7be4e61c9fbd5810b544d7d1d85d62aeddadc7
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Thu Oct 29 22:04:25 2026 +0100
feat: Add caching layer
M README.org
M src/main/kotlin/org/jointhefreeworld/symbanta/config/ApplicationProperties.kt
M src/main/kotlin/org/jointhefreeworld/symbanta/config/WiringConfig.kt
M src/main/kotlin/org/jointhefreeworld/symbanta/feature/events/adapter/outbound/persistence/EventJpaRepository.kt
M src/main/kotlin/org/jointhefreeworld/symbanta/feature/events/adapter/outbound/queue/BatchingEventDispatcher.kt
M src/main/kotlin/org/jointhefreeworld/symbanta/feature/statistics/adapter/outbound/persistence/JpaAnalyticsQueryAdapter.kt
A src/main/kotlin/org/jointhefreeworld/symbanta/feature/statistics/service/CachingStatisticsQueryService.kt
A src/main/kotlin/org/jointhefreeworld/symbanta/feature/statistics/service/StatsResultCache.kt
M src/main/resources/application.yaml
M src/test/kotlin/org/jointhefreeworld/symbanta/feature/events/adapter/outbound/queue/BatchingEventDispatcherSpec.kt
A src/test/kotlin/org/jointhefreeworld/symbanta/feature/statistics/service/CachingStatisticsQueryServiceSpec.kt
→ running command: cd /etc/byggsteg/job-clone/symbanta/trunk && maak test
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by org.fusesource.jansi.internal.JansiLoader in an unnamed module (file:/root/.m2/wrapper/dists/apache-maven-3.8.7-bin/678cc9d4/apache-maven-3.8.7/lib/jansi-2.4.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper (file:/root/.m2/wrapper/dists/apache-maven-3.8.7-bin/678cc9d4/apache-maven-3.8.7/lib/guava-25.1-android.jar)
WARNING: Please consider reporting this to the maintainers of class com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------< org.jointhefreeworld.symbanta:symbanta >---------------
[INFO] Building symbanta 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.5.0:clean (clean-stale-output) @ symbanta ---
[INFO]
[INFO] --- maven-dependency-plugin:3.10.0:properties (default) @ symbanta ---
[INFO]
[INFO] --- exec-maven-plugin:3.3.0:java (generate-fabrikt-server-sources) @ symbanta ---
Oct 29, 2026 10:05:31 PM com.cjbooms.fabrikt.cli.CodeGen generate
INFO: Generating code and dumping to /etc/byggsteg/job-clone/symbanta/trunk/target/generated-sources/server/
[INFO]
[INFO] --- ktlint-maven-plugin:3.5.0:format (format-and-check) @ symbanta ---
[INFO] 0 file(s) formatted.
[INFO]
[INFO] --- maven-resources-plugin:3.5.0:resources (default-resources) @ symbanta ---
[INFO] Copying 2 resources from src/main/resources to target/classes
[INFO] Copying 6 resources from src/main/resources to target/classes
[INFO]
[INFO] --- kotlin-maven-plugin:2.4.10:compile (compile) @ symbanta ---
[INFO] Applied plugin: 'spring'
[INFO] starting the daemon as: /nix/store/465yw6iffzr210bfjlsnr6g6b6h5l6cy-openjdk-25.0.4+7/lib/openjdk/bin/java -cp /root/.m2/repository/org/jetbrains/kotlin/kotlin-build-tools-impl/2.4.10/kotlin-build-tools-impl-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-build-tools-api/2.4.10/kotlin-build-tools-api-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/2.4.10/kotlin-stdlib-2.4.10.jar:/root/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-build-tools-cri-impl/2.4.10/kotlin-build-tools-cri-impl-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/2.4.10/kotlin-compiler-embeddable-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-script-runtime/2.4.10/kotlin-script-runtime-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.6.10/kotlin-reflect-1.6.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-daemon-embeddable/2.4.10/kotlin-daemon-embeddable-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.8.0/kotlinx-coroutines-core-jvm-1.8.0.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-compiler-runner/2.4.10/kotlin-compiler-runner-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-daemon-client/2.4.10/kotlin-daemon-client-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-compiler-embeddable/2.4.10/kotlin-scripting-compiler-embeddable-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-common/2.4.10/kotlin-scripting-common-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-jvm/2.4.10/kotlin-scripting-jvm-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-compiler-impl-embeddable/2.4.10/kotlin-scripting-compiler-impl-embeddable-2.4.10.jar -Djava.awt.headless=true -Djava.rmi.server.hostname=127.0.0.1 -Xmx1874m -XX:ReservedCodeCacheSize=320m -ea -Dkotlin.daemon.custom.run.files.path.for.tests=/root/.local/share/kotlin/daemon -XX:+UseCodeCacheFlushing -XX:+UseParallelGC -Dkotlin.daemon.initiator.marker.file=/tmp/kotlin-compiler-client-12872299004511330711-is-running --add-exports java.base/sun.nio.ch=ALL-UNNAMED org.jetbrains.kotlin.daemon.KotlinCompileDaemon --daemon-logsPath /tmp --daemon-logsFileSizeLimit=1048576 --daemon-logsFileCountLimit=3 --daemon-runFilesPath /root/.local/share/kotlin/daemon --daemon-autoshutdownIdleSeconds=7200 --daemon-shutdownDelayMilliseconds=1800000 --daemon-compilerClasspath /root/.m2/repository/org/jetbrains/kotlin/kotlin-build-tools-impl/2.4.10/kotlin-build-tools-impl-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-build-tools-api/2.4.10/kotlin-build-tools-api-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/2.4.10/kotlin-stdlib-2.4.10.jar:/root/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-build-tools-cri-impl/2.4.10/kotlin-build-tools-cri-impl-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/2.4.10/kotlin-compiler-embeddable-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-script-runtime/2.4.10/kotlin-script-runtime-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.6.10/kotlin-reflect-1.6.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-daemon-embeddable/2.4.10/kotlin-daemon-embeddable-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.8.0/kotlinx-coroutines-core-jvm-1.8.0.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-compiler-runner/2.4.10/kotlin-compiler-runner-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-daemon-client/2.4.10/kotlin-daemon-client-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-compiler-embeddable/2.4.10/kotlin-scripting-compiler-embeddable-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-common/2.4.10/kotlin-scripting-common-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-jvm/2.4.10/kotlin-scripting-jvm-2.4.10.jar:/root/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-compiler-impl-embeddable/2.4.10/kotlin-scripting-compiler-impl-embeddable-2.4.10.jar
[INFO] #1 retrying connecting to the daemon
[INFO] Options for KOTLIN DAEMON: CompilationOptions(compilerMode=NON_INCREMENTAL_COMPILER, targetPlatform=JVM, reportCategories=[0], reportSeverity=2, requestedCompilationResults=[0], kotlinScriptExtensions=null, generateCompilerRefIndex=false)
[WARNING] file:///etc/byggsteg/job-clone/symbanta/trunk/src/main/kotlin/org/jointhefreeworld/symbanta/feature/statistics/adapter/outbound/persistence/JpaAnalyticsQueryAdapter.kt:67:35 Unnecessary safe call on a non-null receiver of type 'SessionSummaryRow'.
[WARNING] file:///etc/byggsteg/job-clone/symbanta/trunk/src/main/kotlin/org/jointhefreeworld/symbanta/feature/statistics/adapter/outbound/persistence/JpaAnalyticsQueryAdapter.kt:68:34 Unnecessary safe call on a non-null receiver of type 'SessionSummaryRow'.
[WARNING] file:///etc/byggsteg/job-clone/symbanta/trunk/src/main/kotlin/org/jointhefreeworld/symbanta/feature/statistics/adapter/outbound/persistence/JpaAnalyticsQueryAdapter.kt:69:36 Unnecessary safe call on a non-null receiver of type 'SessionSummaryRow'.
[WARNING] file:///etc/byggsteg/job-clone/symbanta/trunk/src/main/kotlin/org/jointhefreeworld/symbanta/feature/statistics/adapter/outbound/persistence/JpaAnalyticsQueryAdapter.kt:70:66 Unnecessary safe call on a non-null receiver of type 'SessionSummaryRow'.
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (java-compile) @ symbanta ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.5.0:testResources (default-testResources) @ symbanta ---
[INFO] skip non existing resourceDirectory /etc/byggsteg/job-clone/symbanta/trunk/src/test/resources
[INFO]
[INFO] --- kotlin-maven-plugin:2.4.10:test-compile (test-compile) @ symbanta ---
[INFO] Applied plugin: 'spring'
[INFO] Options for KOTLIN DAEMON: CompilationOptions(compilerMode=NON_INCREMENTAL_COMPILER, targetPlatform=JVM, reportCategories=[0], reportSeverity=2, requestedCompilationResults=[0], kotlinScriptExtensions=null, generateCompilerRefIndex=false)
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (java-test-compile) @ symbanta ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.5.6:test (default-test) @ symbanta ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.jointhefreeworld.symbanta.ApplicationContextSpec
22:06:03.862 [main @spec-scope-1107218767#23] INFO org.testcontainers.images.PullPolicy -- Image pull policy will be performed by: DefaultPullPolicy()
22:06:03.875 [main @spec-scope-1107218767#23] INFO org.testcontainers.utility.ImageNameSubstitutor -- Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
22:06:04.520 [main @spec-scope-1107218767#23] INFO org.testcontainers.dockerclient.DockerClientProviderStrategy -- Found Docker environment with Environment variables, system properties and defaults. Resolved dockerHost=unix:///run/user/1003/podman/podman.sock
22:06:04.521 [main @spec-scope-1107218767#23] INFO org.testcontainers.DockerClientFactory -- Docker host IP address is localhost
22:06:04.547 [main @spec-scope-1107218767#23] INFO org.testcontainers.DockerClientFactory -- Connected to docker:
Server Version: 6.1.4
API Version: 1.44
Operating System: guix
Total Memory: 7748 MB
22:06:04.552 [main @spec-scope-1107218767#23] WARN org.testcontainers.utility.ResourceReaper --
********************************************************************************
Ryuk has been disabled. This can cause unexpected behavior in your environment.
********************************************************************************
22:06:04.555 [main @spec-scope-1107218767#23] INFO org.testcontainers.DockerClientFactory -- Checking the system...
22:06:04.555 [main @spec-scope-1107218767#23] INFO org.testcontainers.DockerClientFactory -- ✔︎ Docker server version should be at least 1.6.0
22:06:04.630 [main @spec-scope-1107218767#23] INFO tc.postgres:16-alpine -- Creating container for image: postgres:16-alpine
22:06:04.635 [main @spec-scope-1107218767#23] INFO org.testcontainers.utility.RegistryAuthLocator -- Failure when attempting to lookup auth config. Please ignore if you don't have images in an authenticated registry. Details: (dockerImageName: postgres:16-alpine, configFile: /root/.docker/config.json, configEnv: DOCKER_AUTH_CONFIG). Falling back to docker-java default behaviour. Exception message: Status 404: No config supplied. Checked in order: /root/.docker/config.json (file not found), DOCKER_AUTH_CONFIG (not set)
22:06:04.773 [main @spec-scope-1107218767#23] INFO tc.postgres:16-alpine -- Container postgres:16-alpine is starting: 0a3ba1a0efee53c54f161b4767cfa60ca7cc767e4594575db178e8607bd0ad39
22:06:08.662 [main @spec-scope-1107218767#23] INFO tc.postgres:16-alpine -- Container postgres:16-alpine started in PT4.031576627S
22:06:08.663 [main @spec-scope-1107218767#23] INFO tc.postgres:16-alpine -- Container is started (JDBC URL: jdbc:postgresql://localhost:42613/symbanta_test?loggerLevel=OFF)
22:06:09.324 [main @spec-scope-1107218767#23] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:postgresql://localhost:42613/symbanta_test?loggerLevel=OFF (PostgreSQL 16.15)
22:06:09.408 [main @spec-scope-1107218767#23] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Schema history table "public"."flyway_schema_history" does not exist yet
22:06:09.414 [main @spec-scope-1107218767#23] INFO org.flywaydb.core.internal.command.DbValidate -- Successfully validated 3 migrations (execution time 00:00.031s)
22:06:09.428 [main @spec-scope-1107218767#23] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Creating Schema History table "public"."flyway_schema_history" ...
22:06:09.553 [main @spec-scope-1107218767#23] INFO org.flywaydb.core.internal.command.DbMigrate -- Current version of schema "public": << Empty Schema >>
22:06:09.582 [main @spec-scope-1107218767#23] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "public" to version "1 - create symbanta schema"
22:06:09.648 [main @spec-scope-1107218767#23] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "public" to version "3 - add users table"
22:06:09.693 [main @spec-scope-1107218767#23] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "public" to version "4 - event context and event types"
22:06:09.731 [main @spec-scope-1107218767#23] INFO org.flywaydb.core.internal.command.DbMigrate -- Successfully applied 3 migrations to schema "public", now at version v4 (execution time 00:00.089s)
{"@timestamp":"2026-10-29T22:06:10.535626592+01:00","level":"INFO","logger_name":"org.apache.maven.surefire.booter.ForkedBooter","thread_name":"main @spec-scope-1107218767#23","message":"Starting ForkedBooter v3.5.6 using Java 25.0.4 with PID 1218 (started by root in /etc/byggsteg/job-clone/symbanta/trunk)"}
{"@timestamp":"2026-10-29T22:06:10.544022796+01:00","level":"INFO","logger_name":"org.apache.maven.surefire.booter.ForkedBooter","thread_name":"main @spec-scope-1107218767#23","message":"No active profile set, falling back to 1 default profile: \"seeder\""}
{"@timestamp":"2026-10-29T22:06:12.567823532+01:00","level":"INFO","logger_name":"org.springframework.data.repository.config.RepositoryConfigurationDelegate","thread_name":"main @spec-scope-1107218767#23","message":"Bootstrapping Spring Data JPA repositories in DEFAULT mode."}
{"@timestamp":"2026-10-29T22:06:12.598067092+01:00","level":"INFO","logger_name":"org.springframework.data.repository.config.RepositoryConfigurationDelegate","thread_name":"main @spec-scope-1107218767#23","message":"Finished Spring Data repository scanning in 21 ms. Found 0 JPA repository interfaces."}
{"@timestamp":"2026-10-29T22:06:13.122490042+01:00","level":"WARN","logger_name":"org.springframework.boot.web.server.servlet.context.AnnotationConfigServletWebServerApplicationContext","thread_name":"main @spec-scope-1107218767#23","message":"Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Could not enhance configuration class [org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.ConsoleWebConversionConfig]. Consider declaring @Configuration(proxyBeanMethods=false) without inter-bean references between @Bean methods on the configuration class, avoiding the need for CGLIB enhancement."}
{"@timestamp":"2026-10-29T22:06:13.150645067+01:00","level":"INFO","logger_name":"org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger","thread_name":"main @spec-scope-1107218767#23","message":"\n\nError starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled."}
{"@timestamp":"2026-10-29T22:06:13.175430664+01:00","level":"ERROR","logger_name":"org.springframework.boot.SpringApplication","thread_name":"main @spec-scope-1107218767#23","message":"Application run failed","stack_trace":"org.springframework.beans.factory.BeanDefinitionStoreException: Could not enhance configuration class [org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.ConsoleWebConversionConfig]. Consider declaring @Configuration(proxyBeanMethods=false) without inter-bean references between @Bean methods on the configuration class, avoiding the need for CGLIB enhancement.\n\tat org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:136)\n\tat org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:576)\n\tat org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:337)\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:363)\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:153)\n\tat org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:795)\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:603)\n\tat org.springframework.boot.web.server.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756)\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:321)\n\tat org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:154)\n\tat org.jointhefreeworld.symbanta.ApplicationContextSpec$1$1.invokeSuspend(ApplicationContextSpec.kt:41)\n\tat org.jointhefreeworld.symbanta.ApplicationContextSpec$1$1.invoke(ApplicationContextSpec.kt)\n\tat org.jointhefreeworld.symbanta.ApplicationContextSpec$1$1.invoke(ApplicationContextSpec.kt)\n\tat io.kotest.core.spec.style.scopes.FunSpecRootScope$test$1.invokeSuspend(FunSpecRootScope.kt:88)\n\tat io.kotest.core.spec.style.scopes.FunSpecRootScope$test$1.invoke(FunSpecRootScope.kt)\n\tat io.kotest.core.spec.style.scopes.FunSpecRootScope$test$1.invoke(FunSpecRootScope.kt)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$base$1.invoke(TestCaseExecutor.kt:118)\n\tat io.kotest.engine.test.TestInvocationInterceptor$runBeforeTestAfter$executeWithBeforeAfter$1.invoke(TestInvocationInterceptor.kt:93)\n\tat io.kotest.engine.test.interceptors.InvocationTimeoutInterceptor$intercept$3.invokeSuspend(InvocationTimeoutInterceptor.kt:49)\n\tat io.kotest.engine.test.interceptors.InvocationTimeoutInterceptor$intercept$3.invoke(InvocationTimeoutInterceptor.kt)\n\tat io.kotest.engine.test.interceptors.InvocationTimeoutInterceptor$intercept$3.invoke(InvocationTimeoutInterceptor.kt)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:50)\n\tat kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:149)\n\tat kotlinx.coroutines.TimeoutKt.withTimeoutOrNull(Timeout.kt:105)\n\tat kotlinx.coroutines.TimeoutKt.withTimeoutOrNull-KLykuaI(Timeout.kt:137)\n\tat io.kotest.engine.test.interceptors.TimeoutInterceptorKt.withAppropriateTimeoutOrNull-KLykuaI(TimeoutInterceptor.kt:103)\n\tat io.kotest.engine.test.interceptors.InvocationTimeoutInterceptor.intercept(InvocationTimeoutInterceptor.kt:48)\n\tat io.kotest.engine.test.TestInvocationInterceptor$runBeforeTestAfter$wrappedTest$1$1.invoke(TestInvocationInterceptor.kt:102)\n\tat io.kotest.engine.test.TestInvocationInterceptor.runBeforeTestAfter(TestInvocationInterceptor.kt:105)\n\tat io.kotest.engine.test.TestInvocationInterceptor.access$runBeforeTestAfter(TestInvocationInterceptor.kt:18)\n\tat io.kotest.engine.test.TestInvocationInterceptor$invokeWithRetry$2.invokeSuspend(TestInvocationInterceptor.kt:53)\n\tat io.kotest.engine.test.TestInvocationInterceptor$invokeWithRetry$2.invoke(TestInvocationInterceptor.kt)\n\tat io.kotest.engine.test.TestInvocationInterceptor$invokeWithRetry$2.invoke(TestInvocationInterceptor.kt)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)\n\tat kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:286)\n\tat io.kotest.engine.test.TestInvocationInterceptor.invokeWithRetry(TestInvocationInterceptor.kt:51)\n\tat io.kotest.engine.test.TestInvocationInterceptor.intercept(TestInvocationInterceptor.kt:33)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.MarkOpenTest4jAbortedExceptionsAsSkippedTestInterceptor.intercept(MarkOpenTest4jAbortedExceptionsAsSkippedTestInterceptor.kt:22)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.HandleSkippedExceptionsTestInterceptor.intercept(HandleSkippedExceptionsTestInterceptor.kt:15)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.TimeoutInterceptor$intercept$3.invokeSuspend(TimeoutInterceptor.kt:61)\n\tat io.kotest.engine.test.interceptors.TimeoutInterceptor$intercept$3.invoke(TimeoutInterceptor.kt)\n\tat io.kotest.engine.test.interceptors.TimeoutInterceptor$intercept$3.invoke(TimeoutInterceptor.kt)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:50)\n\tat kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:149)\n\tat kotlinx.coroutines.TimeoutKt.withTimeout(Timeout.kt:44)\n\tat kotlinx.coroutines.TimeoutKt.withTimeout-KLykuaI(Timeout.kt:72)\n\tat io.kotest.engine.test.interceptors.TimeoutInterceptorKt.withAppropriateTimeout-KLykuaI(TimeoutInterceptor.kt:90)\n\tat io.kotest.engine.test.interceptors.TimeoutInterceptor.intercept(TimeoutInterceptor.kt:60)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.CoroutineDebugProbeInterceptor.intercept(CoroutineDebugProbeInterceptor.kt:33)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.BlockedThreadTimeoutInterceptor.intercept(BlockedThreadTimeoutInterceptor.kt:87)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.CoroutineLoggingInterceptor.intercept(CoroutineLoggingInterceptor.kt:38)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.SoftAssertInterceptor.intercept(SoftAssertInterceptor.kt:26)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.AssertionModeInterceptor.intercept(AssertionModeInterceptor.kt:29)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.LifecycleInterceptor.intercept(LifecycleInterceptor.kt:48)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.TestCaseExtensionInterceptor$intercept$2.invoke(TestCaseExtensionInterceptor.kt:21)\n\tat io.kotest.engine.test.TestExtensions.intercept(TestExtensions.kt:151)\n\tat io.kotest.engine.test.interceptors.TestCaseExtensionInterceptor.intercept(TestCaseExtensionInterceptor.kt:21)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.TestEnabledCheckInterceptor.intercept(TestEnabledCheckInterceptor.kt:41)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.CoroutineErrorCollectorInterceptor$intercept$3.invokeSuspend(CoroutineErrorCollectorInterceptor.kt:39)\n\tat io.kotest.engine.test.interceptors.CoroutineErrorCollectorInterceptor$intercept$3.invoke(CoroutineErrorCollectorInterceptor.kt)\n\tat io.kotest.engine.test.interceptors.CoroutineErrorCollectorInterceptor$intercept$3.invoke(CoroutineErrorCollectorInterceptor.kt)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)\n\tat kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)\n\tat kotlinx.coroutines.BuildersKt.withContext(Unknown Source)\n\tat io.kotest.engine.test.interceptors.CoroutineErrorCollectorInterceptor.intercept(CoroutineErrorCollectorInterceptor.kt:38)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.CoroutineDispatcherFactoryTestInterceptor.intercept(CoroutineDispatcherFactoryTestInterceptor.kt:41)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.SupervisorScopeInterceptor$intercept$2.invokeSuspend(SupervisorScopeInterceptor.kt:23)\n\tat io.kotest.engine.test.interceptors.SupervisorScopeInterceptor$intercept$2.invoke(SupervisorScopeInterceptor.kt)\n\tat io.kotest.engine.test.interceptors.SupervisorScopeInterceptor$intercept$2.invoke(SupervisorScopeInterceptor.kt)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)\n\tat kotlinx.coroutines.SupervisorKt.supervisorScope(Supervisor.kt:56)\n\tat io.kotest.engine.test.interceptors.SupervisorScopeInterceptor.intercept(SupervisorScopeInterceptor.kt:22)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.InvocationCountCheckInterceptor.intercept(InvocationCountCheckInterceptor.kt:33)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.TestFinishedInterceptor.intercept(TestFinishedInterceptor.kt:23)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.FailFastInterceptor.intercept(FailFastInterceptor.kt:24)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.TestNameContextInterceptor$intercept$2.invokeSuspend(TestNameContextInterceptor.kt:21)\n\tat io.kotest.engine.test.interceptors.TestNameContextInterceptor$intercept$2.invoke(TestNameContextInterceptor.kt)\n\tat io.kotest.engine.test.interceptors.TestNameContextInterceptor$intercept$2.invoke(TestNameContextInterceptor.kt)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)\n\tat kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)\n\tat kotlinx.coroutines.BuildersKt.withContext(Unknown Source)\n\tat io.kotest.engine.test.interceptors.TestNameContextInterceptor.intercept(TestNameContextInterceptor.kt:20)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.interceptors.DescriptorPathContextInterceptor$intercept$2.invokeSuspend(DescriptorPathContextInterceptor.kt:21)\n\tat io.kotest.engine.test.interceptors.DescriptorPathContextInterceptor$intercept$2.invoke(DescriptorPathContextInterceptor.kt)\n\tat io.kotest.engine.test.interceptors.DescriptorPathContextInterceptor$intercept$2.invoke(DescriptorPathContextInterceptor.kt)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)\n\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)\n\tat kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)\n\tat kotlinx.coroutines.BuildersKt.withContext(Unknown Source)\n\tat io.kotest.engine.test.interceptors.DescriptorPathContextInterceptor.intercept(DescriptorPathContextInterceptor.kt:20)\n\tat io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)\n\tat io.kotest.engine.test.TestCaseExecutor.execute(TestCaseExecutor.kt:124)\n\tat io.kotest.engine.spec.execution.SingleInstanceSpecExecutor.executeTest(SingleInstanceSpecExecutor.kt:76)\n\tat io.kotest.engine.spec.execution.SingleInstanceSpecExecutor.access$executeTest(SingleInstanceSpecExecutor.kt:26)\n\tat io.kotest.engine.spec.execution.SingleInstanceSpecExecutor$launchRootTests$2$1$1.invokeSuspend(SingleInstanceSpecExecutor.kt:57)\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)\n\tat kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)\n\tat kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)\n\tat kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)\n\tat kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)\n\tat kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)\n\tat kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)\n\tat kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)\n\tat io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)\n\tat io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)\n\tat org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)\n\tat org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)\n\tat org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)\n\tat org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)\n\tat org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)\n\tat org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)\n\tat org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)\n\tat org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)\n\tat org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)\n\tat org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)\n\tat org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)\n\tat org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)\n\tat org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)\n\tat org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:565)\n\tat org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)\n\tat org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)\n\tat org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)\n\tat org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)\n\tat org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)\n\tat org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)\n\tat org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)\n\tat org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)\n\tat org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)\n\tat org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)\nCaused by: org.springframework.cglib.core.CodeGenerationException: java.lang.IllegalStateException-->Unable to load cache item\n\tat org.springframework.context.annotation.ConfigurationClassEnhancer.createClass(ConfigurationClassEnhancer.java:202)\n\tat org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:128)\n\t... 157 common frames omitted\nCaused by: java.lang.IllegalStateException: Unable to load cache item\n\tat org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:75)\n\tat org.springframework.cglib.core.internal.LoadingCache.get(LoadingCache.java:34)\n\tat org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:129)\n\tat org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:321)\n\tat org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:562)\n\tat org.springframework.cglib.proxy.Enhancer.createClass(Enhancer.java:407)\n\tat org.springframework.context.annotation.ConfigurationClassEnhancer.createClass(ConfigurationClassEnhancer.java:198)\n\t... 158 common frames omitted\nCaused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/openapi/models/ConsoleLogLevelDto\n\tat java.base/java.lang.Class.getDeclaredMethods0(Native Method)\n\tat java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)\n\tat java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)\n\tat org.springframework.cglib.core.ReflectUtils.addAllMethods(ReflectUtils.java:396)\n\tat org.springframework.cglib.proxy.Enhancer.getMethods(Enhancer.java:627)\n\tat org.springframework.cglib.proxy.Enhancer.generateClass(Enhancer.java:664)\n\tat org.springframework.cglib.transform.TransformingClassGenerator.generateClass(TransformingClassGenerator.java:35)\n\tat org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:26)\n\tat org.springframework.cglib.core.ClassLoaderAwareGeneratorStrategy.lambda$new$0(ClassLoaderAwareGeneratorStrategy.java:41)\n\tat org.springframework.cglib.core.ClassLoaderAwareGeneratorStrategy.generate(ClassLoaderAwareGeneratorStrategy.java:76)\n\tat org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:370)\n\tat org.springframework.cglib.proxy.Enhancer.generate(Enhancer.java:575)\n\tat org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.lambda$new$0(AbstractClassGenerator.java:107)\n\tat org.springframework.cglib.core.internal.LoadingCache.lambda$createEntry$0(LoadingCache.java:52)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)\n\tat org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:57)\n\t... 164 common frames omitted\nCaused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.openapi.models.ConsoleLogLevelDto\n\tat java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)\n\tat java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)\n\t... 180 common frames omitted\n"}
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.673 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.ApplicationContextSpec
[ERROR] org.jointhefreeworld.symbanta.ApplicationContextSpec.boots every feature with its ports wired to the production adapters -- Time elapsed: 9.496 s <<< ERROR!
org.springframework.beans.factory.BeanDefinitionStoreException: Could not enhance configuration class [org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.ConsoleWebConversionConfig]. Consider declaring @Configuration(proxyBeanMethods=false) without inter-bean references between @Bean methods on the configuration class, avoiding the need for CGLIB enhancement.
at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:136)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:576)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:337)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:363)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:153)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:795)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:603)
at org.springframework.boot.web.server.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:154)
at org.jointhefreeworld.symbanta.ApplicationContextSpec$1$1.invokeSuspend(ApplicationContextSpec.kt:41)
at org.jointhefreeworld.symbanta.ApplicationContextSpec$1$1.invoke(ApplicationContextSpec.kt)
at org.jointhefreeworld.symbanta.ApplicationContextSpec$1$1.invoke(ApplicationContextSpec.kt)
at io.kotest.core.spec.style.scopes.FunSpecRootScope$test$1.invokeSuspend(FunSpecRootScope.kt:88)
at io.kotest.core.spec.style.scopes.FunSpecRootScope$test$1.invoke(FunSpecRootScope.kt)
at io.kotest.core.spec.style.scopes.FunSpecRootScope$test$1.invoke(FunSpecRootScope.kt)
at io.kotest.engine.test.TestCaseExecutor$execute$base$1.invoke(TestCaseExecutor.kt:118)
at io.kotest.engine.test.TestInvocationInterceptor$runBeforeTestAfter$executeWithBeforeAfter$1.invoke(TestInvocationInterceptor.kt:93)
at io.kotest.engine.test.interceptors.InvocationTimeoutInterceptor$intercept$3.invokeSuspend(InvocationTimeoutInterceptor.kt:49)
at io.kotest.engine.test.interceptors.InvocationTimeoutInterceptor$intercept$3.invoke(InvocationTimeoutInterceptor.kt)
at io.kotest.engine.test.interceptors.InvocationTimeoutInterceptor$intercept$3.invoke(InvocationTimeoutInterceptor.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:50)
at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:149)
at kotlinx.coroutines.TimeoutKt.withTimeoutOrNull(Timeout.kt:105)
at kotlinx.coroutines.TimeoutKt.withTimeoutOrNull-KLykuaI(Timeout.kt:137)
at io.kotest.engine.test.interceptors.TimeoutInterceptorKt.withAppropriateTimeoutOrNull-KLykuaI(TimeoutInterceptor.kt:103)
at io.kotest.engine.test.interceptors.InvocationTimeoutInterceptor.intercept(InvocationTimeoutInterceptor.kt:48)
at io.kotest.engine.test.TestInvocationInterceptor$runBeforeTestAfter$wrappedTest$1$1.invoke(TestInvocationInterceptor.kt:102)
at io.kotest.engine.test.TestInvocationInterceptor.runBeforeTestAfter(TestInvocationInterceptor.kt:105)
at io.kotest.engine.test.TestInvocationInterceptor.access$runBeforeTestAfter(TestInvocationInterceptor.kt:18)
at io.kotest.engine.test.TestInvocationInterceptor$invokeWithRetry$2.invokeSuspend(TestInvocationInterceptor.kt:53)
at io.kotest.engine.test.TestInvocationInterceptor$invokeWithRetry$2.invoke(TestInvocationInterceptor.kt)
at io.kotest.engine.test.TestInvocationInterceptor$invokeWithRetry$2.invoke(TestInvocationInterceptor.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:286)
at io.kotest.engine.test.TestInvocationInterceptor.invokeWithRetry(TestInvocationInterceptor.kt:51)
at io.kotest.engine.test.TestInvocationInterceptor.intercept(TestInvocationInterceptor.kt:33)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.MarkOpenTest4jAbortedExceptionsAsSkippedTestInterceptor.intercept(MarkOpenTest4jAbortedExceptionsAsSkippedTestInterceptor.kt:22)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.HandleSkippedExceptionsTestInterceptor.intercept(HandleSkippedExceptionsTestInterceptor.kt:15)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.TimeoutInterceptor$intercept$3.invokeSuspend(TimeoutInterceptor.kt:61)
at io.kotest.engine.test.interceptors.TimeoutInterceptor$intercept$3.invoke(TimeoutInterceptor.kt)
at io.kotest.engine.test.interceptors.TimeoutInterceptor$intercept$3.invoke(TimeoutInterceptor.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:50)
at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:149)
at kotlinx.coroutines.TimeoutKt.withTimeout(Timeout.kt:44)
at kotlinx.coroutines.TimeoutKt.withTimeout-KLykuaI(Timeout.kt:72)
at io.kotest.engine.test.interceptors.TimeoutInterceptorKt.withAppropriateTimeout-KLykuaI(TimeoutInterceptor.kt:90)
at io.kotest.engine.test.interceptors.TimeoutInterceptor.intercept(TimeoutInterceptor.kt:60)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.CoroutineDebugProbeInterceptor.intercept(CoroutineDebugProbeInterceptor.kt:33)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.BlockedThreadTimeoutInterceptor.intercept(BlockedThreadTimeoutInterceptor.kt:87)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.CoroutineLoggingInterceptor.intercept(CoroutineLoggingInterceptor.kt:38)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.SoftAssertInterceptor.intercept(SoftAssertInterceptor.kt:26)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.AssertionModeInterceptor.intercept(AssertionModeInterceptor.kt:29)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.LifecycleInterceptor.intercept(LifecycleInterceptor.kt:48)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.TestCaseExtensionInterceptor$intercept$2.invoke(TestCaseExtensionInterceptor.kt:21)
at io.kotest.engine.test.TestExtensions.intercept(TestExtensions.kt:151)
at io.kotest.engine.test.interceptors.TestCaseExtensionInterceptor.intercept(TestCaseExtensionInterceptor.kt:21)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.TestEnabledCheckInterceptor.intercept(TestEnabledCheckInterceptor.kt:41)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.CoroutineErrorCollectorInterceptor$intercept$3.invokeSuspend(CoroutineErrorCollectorInterceptor.kt:39)
at io.kotest.engine.test.interceptors.CoroutineErrorCollectorInterceptor$intercept$3.invoke(CoroutineErrorCollectorInterceptor.kt)
at io.kotest.engine.test.interceptors.CoroutineErrorCollectorInterceptor$intercept$3.invoke(CoroutineErrorCollectorInterceptor.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at io.kotest.engine.test.interceptors.CoroutineErrorCollectorInterceptor.intercept(CoroutineErrorCollectorInterceptor.kt:38)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.CoroutineDispatcherFactoryTestInterceptor.intercept(CoroutineDispatcherFactoryTestInterceptor.kt:41)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.SupervisorScopeInterceptor$intercept$2.invokeSuspend(SupervisorScopeInterceptor.kt:23)
at io.kotest.engine.test.interceptors.SupervisorScopeInterceptor$intercept$2.invoke(SupervisorScopeInterceptor.kt)
at io.kotest.engine.test.interceptors.SupervisorScopeInterceptor$intercept$2.invoke(SupervisorScopeInterceptor.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
at kotlinx.coroutines.SupervisorKt.supervisorScope(Supervisor.kt:56)
at io.kotest.engine.test.interceptors.SupervisorScopeInterceptor.intercept(SupervisorScopeInterceptor.kt:22)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.InvocationCountCheckInterceptor.intercept(InvocationCountCheckInterceptor.kt:33)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.TestFinishedInterceptor.intercept(TestFinishedInterceptor.kt:23)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.FailFastInterceptor.intercept(FailFastInterceptor.kt:24)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.TestNameContextInterceptor$intercept$2.invokeSuspend(TestNameContextInterceptor.kt:21)
at io.kotest.engine.test.interceptors.TestNameContextInterceptor$intercept$2.invoke(TestNameContextInterceptor.kt)
at io.kotest.engine.test.interceptors.TestNameContextInterceptor$intercept$2.invoke(TestNameContextInterceptor.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at io.kotest.engine.test.interceptors.TestNameContextInterceptor.intercept(TestNameContextInterceptor.kt:20)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.interceptors.DescriptorPathContextInterceptor$intercept$2.invokeSuspend(DescriptorPathContextInterceptor.kt:21)
at io.kotest.engine.test.interceptors.DescriptorPathContextInterceptor$intercept$2.invoke(DescriptorPathContextInterceptor.kt)
at io.kotest.engine.test.interceptors.DescriptorPathContextInterceptor$intercept$2.invoke(DescriptorPathContextInterceptor.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at io.kotest.engine.test.interceptors.DescriptorPathContextInterceptor.intercept(DescriptorPathContextInterceptor.kt:20)
at io.kotest.engine.test.TestCaseExecutor$execute$3$1.invoke(TestCaseExecutor.kt:123)
at io.kotest.engine.test.TestCaseExecutor.execute(TestCaseExecutor.kt:124)
at io.kotest.engine.spec.execution.SingleInstanceSpecExecutor.executeTest(SingleInstanceSpecExecutor.kt:76)
at io.kotest.engine.spec.execution.SingleInstanceSpecExecutor.access$executeTest(SingleInstanceSpecExecutor.kt:26)
at io.kotest.engine.spec.execution.SingleInstanceSpecExecutor$launchRootTests$2$1$1.invokeSuspend(SingleInstanceSpecExecutor.kt:57)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: org.springframework.cglib.core.CodeGenerationException: java.lang.IllegalStateException-->Unable to load cache item
at org.springframework.context.annotation.ConfigurationClassEnhancer.createClass(ConfigurationClassEnhancer.java:202)
at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:128)
... 131 more
Caused by: java.lang.IllegalStateException: Unable to load cache item
at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:75)
at org.springframework.cglib.core.internal.LoadingCache.get(LoadingCache.java:34)
at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:129)
at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:321)
at org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:562)
at org.springframework.cglib.proxy.Enhancer.createClass(Enhancer.java:407)
at org.springframework.context.annotation.ConfigurationClassEnhancer.createClass(ConfigurationClassEnhancer.java:198)
... 132 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/openapi/models/ConsoleLogLevelDto
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at org.springframework.cglib.core.ReflectUtils.addAllMethods(ReflectUtils.java:396)
at org.springframework.cglib.proxy.Enhancer.getMethods(Enhancer.java:627)
at org.springframework.cglib.proxy.Enhancer.generateClass(Enhancer.java:664)
at org.springframework.cglib.transform.TransformingClassGenerator.generateClass(TransformingClassGenerator.java:35)
at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:26)
at org.springframework.cglib.core.ClassLoaderAwareGeneratorStrategy.lambda$new$0(ClassLoaderAwareGeneratorStrategy.java:41)
at org.springframework.cglib.core.ClassLoaderAwareGeneratorStrategy.generate(ClassLoaderAwareGeneratorStrategy.java:76)
at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:370)
at org.springframework.cglib.proxy.Enhancer.generate(Enhancer.java:575)
at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.lambda$new$0(AbstractClassGenerator.java:107)
at org.springframework.cglib.core.internal.LoadingCache.lambda$createEntry$0(LoadingCache.java:52)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:57)
... 138 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.openapi.models.ConsoleLogLevelDto
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 154 more
[INFO] Running org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.console.port.inbound.GetConsoleLogsUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.inbound.GetConsoleLogsUseCase]
at org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec._init_$lambda$0(LogsControllerSpec.kt:126)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec.<init>(LogsControllerSpec.kt:29)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.inbound.GetConsoleLogsUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 64 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 64 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/console/port/inbound/ConsoleLogQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 78 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.console.port.inbound.ConsoleLogQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 93 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.678 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec
[ERROR] org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec.SpecInstantiationException -- Time elapsed: 0.008 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.console.port.inbound.GetConsoleLogsUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.inbound.GetConsoleLogsUseCase]
at org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec._init_$lambda$0(LogsControllerSpec.kt:126)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec.<init>(LogsControllerSpec.kt:29)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.inbound.GetConsoleLogsUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/console/port/inbound/ConsoleLogQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.console.port.inbound.ConsoleLogQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[ERROR] org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec -- Time elapsed: 0.678 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.console.port.inbound.GetConsoleLogsUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.inbound.GetConsoleLogsUseCase]
at org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec._init_$lambda$0(LogsControllerSpec.kt:126)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec.<init>(LogsControllerSpec.kt:29)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.inbound.GetConsoleLogsUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/console/port/inbound/ConsoleLogQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.console.port.inbound.ConsoleLogQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[INFO] Running org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/support/TestPersistence
at org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec._init_$lambda$0(JpaConsoleLogAdapterSpec.kt:25)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec.<init>(JpaConsoleLogAdapterSpec.kt:22)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.support.TestPersistence
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 64 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.022 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec
[ERROR] org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec.SpecInstantiationException -- Time elapsed: 0 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/support/TestPersistence
at org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec._init_$lambda$0(JpaConsoleLogAdapterSpec.kt:25)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec.<init>(JpaConsoleLogAdapterSpec.kt:22)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.support.TestPersistence
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[ERROR] org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec -- Time elapsed: 0.022 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/support/TestPersistence
at org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec._init_$lambda$0(JpaConsoleLogAdapterSpec.kt:25)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec.<init>(JpaConsoleLogAdapterSpec.kt:22)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.support.TestPersistence
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[INFO] Running org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.console.port.outbound.ConsoleLogQueryPort.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.outbound.ConsoleLogQueryPort]
at org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec._init_$lambda$0(ConsoleLogServiceSpec.kt:86)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec.<init>(ConsoleLogServiceSpec.kt:21)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.outbound.ConsoleLogQueryPort]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 64 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 64 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/console/domain/ConsoleLogLevel
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 78 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.console.domain.ConsoleLogLevel
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 93 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.115 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec
[ERROR] org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec.SpecInstantiationException -- Time elapsed: 0.013 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.console.port.outbound.ConsoleLogQueryPort.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.outbound.ConsoleLogQueryPort]
at org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec._init_$lambda$0(ConsoleLogServiceSpec.kt:86)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec.<init>(ConsoleLogServiceSpec.kt:21)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.outbound.ConsoleLogQueryPort]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/console/domain/ConsoleLogLevel
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.console.domain.ConsoleLogLevel
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[ERROR] org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec -- Time elapsed: 0.115 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.console.port.outbound.ConsoleLogQueryPort.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.outbound.ConsoleLogQueryPort]
at org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec._init_$lambda$0(ConsoleLogServiceSpec.kt:86)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec.<init>(ConsoleLogServiceSpec.kt:21)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.console.port.outbound.ConsoleLogQueryPort]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/console/domain/ConsoleLogLevel
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.console.domain.ConsoleLogLevel
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[INFO] Running org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/adapter/outbound/persistence/JpaEventStoreFixture
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec._init_$lambda$0(JpaEventStoreSpec.kt:47)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec.<init>(JpaEventStoreSpec.kt:44)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreFixture
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 64 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.015 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec
[ERROR] org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec.SpecInstantiationException -- Time elapsed: 0.001 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/adapter/outbound/persistence/JpaEventStoreFixture
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec._init_$lambda$0(JpaEventStoreSpec.kt:47)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec.<init>(JpaEventStoreSpec.kt:44)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreFixture
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[ERROR] org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec -- Time elapsed: 0.015 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/adapter/outbound/persistence/JpaEventStoreFixture
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec._init_$lambda$0(JpaEventStoreSpec.kt:47)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec.<init>(JpaEventStoreSpec.kt:44)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreFixture
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[INFO] Running org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/adapter/outbound/persistence/JpaEventStoreFixture
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreSpec.<init>(JpaEventStoreSpec.kt:20)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreFixture
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 62 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.015 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreSpec
[ERROR] org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreSpec.SpecInstantiationException -- Time elapsed: 0 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/adapter/outbound/persistence/JpaEventStoreFixture
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreSpec.<init>(JpaEventStoreSpec.kt:20)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreFixture
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 1 more
[ERROR] org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreSpec -- Time elapsed: 0.015 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/adapter/outbound/persistence/JpaEventStoreFixture
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreSpec.<init>(JpaEventStoreSpec.kt:20)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreFixture
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 1 more
[INFO] Running org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/adapter/outbound/queue/BatchingEventDispatcherSpec$1$1
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec._init_$lambda$0(BatchingEventDispatcherSpec.kt:29)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec.<init>(BatchingEventDispatcherSpec.kt:24)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 64 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.010 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec
[ERROR] org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec.SpecInstantiationException -- Time elapsed: 0 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/adapter/outbound/queue/BatchingEventDispatcherSpec$1$1
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec._init_$lambda$0(BatchingEventDispatcherSpec.kt:29)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec.<init>(BatchingEventDispatcherSpec.kt:24)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[ERROR] org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec -- Time elapsed: 0.010 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/adapter/outbound/queue/BatchingEventDispatcherSpec$1$1
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec._init_$lambda$0(BatchingEventDispatcherSpec.kt:29)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec.<init>(BatchingEventDispatcherSpec.kt:24)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[INFO] Running org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/service/EventIngestionServiceSpec$1$1
at org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec._init_$lambda$0(EventIngestionServiceSpec.kt:30)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec.<init>(EventIngestionServiceSpec.kt:22)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 64 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.006 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec
[ERROR] org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec.SpecInstantiationException -- Time elapsed: 0.001 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/service/EventIngestionServiceSpec$1$1
at org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec._init_$lambda$0(EventIngestionServiceSpec.kt:30)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec.<init>(EventIngestionServiceSpec.kt:22)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[ERROR] org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec -- Time elapsed: 0.006 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/events/service/EventIngestionServiceSpec$1$1
at org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec._init_$lambda$0(EventIngestionServiceSpec.kt:30)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec.<init>(EventIngestionServiceSpec.kt:22)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[INFO] Running org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/shared/domain/PropertyId
at org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec._init_$lambda$0(EventPersistenceServiceSpec.kt:31)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec.<init>(EventPersistenceServiceSpec.kt:27)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.shared.domain.PropertyId
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 64 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.028 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec
[ERROR] org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec.SpecInstantiationException -- Time elapsed: 0.009 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/shared/domain/PropertyId
at org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec._init_$lambda$0(EventPersistenceServiceSpec.kt:31)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec.<init>(EventPersistenceServiceSpec.kt:27)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.shared.domain.PropertyId
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[ERROR] org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec -- Time elapsed: 0.028 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/shared/domain/PropertyId
at org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec._init_$lambda$0(EventPersistenceServiceSpec.kt:31)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec.<init>(EventPersistenceServiceSpec.kt:27)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.shared.domain.PropertyId
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[INFO] Running org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeUseCase]
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec._init_$lambda$0(EventTypesControllerSpec.kt:164)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec.<init>(EventTypesControllerSpec.kt:32)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 64 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 64 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/eventtypes/port/inbound/RegisterEventTypeCommand
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 78 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeCommand
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 93 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.115 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec
[ERROR] org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec.SpecInstantiationException -- Time elapsed: 0.001 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeUseCase]
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec._init_$lambda$0(EventTypesControllerSpec.kt:164)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec.<init>(EventTypesControllerSpec.kt:32)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/eventtypes/port/inbound/RegisterEventTypeCommand
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeCommand
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[ERROR] org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec -- Time elapsed: 0.115 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeUseCase]
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec._init_$lambda$0(EventTypesControllerSpec.kt:164)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec.<init>(EventTypesControllerSpec.kt:32)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/eventtypes/port/inbound/RegisterEventTypeCommand
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.eventtypes.port.inbound.RegisterEventTypeCommand
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[INFO] Running org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/support/TestPersistence
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec._init_$lambda$0(JpaEventTypeRepositorySpec.kt:23)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec.<init>(JpaEventTypeRepositorySpec.kt:20)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.support.TestPersistence
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 64 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.009 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec
[ERROR] org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec.SpecInstantiationException -- Time elapsed: 0.008 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/support/TestPersistence
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec._init_$lambda$0(JpaEventTypeRepositorySpec.kt:23)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec.<init>(JpaEventTypeRepositorySpec.kt:20)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.support.TestPersistence
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[ERROR] org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec -- Time elapsed: 0.009 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/support/TestPersistence
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec._init_$lambda$0(JpaEventTypeRepositorySpec.kt:23)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec.<init>(JpaEventTypeRepositorySpec.kt:20)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.support.TestPersistence
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[INFO] Running org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/support/TestPersistence
at org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec._init_$lambda$0(JpaPropertyRepositorySpec.kt:25)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec.<init>(JpaPropertyRepositorySpec.kt:22)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.support.TestPersistence
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 64 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.014 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec
[ERROR] org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec.SpecInstantiationException -- Time elapsed: 0.008 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/support/TestPersistence
at org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec._init_$lambda$0(JpaPropertyRepositorySpec.kt:25)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec.<init>(JpaPropertyRepositorySpec.kt:22)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.support.TestPersistence
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[ERROR] org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec -- Time elapsed: 0.014 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/support/TestPersistence
at org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec._init_$lambda$0(JpaPropertyRepositorySpec.kt:25)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec.<init>(JpaPropertyRepositorySpec.kt:22)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.support.TestPersistence
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[INFO] Running org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetRouteStatsUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetRouteStatsUseCase]
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec._init_$lambda$0(StatsRoutesControllerSpec.kt:197)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec.<init>(StatsRoutesControllerSpec.kt:33)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetRouteStatsUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 64 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 64 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/port/inbound/StatsQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 78 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.port.inbound.StatsQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 93 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.103 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec.SpecInstantiationException -- Time elapsed: 0.007 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetRouteStatsUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetRouteStatsUseCase]
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec._init_$lambda$0(StatsRoutesControllerSpec.kt:197)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec.<init>(StatsRoutesControllerSpec.kt:33)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetRouteStatsUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/port/inbound/StatsQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.port.inbound.StatsQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec -- Time elapsed: 0.103 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetRouteStatsUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetRouteStatsUseCase]
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec._init_$lambda$0(StatsRoutesControllerSpec.kt:197)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec.<init>(StatsRoutesControllerSpec.kt:33)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetRouteStatsUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/port/inbound/StatsQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.port.inbound.StatsQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[INFO] Running org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetTimeSeriesUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetTimeSeriesUseCase]
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec._init_$lambda$0(StatsTimeseriesControllerSpec.kt:209)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec.<init>(StatsTimeseriesControllerSpec.kt:36)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetTimeSeriesUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 64 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 64 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/port/inbound/StatsQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 78 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.port.inbound.StatsQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 93 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.078 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec.SpecInstantiationException -- Time elapsed: 0.001 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetTimeSeriesUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetTimeSeriesUseCase]
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec._init_$lambda$0(StatsTimeseriesControllerSpec.kt:209)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec.<init>(StatsTimeseriesControllerSpec.kt:36)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetTimeSeriesUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/port/inbound/StatsQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.port.inbound.StatsQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec -- Time elapsed: 0.078 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetTimeSeriesUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetTimeSeriesUseCase]
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec._init_$lambda$0(StatsTimeseriesControllerSpec.kt:209)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec.<init>(StatsTimeseriesControllerSpec.kt:36)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetTimeSeriesUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/port/inbound/StatsQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.port.inbound.StatsQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[INFO] Running org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetUserAgentStatsUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetUserAgentStatsUseCase]
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec._init_$lambda$0(StatsUserAgentsControllerSpec.kt:133)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec.<init>(StatsUserAgentsControllerSpec.kt:25)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetUserAgentStatsUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 64 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 64 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/port/inbound/StatsQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 78 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.port.inbound.StatsQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 93 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.060 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec.SpecInstantiationException -- Time elapsed: 0.003 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetUserAgentStatsUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetUserAgentStatsUseCase]
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec._init_$lambda$0(StatsUserAgentsControllerSpec.kt:133)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec.<init>(StatsUserAgentsControllerSpec.kt:25)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetUserAgentStatsUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/port/inbound/StatsQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.port.inbound.StatsQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec -- Time elapsed: 0.060 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetUserAgentStatsUseCase.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetUserAgentStatsUseCase]
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec._init_$lambda$0(StatsUserAgentsControllerSpec.kt:133)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec.<init>(StatsUserAgentsControllerSpec.kt:25)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.inbound.GetUserAgentStatsUseCase]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/port/inbound/StatsQuery
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.port.inbound.StatsQuery
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[INFO] Running org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryAdapterSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/adapter/outbound/persistence/JpaAnalyticsQueryFixture
at org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryAdapterSpec.<init>(JpaAnalyticsQueryAdapterSpec.kt:18)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryFixture
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 62 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryAdapterSpec
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryAdapterSpec.SpecInstantiationException -- Time elapsed: 0 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/adapter/outbound/persistence/JpaAnalyticsQueryFixture
at org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryAdapterSpec.<init>(JpaAnalyticsQueryAdapterSpec.kt:18)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryFixture
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 1 more
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryAdapterSpec -- Time elapsed: 0.001 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryAdapterSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/adapter/outbound/persistence/JpaAnalyticsQueryFixture
at org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryAdapterSpec.<init>(JpaAnalyticsQueryAdapterSpec.kt:18)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryFixture
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 1 more
[INFO] Running org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/adapter/outbound/persistence/JpaTimeSeriesTimeZoneSpec$1$1
at org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec._init_$lambda$0(JpaTimeSeriesTimeZoneSpec.kt:27)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec.<init>(JpaTimeSeriesTimeZoneSpec.kt:25)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 64 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.007 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec.SpecInstantiationException -- Time elapsed: 0.001 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/adapter/outbound/persistence/JpaTimeSeriesTimeZoneSpec$1$1
at org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec._init_$lambda$0(JpaTimeSeriesTimeZoneSpec.kt:27)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec.<init>(JpaTimeSeriesTimeZoneSpec.kt:25)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec -- Time elapsed: 0.007 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/adapter/outbound/persistence/JpaTimeSeriesTimeZoneSpec$1$1
at org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec._init_$lambda$0(JpaTimeSeriesTimeZoneSpec.kt:27)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec.<init>(JpaTimeSeriesTimeZoneSpec.kt:25)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[INFO] Running org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/domain/UserAgentParserSpec$1$1
at org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec._init_$lambda$0(UserAgentParserSpec.kt:23)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec.<init>(UserAgentParserSpec.kt:13)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 64 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.009 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec.SpecInstantiationException -- Time elapsed: 0.002 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/domain/UserAgentParserSpec$1$1
at org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec._init_$lambda$0(UserAgentParserSpec.kt:23)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec.<init>(UserAgentParserSpec.kt:13)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec -- Time elapsed: 0.009 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/domain/UserAgentParserSpec$1$1
at org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec._init_$lambda$0(UserAgentParserSpec.kt:23)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec.<init>(UserAgentParserSpec.kt:13)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[INFO] Running org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec._init_$lambda$0(CachingStatisticsQueryServiceSpec.kt:179)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec.<init>(CachingStatisticsQueryServiceSpec.kt:35)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 64 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 64 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/domain/TimeGranularity
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 78 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.domain.TimeGranularity
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 93 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.067 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec.SpecInstantiationException -- Time elapsed: 0.003 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec._init_$lambda$0(CachingStatisticsQueryServiceSpec.kt:179)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec.<init>(CachingStatisticsQueryServiceSpec.kt:35)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/domain/TimeGranularity
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.domain.TimeGranularity
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec -- Time elapsed: 0.067 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec._init_$lambda$0(CachingStatisticsQueryServiceSpec.kt:179)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec.<init>(CachingStatisticsQueryServiceSpec.kt:35)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/domain/TimeGranularity
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.domain.TimeGranularity
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[INFO] Running org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec._init_$lambda$0(StatisticsQueryServiceSpec.kt:264)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec.<init>(StatisticsQueryServiceSpec.kt:38)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 64 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 64 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/domain/TimeGranularity
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 78 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.domain.TimeGranularity
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 93 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.065 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec.SpecInstantiationException -- Time elapsed: 0.001 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec._init_$lambda$0(StatisticsQueryServiceSpec.kt:264)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec.<init>(StatisticsQueryServiceSpec.kt:38)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/domain/TimeGranularity
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.domain.TimeGranularity
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[ERROR] org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec -- Time elapsed: 0.065 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort.
If you're not sure why you're getting this error, please open an issue on GitHub.
Java : 25
JVM vendor name : Oracle Corporation
JVM vendor version : 25.0.4+7
JVM name : OpenJDK 64-Bit Server VM
JVM version : 25.0.4+7
JVM info : mixed mode, sharing
OS name : Linux
OS version : 7.2.11-gnu
You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.
Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec._init_$lambda$0(StatisticsQueryServiceSpec.kt:264)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec.<init>(StatisticsQueryServiceSpec.kt:38)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface org.jointhefreeworld.symbanta.feature.statistics.port.outbound.AnalyticsQueryPort]
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
... 3 more
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
- Compiled by older versions of scalac
- Classes that are part of the Android distribution
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:310)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:239)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.lambda$mockClass$0(TypeCachingBytecodeGenerator.java:78)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:172)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:403)
at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:194)
at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:414)
at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:75)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMockType(InlineDelegateByteBuddyMockMaker.java:434)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.doCreateMock(InlineDelegateByteBuddyMockMaker.java:393)
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.createMock(InlineDelegateByteBuddyMockMaker.java:372)
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:56)
at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:99)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:80)
at org.mockito.Mockito.mock(Mockito.java:2235)
... 3 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/feature/statistics/domain/TimeGranularity
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3010)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2329)
at net.bytebuddy.description.method.MethodList$ForLoadedMethods.<init>(MethodList.java:152)
at net.bytebuddy.description.type.TypeDescription$ForLoadedType.getDeclaredMethods(TypeDescription.java:9082)
at net.bytebuddy.dynamic.scaffold.InstrumentedType$Factory$Default$1.represent(InstrumentedType.java:467)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:1001)
at net.bytebuddy.ByteBuddy.redefine(ByteBuddy.java:976)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.transform(InlineBytecodeGenerator.java:415)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:257)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:594)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:221)
at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:306)
... 17 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.feature.statistics.domain.TimeGranularity
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 32 more
[INFO] Running org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.executeEngine(EngineExecutionOrchestrator.java:246)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.failOrExecuteEngine(EngineExecutionOrchestrator.java:218)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:179)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:66)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:157)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:65)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:125)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at org.junit.platform.launcher.core.InterceptingLauncher.lambda$execute$2(InterceptingLauncher.java:57)
at org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor.intercept(ClasspathAlignmentCheckingLauncherInterceptor.java:25)
at org.junit.platform.launcher.core.InterceptingLauncher.execute(InterceptingLauncher.java:56)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:125)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.executeWithCancellationToken(LauncherAdapter.java:68)
at org.apache.maven.surefire.junitplatform.LauncherAdapter.execute(LauncherAdapter.java:54)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:203)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:168)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:136)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/shared/domain/ReportingPeriodResolverSpec$1$1
at org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec._init_$lambda$0(ReportingPeriodResolverSpec.kt:31)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec.<init>(ReportingPeriodResolverSpec.kt:22)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 60 more
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 64 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.009 s <<< FAILURE! -- in org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec
[ERROR] org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec.SpecInstantiationException -- Time elapsed: 0.007 s <<< ERROR!
java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/shared/domain/ReportingPeriodResolverSpec$1$1
at org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec._init_$lambda$0(ReportingPeriodResolverSpec.kt:31)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec.<init>(ReportingPeriodResolverSpec.kt:22)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[ERROR] org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec -- Time elapsed: 0.009 s <<< ERROR!
io.kotest.engine.spec.SpecInstantiationException: Could not create instance of class org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec
at io.kotest.engine.spec.SpecInstantiator.instantiate_gIAlu_s$lambda$0$1(SpecInstantiator.kt:48)
at io.kotest.engine.ResultsKt.mapError(results.kt:8)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:48)
at io.kotest.engine.spec.SpecInstantiator.objectOrInstantiateClass-gIAlu-s(SpecInstantiator.kt:37)
at io.kotest.engine.spec.SpecInstantiator.createAndInitializeSpec-gIAlu-s(SpecInstantiator.kt:32)
at io.kotest.engine.spec.InstantiateSpecKt.instantiate(instantiateSpec.kt:14)
at io.kotest.engine.spec.SpecRefInflator.inflate-gIAlu-s$kotest_framework_engine(SpecRef.kt:29)
at io.kotest.engine.spec.execution.SpecRefExecutor.inflateAndExecute(SpecRefExecutor.kt:165)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeUserListeners(SpecRefExecutor.kt:151)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeEngineListeners(SpecRefExecutor.kt:131)
at io.kotest.engine.spec.execution.SpecRefExecutor.access$invokeEngineListeners(SpecRefExecutor.kt:44)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invokeSuspend(SpecRefExecutor.kt:116)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor$invokeSpecRefExtensions$inner$1.invoke(SpecRefExecutor.kt)
at io.kotest.engine.spec.execution.SpecRefExecutor.invokeSpecRefExtensions(SpecRefExecutor.kt:120)
at io.kotest.engine.spec.execution.SpecRefExecutor.applyExtensions(SpecRefExecutor.kt:96)
at io.kotest.engine.spec.execution.SpecRefExecutor.execute(SpecRefExecutor.kt:72)
at io.kotest.engine.TestSuiteScheduler.executeIfNotFailedFast(TestSuiteScheduler.kt:104)
at io.kotest.engine.TestSuiteScheduler.access$executeIfNotFailedFast(TestSuiteScheduler.kt:29)
at io.kotest.engine.TestSuiteScheduler$schedule$13$1$2.invokeSuspend(TestSuiteScheduler.kt:85)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:86)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.execute(KotestJunitPlatformTestEngine.kt:56)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:36)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.default$call(ReflectKCallableImpl.kt:66)
at kotlin.reflect.jvm.internal.ReflectKCallableImpl.call(ReflectKCallableImpl.kt:10)
at io.kotest.engine.InstantiateKt.instantiateOrObject(instantiate.kt:20)
at io.kotest.engine.spec.SpecInstantiator.instantiate-gIAlu-s(SpecInstantiator.kt:47)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/jointhefreeworld/symbanta/shared/domain/ReportingPeriodResolverSpec$1$1
at org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec._init_$lambda$0(ReportingPeriodResolverSpec.kt:31)
at io.kotest.core.spec.style.FunSpec.<init>(funSpec.kt:25)
at org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec.<init>(ReportingPeriodResolverSpec.kt:22)
Caused by: java.lang.ClassNotFoundException: org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec$1$1
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 3 more
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] ApplicationContextSpec.boots every feature with its ports wired to the production adapters » BeanDefinitionStore Could not enhance configuration class [org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.ConsoleWebConversionConfig]. Consider declaring @Configuration(proxyBeanMethods=false) without inter-bean references between @Bean methods on the configuration class, avoiding the need for CGLIB enhancement.
[ERROR] LogsControllerSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.console.adapter.inbound.web.LogsControllerSpec
[ERROR] LogsControllerSpec.SpecInstantiationException » InvocationTarget
[ERROR] JpaConsoleLogAdapterSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.console.adapter.outbound.persistence.JpaConsoleLogAdapterSpec
[ERROR] JpaConsoleLogAdapterSpec.SpecInstantiationException » InvocationTarget
[ERROR] ConsoleLogServiceSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.console.service.ConsoleLogServiceSpec
[ERROR] ConsoleLogServiceSpec.SpecInstantiationException » InvocationTarget
[ERROR] JpaEventStoreColumnsSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreColumnsSpec
[ERROR] JpaEventStoreColumnsSpec.SpecInstantiationException » InvocationTarget
[ERROR] JpaEventStoreSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.events.adapter.outbound.persistence.JpaEventStoreSpec
[ERROR] JpaEventStoreSpec.SpecInstantiationException » InvocationTarget
[ERROR] BatchingEventDispatcherSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.events.adapter.outbound.queue.BatchingEventDispatcherSpec
[ERROR] BatchingEventDispatcherSpec.SpecInstantiationException » InvocationTarget
[ERROR] EventIngestionServiceSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.events.service.EventIngestionServiceSpec
[ERROR] EventIngestionServiceSpec.SpecInstantiationException » InvocationTarget
[ERROR] EventPersistenceServiceSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.events.service.EventPersistenceServiceSpec
[ERROR] EventPersistenceServiceSpec.SpecInstantiationException » InvocationTarget
[ERROR] EventTypesControllerSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.eventtypes.adapter.inbound.web.EventTypesControllerSpec
[ERROR] EventTypesControllerSpec.SpecInstantiationException » InvocationTarget
[ERROR] JpaEventTypeRepositorySpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.eventtypes.adapter.outbound.persistence.JpaEventTypeRepositorySpec
[ERROR] JpaEventTypeRepositorySpec.SpecInstantiationException » InvocationTarget
[ERROR] JpaPropertyRepositorySpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.properties.adapter.outbound.persistence.JpaPropertyRepositorySpec
[ERROR] JpaPropertyRepositorySpec.SpecInstantiationException » InvocationTarget
[ERROR] StatsRoutesControllerSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsRoutesControllerSpec
[ERROR] StatsRoutesControllerSpec.SpecInstantiationException » InvocationTarget
[ERROR] StatsTimeseriesControllerSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsTimeseriesControllerSpec
[ERROR] StatsTimeseriesControllerSpec.SpecInstantiationException » InvocationTarget
[ERROR] StatsUserAgentsControllerSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.adapter.inbound.web.StatsUserAgentsControllerSpec
[ERROR] StatsUserAgentsControllerSpec.SpecInstantiationException » InvocationTarget
[ERROR] JpaAnalyticsQueryAdapterSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaAnalyticsQueryAdapterSpec
[ERROR] JpaAnalyticsQueryAdapterSpec.SpecInstantiationException » InvocationTarget
[ERROR] JpaTimeSeriesTimeZoneSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.adapter.outbound.persistence.JpaTimeSeriesTimeZoneSpec
[ERROR] JpaTimeSeriesTimeZoneSpec.SpecInstantiationException » InvocationTarget
[ERROR] UserAgentParserSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.domain.UserAgentParserSpec
[ERROR] UserAgentParserSpec.SpecInstantiationException » InvocationTarget
[ERROR] CachingStatisticsQueryServiceSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.service.CachingStatisticsQueryServiceSpec
[ERROR] CachingStatisticsQueryServiceSpec.SpecInstantiationException » InvocationTarget
[ERROR] StatisticsQueryServiceSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.feature.statistics.service.StatisticsQueryServiceSpec
[ERROR] StatisticsQueryServiceSpec.SpecInstantiationException » InvocationTarget
[ERROR] ReportingPeriodResolverSpec » SpecInstantiation Could not create instance of class org.jointhefreeworld.symbanta.shared.domain.ReportingPeriodResolverSpec
[ERROR] ReportingPeriodResolverSpec.SpecInstantiationException » InvocationTarget
[INFO]
[ERROR] Tests run: 41, Failures: 0, Errors: 41, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57.815 s
[INFO] Finished at: 2026-10-29T22:06:27+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.6:test (default-test) on project symbanta:
[ERROR]
[ERROR] See /etc/byggsteg/job-clone/symbanta/trunk/target/surefire-reports for the individual test results.
[ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------------------------------------------
Maak 0.14.0: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/symbanta/trunk/maak.scm
Executing Maak tasks: test
--------------------------------------------------------------
=> Running Maak task: test
Test the project.
Executing: env NIX_CONFIG='experimental-features = nix-command flakes' nix develop . --command bash -c './mvnw test'
;;; note: source file /etc/byggsteg/job-clone/symbanta/trunk/maak.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/symbanta/trunk/maak.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /etc/byggsteg/job-clone/symbanta/trunk/maak.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/symbanta/trunk/maak.scm.go
maak: error: command failed (exit code 1): env NIX_CONFIG='experimental-features = nix-command flakes' nix develop . --command bash -c './mvnw test'
hint: Fix the command above, or run `maak --dry-run' to inspect it first.