hudson-jacoco-plugin crashes if jacoco didn't run

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: jacoco-plugin
    • None

      Right now the hudson-jacoco-plugin will crash if it is invoked atfter the build is done and the build didn't run jacoco. It should rather gracefully do nothing.

      The following exception occours:

      java.io.FileNotFoundException: ..../jacoco/classes (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:137)
      at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:181)
      at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:110)
      at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:116)

            Assignee:
            Ognjen Bubalo
            Reporter:
            Christoph B
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: