java.lang.AssertionError: Failed to create output dir: D:\my_project\build\reports\coverage

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by rkuchynski
, 1 year ago
Failed to create output dir: D:\my_project\build\reports\coverage
java.lang.AssertionError: Failed to create output dir: D:\my_project\build\reports\coverage
at mockit.coverage.reporting.OutputFile.getOutputFileCreatingDirIfNeeded(OutputFile.java:40)
at mockit.coverage.reporting.OutputFile.(OutputFile.java:27)
at mockit.coverage.reporting.sourceFiles.FileCoverageReport.(FileCoverageReport.java:40)
at mockit.coverage.reporting.CoverageReport.generateFileCoverageReport(CoverageReport.java:104)
at mockit.coverage.reporting.CoverageReport.generateFileCoverageReportsWhileBuildingPackageLists(CoverageReport.java:90)
at mockit.coverage.reporting.CoverageReport.generate(CoverageReport.java:56)
at mockit.coverage.OutputFileGenerator.generateHTMLReportIfRequested(OutputFileGenerator.java:168)
at mockit.coverage.OutputFileGenerator.generate(OutputFileGenerator.java:111)
at mockit.coverage.CodeCoverage$1.run(CodeCoverage.java:67)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.