You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An Android project using Kotlin Multik library ( https://github.com/Kotlin/multik )
When JaCoCo is added then the tests using Multik fail with java.lang.VerifyError. The tests run fine when JaCoCo is disabled.
I'm providing a minimal android project to replicate the bug.
I've read somewhere that it might be caused by Multik using Kotlin inline functions with default parameters and that JaCoCo has problems with those. It should not crash, though.
Please let me know if there's any other info that that you need or perhaps if you can direct me to the part of code responsible for this in JaCoCo so I may try fixing the bug myself.
pl.gers.jacocomultikconflict.ExampleUnitTest > multikest FAILED
java.lang.IllegalArgumentException: Ndarray must be square: shape = (2,5)
but at least not VerifyError.
At a quick glance this seems to be a duplicate of #767.
However looks like your example shows that the implementation of its fix in #893 is currently buggy.
I'm going to investigate deeper, so let's not close this as a duplicate for the time being.
Thanks a lot for showing this to us 👍 👏 ❤️
pl.gers.jacocomultikconflict.ExampleUnitTest > multikest FAILED
java.lang.IllegalArgumentException: Ndarray must be square: shape = (2,5)
but at least not VerifyError.
@Godin That's true, sorry, made a mistake in the example. Fixed it in the repo now. Still verifyError with JaCoCo and now passes fine with JaCoCo disabled.
An Android project using Kotlin Multik library ( https://github.com/Kotlin/multik )
When JaCoCo is added then the tests using Multik fail with java.lang.VerifyError. The tests run fine when JaCoCo is disabled.
I'm providing a minimal android project to replicate the bug.
I've read somewhere that it might be caused by Multik using Kotlin inline functions with default parameters and that JaCoCo has problems with those. It should not crash, though.
Please let me know if there's any other info that that you need or perhaps if you can direct me to the part of code responsible for this in JaCoCo so I may try fixing the bug myself.
Steps to reproduce
./gradlew :app:testDevDebugUnitTest --info
Expected behaviour
Runs successfully and doesn't crash.
Actual behaviour
The text was updated successfully, but these errors were encountered: