Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1373

Failed to generate coverage cloud error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • open-source
    • 3.2.0
    • CEP Plugin
    • None
    • Severity 3 - Minor

    Description

      Start clicking quickly on "Coverage Cloud" button. It will cause a clash between actions as two actions will attempt to write to the same output file:

      java.io.FileNotFoundException: C:\Users\Marek\.workspace-eclipse-4.3\Moneybags\.clover\report\style.css (The requested operation cannot be performed on a file with a user-mapped section open)
      	at java.io.FileOutputStream.open(Native Method)
      	at java.io.FileOutputStream.<init>(FileOutputStream.java:206)
      	at java.io.FileOutputStream.<init>(FileOutputStream.java:156)
      	at com.cenqua.clover.reporters.html.HtmlReportUtil.mergeTemplateToFile(HtmlReportUtil.java:64)
      	at com.cenqua.clover.reporters.html.HtmlReportUtil.mergeTemplateToFile(HtmlReportUtil.java:86)
      	at com.cenqua.clover.reporters.html.HtmlReportUtil.mergeTemplateToDir(HtmlReportUtil.java:92)
      	at com.cenqua.clover.eclipse.ui.editors.cloud.CloudGenerator.createResources(CloudGenerator.java:97)
      	at com.cenqua.clover.eclipse.ui.editors.cloud.CloudGenerator.execute(CloudGenerator.java:37)
      	at com.cenqua.clover.eclipse.views.actions.GenerateCloudJob.generateReport(GenerateCloudJob.java:48)
      	at com.cenqua.clover.eclipse.views.actions.GenerateCloudJob.run(GenerateCloudJob.java:34)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mparfianowicz Marek Parfianowicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: