java.io.FileNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The CFLint Jenkins plugin was modelled after the android-lint-plugin about a year ago, I'm updating it. I'm using analysis-core 1.63. And the problem is that is doesn't seem to be copying the lint results file from the workspace to the build history folder. Then it gets this error when attempting to see the annotation details. Failed to load C:\Users\Me\git\CFLint-plugin\.\work\jobs\test\builds\2015-12-17_22-44-38\cflint-plugin-issues.xml java.io.FileNotFoundException: C:\Users\Me\git\CFLint-plugin\.\work\jobs\test\builds\2015-12-17_22-44-38\cflint-plugin-issues.xml (The system cannot find the file specified) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at hudson.XmlFile.read(XmlFile.java:140) at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:973) at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:957) at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1152) at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:108) at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:277) at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:221) at org.jenkinsci.plugins.cflint.LintResult.<init>(LintResult.java:73) at org.jenkinsci.plugins.cflint.LintResult.<init>(LintResult.java:55) at org.jenkinsci.plugins.cflint.LintPublisher.perform(LintPublisher.java:139) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:68) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:259) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1784) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)
    via by ryan eberly,
  • The CFLint Jenkins plugin was modelled after the android-lint-plugin about a year ago, I'm updating it. I'm using analysis-core 1.63. And the problem is that is doesn't seem to be copying the lint results file from the workspace to the build history folder. Then it gets this error when attempting to see the annotation details. Failed to load C:\Users\Me\git\CFLint-plugin\.\work\jobs\test\builds\2015-12-17_22-44-38\cflint-plugin-issues.xml java.io.FileNotFoundException: C:\Users\Me\git\CFLint-plugin\.\work\jobs\test\builds\2015-12-17_22-44-38\cflint-plugin-issues.xml (The system cannot find the file specified) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at hudson.XmlFile.read(XmlFile.java:140) at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:973) at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:957) at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1152) at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:108) at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:277) at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:221) at org.jenkinsci.plugins.cflint.LintResult.<init>(LintResult.java:73) at org.jenkinsci.plugins.cflint.LintResult.<init>(LintResult.java:55) at org.jenkinsci.plugins.cflint.LintPublisher.perform(LintPublisher.java:139) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:68) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:259) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1784) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)
    via by ryan eberly,
  • sonarlint IllegalStateException: Fail to read file
    via by Michael Giroux,
    • java.io.FileNotFoundException: C:\Users\Me\git\CFLint-plugin\.\work\jobs\test\builds\2015-12-17_22-44-38\cflint-plugin-issues.xml (The system cannot find the file specified) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at hudson.XmlFile.read(XmlFile.java:140) at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:973) at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:957) at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1152) at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:108) at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:277) at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:221) at org.jenkinsci.plugins.cflint.LintResult.<init>(LintResult.java:73) at org.jenkinsci.plugins.cflint.LintResult.<init>(LintResult.java:55) at org.jenkinsci.plugins.cflint.LintPublisher.perform(LintPublisher.java:139) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:68) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:259) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1784) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)

    Users with the same issue

    jstrayer
    1 times, last one,
    jf-ast
    2 times, last one,
    carloscharx
    2 times, last one,
    arturgajowy
    1 times, last one,
    batwalrus76
    2 times, last one,
    187 more bugmates