java.io.FileNotFoundException: /local/bamboo/.hudson/jobs/MYJOB/cobertura/com/foo/dec/framework/dataAccessServices (Is a directory)

jenkins-ci.org | 3 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

    Cobertura Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 3 months ago
    java.io.FileNotFoundException: /local/bamboo/.hudson/jobs/MYJOB/cobertura/com/foo/dec/framework/dataAccessServices (Is a directory)
  2. 0

    I'm running Cobertura on a C++ project using a coverage.xml file generated by gcovr. After the plugin has run all the source files have been erased (the files are still present in the source tree but they have no contents). To check that it was Cobertura plugin that was causing this I write-protected one of the files (atlas_wrapper.cc) before running the Jenkins build. The following is the error from the Jenkins log file... Publishing Cobertura coverage report... Publishing Cobertura coverage results... ERROR: ERROR: Failure to paint ./var/lib/jenkins/jobs/atlas/workspace/atlas/src/Wrapper/atlas_wrapper.cc to /var/lib/jenkins/jobs/atlas/cobertura java.io.FileNotFoundException: /var/lib/jenkins/jobs/atlas/workspace/atlas/src/Wrapper/atlas_wrapper.cc (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:209) at java.io.FileOutputStream.<init>(FileOutputStream.java:160) at hudson.FilePath.write(FilePath.java:1474) at hudson.plugins.cobertura.renderers.SourceCodePainter.paintSourceCode(SourceCodePainter.java:62) at hudson.plugins.cobertura.renderers.SourceCodePainter.invoke(SourceCodePainter.java:148) at hudson.plugins.cobertura.renderers.SourceCodePainter.invoke(SourceCodePainter.java:34) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:310) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1513) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Publishing Doxygen HTML results. The determined Doxygen directory is '/var/lib/jenkins/jobs/atlas/workspace/bld/doc/html'. End publishing Doxygen HTML results. Recording test results Here "/var/lib/jenkins/jobs/atlas/workspace/atlas" is the source tree from the subversion checkout. The coverage.xml file is a soft-link from /var/lib/jenkins/jobs/atlas/workspace/atlas/coverage.xml -> /var/lib/jenkins/jobs/atlas/workspace/bld/results/coverage.xml The build tree workspace/bld is separate from the source tree (if that matters).

    Jenkins JIRA | 5 years ago | Tony Hart
    java.io.FileNotFoundException: /var/lib/jenkins/jobs/atlas/workspace/atlas/src/Wrapper/atlas_wrapper.cc (Permission denied)
  3. 0

    I'm running Cobertura on a C++ project using a coverage.xml file generated by gcovr. After the plugin has run all the source files have been erased (the files are still present in the source tree but they have no contents). To check that it was Cobertura plugin that was causing this I write-protected one of the files (atlas_wrapper.cc) before running the Jenkins build. The following is the error from the Jenkins log file... Publishing Cobertura coverage report... Publishing Cobertura coverage results... ERROR: ERROR: Failure to paint ./var/lib/jenkins/jobs/atlas/workspace/atlas/src/Wrapper/atlas_wrapper.cc to /var/lib/jenkins/jobs/atlas/cobertura java.io.FileNotFoundException: /var/lib/jenkins/jobs/atlas/workspace/atlas/src/Wrapper/atlas_wrapper.cc (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:209) at java.io.FileOutputStream.<init>(FileOutputStream.java:160) at hudson.FilePath.write(FilePath.java:1474) at hudson.plugins.cobertura.renderers.SourceCodePainter.paintSourceCode(SourceCodePainter.java:62) at hudson.plugins.cobertura.renderers.SourceCodePainter.invoke(SourceCodePainter.java:148) at hudson.plugins.cobertura.renderers.SourceCodePainter.invoke(SourceCodePainter.java:34) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:310) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1513) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Publishing Doxygen HTML results. The determined Doxygen directory is '/var/lib/jenkins/jobs/atlas/workspace/bld/doc/html'. End publishing Doxygen HTML results. Recording test results Here "/var/lib/jenkins/jobs/atlas/workspace/atlas" is the source tree from the subversion checkout. The coverage.xml file is a soft-link from /var/lib/jenkins/jobs/atlas/workspace/atlas/coverage.xml -> /var/lib/jenkins/jobs/atlas/workspace/bld/results/coverage.xml The build tree workspace/bld is separate from the source tree (if that matters).

    Jenkins JIRA | 5 years ago | Tony Hart
    java.io.FileNotFoundException: /var/lib/jenkins/jobs/atlas/workspace/atlas/src/Wrapper/atlas_wrapper.cc (Permission denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins dev - Violations plugin giving FileNotFoundException

    nabble.com | 11 months ago
    java.io.FileNotFoundException: c:\hudson_home\jobs\FooProduct\builds\2007-10-09_13-16-12\violations\file\:\data\FooProduct\source\java\com\foo\Bar.java.xml (The filename, directory name, or volume label syntax is incorrect)
  6. 0

    Jenkins: Copy artifacts from another project (Access is denied error)

    Stack Overflow | 2 years ago | JustAnotherDev
    hudson.util.IOException2: Failed to copy C:\Jenkins\jobs\JenkinsTestDev\builds\2014-11-25_16-02- 39\archive\JenkinsTest.sln to C:\Jenkins\jobs\JenkinsTestSTAGING\workspace\JenkinsTest.sln
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /local/bamboo/.hudson/jobs/MYJOB/cobertura/com/foo/dec/framework/dataAccessServices (Is a directory)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    3 frames
  3. Hudson
    FilePath.write
    1. hudson.FilePath.write(FilePath.java:600)
    1 frame
  4. hudson.plugins.cobertura
    SourceCodePainter.invoke
    1. hudson.plugins.cobertura.renderers.SourceCodePainter.paintSourceCode(SourceCodePainter.java:48)
    2. hudson.plugins.cobertura.renderers.SourceCodePainter.invoke(SourceCodePainter.java:127)
    3. hudson.plugins.cobertura.renderers.SourceCodePainter.invoke(SourceCodePainter.java:28)
    3 frames
  5. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:280)
    1 frame
  6. hudson.plugins.cobertura
    CoberturaPublisher.perform
    1. hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:250)
    1 frame
  7. Hudson
    Executor.run
    1. hudson.model.Build$RunnerImpl.post2(Build.java:138)
    2. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:244)
    3. hudson.model.Run.run(Run.java:597)
    4. hudson.model.Build.run(Build.java:103)
    5. hudson.model.ResourceController.execute(ResourceController.java:66)
    6. hudson.model.Executor.run(Executor.java:62)
    6 frames