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

GitHub | rkuchynski | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Failed to create output dir for code coverage report

    GitHub | 8 months ago | rkuchynski
    java.lang.AssertionError: Failed to create output dir: D:\my_project\build\reports\coverage

    Root Cause Analysis

    1. java.lang.AssertionError

      Failed to create output dir: D:\my_project\build\reports\coverage

      at mockit.coverage.reporting.OutputFile.getOutputFileCreatingDirIfNeeded()
    2. mockit.coverage.reporting
      CoverageReport.generate
      1. mockit.coverage.reporting.OutputFile.getOutputFileCreatingDirIfNeeded(OutputFile.java:40)
      2. mockit.coverage.reporting.OutputFile.<init>(OutputFile.java:27)
      3. mockit.coverage.reporting.sourceFiles.FileCoverageReport.<init>(FileCoverageReport.java:40)
      4. mockit.coverage.reporting.CoverageReport.generateFileCoverageReport(CoverageReport.java:104)
      5. mockit.coverage.reporting.CoverageReport.generateFileCoverageReportsWhileBuildingPackageLists(CoverageReport.java:90)
      6. mockit.coverage.reporting.CoverageReport.generate(CoverageReport.java:56)
      6 frames
    3. mockit.coverage
      CodeCoverage$1.run
      1. mockit.coverage.OutputFileGenerator.generateHTMLReportIfRequested(OutputFileGenerator.java:168)
      2. mockit.coverage.OutputFileGenerator.generate(OutputFileGenerator.java:111)
      3. mockit.coverage.CodeCoverage$1.run(CodeCoverage.java:67)
      3 frames