Closed emartynov closed 1 year ago
Is your project open source? Reproducer or project code would help to learn the issue.
Unfortunately, it is not. Let me know if you want to have a full stack trace or any other information.
Hi @shanshin
Here is an example. https://github.com/ununhexium/skyscrapers/tree/github.com_Kotlin_kotlinx-kover_issues_179
Removing the rule
block inside koverMergedVerify
"solved" the issue.
@ununhexium Thank you a lot for a reproducer! This is a tricky Kotlin inline issue :)
Fixed in Agent 1.0.669
Super. Let me try it.
@emartynov , you can try the new version of the agent by configuring the plugin this way (in the file where the Kover is applied)
kover {
intellijEngineVersion.set("1.0.669")
}
@shanshin Thank you, I already found that DSL :) I will keep you updated
The build is green, however, I still see an exception in the log about the class version. I run it with Java 18.
@emartynov Could you please share full error stacktrace?
This issue still persists in kover 0.5.1. I had to downgrade to 0.5.0 to fix the issue FYI @zuevmaxim @lars-reimann
@Rubyj Could you please share a full error stacktrace? Please specify kover version and IJCoverage (kover { intellijEngineVersion.set("1.0.669") }
) version that you use. If it is possible, please share a small reproducer or GitHub link to your project that reproduces the issue
this happens in 0.6.0 too
@ege-ah Could you please share a full error stack trace? If it is possible, please share a small reproducer or GitHub link to your project that reproduces the issue
Feel free to open new bug issue if the problem reproduced again.
I found it after creating a new issue: https://github.com/Kotlin/kotlinx-kover/issues/296
After update I see next error on run on CI:
Whenever I run it locally, I see bunch of messages like:
CI runs with JDK 17, and I run locally with JDK 18.