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
Failed to create output dir for code coverage report #316
Comments
I am unable to reproduce the problem. Could you post a small, but complete, sample project? |
This happens with java 8u92 64 bit on windows 7 64bit. We will provide test case tomorrow. |
I should add that regardless of this trace the report is created btw this message is very frustrating |
Sorry, I didn't provide all necessary information before. |
@rliesenfeld your test sample works properly on my env. BTW the sample that @rkuchynski prepared failed with trace. |
I don't know yet what exactly happens, but a solution is to remove the redundant use of the "-javaagent" JVM parameter, and the "coverage" system properties. Leave only "coverage-metrics=all" (to enable the coverage tool), and "coverage-outputDir" (as the desired directory differs from the default). |
Thanks, but we use jmockit as main coverage reporting tool even for modules where no mocks and gradle configuration is united for all modules so your advice don't work as far as I understand it |
Fixed. |
Issue happens with JMockit 1.26 only
I'm running JMockit with the following JVM args
This solution successfully produce coverage reports with JMockit 1.25 and 1.26, but with 1.26 it prints the following error to console:
The text was updated successfully, but these errors were encountered: