Zakharov Roman

Results 6 comments of Zakharov Roman

The only "mockk" stacktrace I see in logs, but it "fails" due to uninitialized mongoDb client in abstract repository class ``` Cannot invoke "io.vertx.ext.mongo.MongoClient.replaceDocumentsWithOptions(String, io.vertx.core.json.JsonObject, io.vertx.core.json.JsonObject, io.vertx.ext.mongo.UpdateOptions)" because the return...

minimal setup Gradle ``` dependencies { implementation 'net.bytebuddy:byte-buddy:1.12.17' implementation 'io.vertx:vertx-lang-kotlin:4.3.3' implementation 'io.vertx:vertx-lang-kotlin-coroutines:4.3.3' implementation 'io.vertx:vertx-mongo-client:4.3.3' implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.4' implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.4' implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.13.4' testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.9.1" testImplementation "org.junit.jupiter:junit-jupiter-api:5.9.1" testImplementation "org.junit.jupiter:junit-jupiter-params:5.9.1" testImplementation 'io.mockk:mockk-jvm:1.13.2' } test...

Since Kotlin 1.9.0 is released today ``` detekt was compiled with Kotlin 1.8.21 but is currently running with 1.9.0 ```

Update update to Kotlin 1.9.10 ``` detekt was compiled with Kotlin 1.9.0 but is currently running with 1.9.10. ```

Tested with byteBuddy 1.12.20. Now it's a bit different exception (not StackOverflow), but it could be a different issue. ``` java.lang.IllegalArgumentException: Cannot resolve T from static java.lang.Object kn.tqt.db.store.base.AbstractRepository.update$suspendImpl(?) at net.bytebuddy.description.TypeVariableSource$AbstractBase.findExpectedVariable(TypeVariableSource.java:174)...

Thank you for clarification. Look exactly like my case. Removed 'open' (just for check) from generic suspend method in abstract class, and it's passed.