-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: java.lang.NoSuchMethodError #153
Comments
fully agree. do we use the latest version in flacoco and test runner? |
Hello @monperrus No, we do not. #130 attempts to do so for Flacoco but we do not have However, I am afraid that it will not be sufficient since I tried locally to do this and it did not resolve the issue. Maybe I am missing something 😵 |
The one which is taken is the one that happens the last in the pom.xml of flacoco. If junit is after test-runner, the junit version of flacoco is taken If junit is before test-runner, the junit version of test-runner is taken. Same thing in your client project. |
Encountering the same error on defects4j Jsoup bugs. |
Hi @sophiakolak, We never got to fix this one, no. Could you let me know in which Jsoup bugs you have encountered this issue, and the command you are using to run flacoco? |
Hi @andre15silva, the ones that are not working are the 1 line bugs for Jsoup & Mockito (listed below)
It works in most cases, but for some reason these two are throwing an error that looks very similar to the one above. The command I'm running is:
So, a sample command
|
Hi @sophiakolak, I believe STAMP-project/test-runner#146 fixes the bug you encountered when running Furthermore, you will also want to provide the project's classpath to PS: the bug I fixed is different from the one initially reported by Benjamin, which remains unsolved, but I believe it does not affect you in these cases. |
|
awesome :) thank you! |
Hello,
I'm trying to run Flacoco on this project but I have the following error:
Here the
toString()
of the usedFlacocoConfig
:Seems that there is a conflict between the versions of
org.junit.platform.launcher
where the methodgetConfigurationParameters()
ofConfigurationParameters
has been introduced in1.8
while Flacoco is running in1.3
:source
However, I did try to bump the versions in Flacoco (and in STAMP-project/test-runner) but it did not work 😞
Have you any idea?
Thank you very much!
The text was updated successfully, but these errors were encountered: