java.io.FileNotFoundException: "symlink source" (No such file or directory)

Jenkins JIRA | Greg Moncreaff | 5 years ago
  1. 0

    [#JENKINS-10626] Task scanner dies on bad symlink (unhandled java.io.FileNotFoundException) - Jenkins JIRA

    jenkins-ci.org | 2 years ago
    java.io.FileNotFoundException: "symlink source" (No such file or directory)
  2. 0

    If a file in the workspace is a symlink whose target path isn't retrievable (say its absolute and isn't completely contained (relatively) in the workspace, then the task scanner plugin dies. [TASKS] Scanning workspace files for tasks... ERROR: Publisher hudson.plugins.tasks.TasksPublisher aborted due to exception java.io.FileNotFoundException: "symlink source" (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at hudson.FilePath.read(FilePath.java:1250) at hudson.plugins.tasks.parser.WorkspaceScanner.invoke(WorkspaceScanner.java:140) at hudson.plugins.tasks.parser.WorkspaceScanner.invoke(WorkspaceScanner.java:26) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:206) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:310) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) [ClearCase] Restored the original build steps. Finished: FAILURE Suggest Tasks Plugin just log something non fatal to console and continue in such circumstances.

    Jenkins JIRA | 5 years ago | Greg Moncreaff
    java.io.FileNotFoundException: "symlink source" (No such file or directory)
  3. 0

    If a file in the workspace is a symlink whose target path isn't retrievable (say its absolute and isn't completely contained (relatively) in the workspace, then the task scanner plugin dies. [TASKS] Scanning workspace files for tasks... ERROR: Publisher hudson.plugins.tasks.TasksPublisher aborted due to exception java.io.FileNotFoundException: "symlink source" (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at hudson.FilePath.read(FilePath.java:1250) at hudson.plugins.tasks.parser.WorkspaceScanner.invoke(WorkspaceScanner.java:140) at hudson.plugins.tasks.parser.WorkspaceScanner.invoke(WorkspaceScanner.java:26) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:206) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:310) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) [ClearCase] Restored the original build steps. Finished: FAILURE Suggest Tasks Plugin just log something non fatal to console and continue in such circumstances.

    Jenkins JIRA | 5 years ago | Greg Moncreaff
    java.io.FileNotFoundException: "symlink source" (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins Build Jobs Issue: When building jobs pom should be copied to workspace in different pass

    Stack Overflow | 3 years ago | Peter
    java.io.FileNotFoundException: /var/lib/jenkins/jobs/NXP C++ Development Linux 64bit Utilities/workspace/home/workspaces/cpp/NXP/Utilities/pom.xml (No such file or directory)
  6. 0

    Jenkins workflow - filenotfound for workspace file

    Stack Overflow | 9 months ago | Dean
    java.io.FileNotFoundException: /var/lib/jenkins/jobs/MBTest/branches/develop/workspace/functional-tests/target/scalatestcuke-F63QUALZN4.json (No such file or directory)

  1. r1chjames 1 times, last 6 days ago
  2. richard77 1 times, last 2 weeks ago
  3. gehel 2 times, last 2 weeks ago
  4. Kialandei 100 times, last 2 weeks ago
  5. Reich 1 times, last 3 weeks ago
45 more registered users
50 unregistered visitors
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

    "symlink source" (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:137)
    2 frames
  3. Hudson
    FilePath.read
    1. hudson.FilePath.read(FilePath.java:1250)
    1 frame
  4. hudson.plugins.tasks
    WorkspaceScanner.invoke
    1. hudson.plugins.tasks.parser.WorkspaceScanner.invoke(WorkspaceScanner.java:140)
    2. hudson.plugins.tasks.parser.WorkspaceScanner.invoke(WorkspaceScanner.java:26)
    2 frames
  5. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:758)
    2. hudson.FilePath.act(FilePath.java:740)
    2 frames
  6. hudson.plugins.tasks
    TasksPublisher.perform
    1. hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:206)
    1 frame
  7. Static Analysis Utilities
    HealthAwarePublisher.perform
    1. hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:310)
    1 frame
  8. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
    2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682)
    3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657)
    4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635)
    5. hudson.model.Build$RunnerImpl.post2(Build.java:161)
    6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604)
    7. hudson.model.Run.run(Run.java:1400)
    8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    9. hudson.model.ResourceController.execute(ResourceController.java:88)
    10. hudson.model.Executor.run(Executor.java:175)
    10 frames