java.io.IOException: Failed to copy C:\Windows\TEMP\cuke_7445626561105425964.embed to c:\foopath\jenkins\jobs\foo_job\builds\2016-01-25_12-43-38\cucumber\embed\foo-feature-name\foo-scenario-name->-10-days;;2\cuke_7445626561105425964.embed

Jenkins JIRA | Ilya Kozhevnikov | 1 year 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

    When scenario name contains 'less than' (<) or 'greater than' (>) character and a file (a sceenshot with sanitized (\W to _) path) is embedded into a json report, the plugin throws FileNotFoundException when trying to parse such json report with embedded file. {code:java} Archiving artifacts [Cucumber Tests] Parsing results. [Cucumber Tests] parsing salai.test.merlin.json ERROR: Failed to archive cucumber reports java.io.IOException: Failed to copy C:\Windows\TEMP\cuke_7445626561105425964.embed to c:\foopath\jenkins\jobs\foo_job\builds\2016-01-25_12-43-38\cucumber\embed\foo-feature-name\foo-scenario-name->-10-days;;2\cuke_7445626561105425964.embed at hudson.FilePath.copyTo(FilePath.java:1978) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform(CucumberTestResultArchiver.java:136) 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) Caused by: java.io.FileNotFoundException: c:\foopath\jenkins\jobs\foo_job\builds\2016-01-25_12-43-38\cucumber\embed\foo-feature-name\foo-scenario-name->-10-days;;2\cuke_7445626561105425964.embed (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:162) at hudson.FilePath.write(FilePath.java:1867) at hudson.FilePath.copyTo(FilePath.java:1971) ... 10 more {code}

    Jenkins JIRA | 1 year ago | Ilya Kozhevnikov
    java.io.IOException: Failed to copy C:\Windows\TEMP\cuke_7445626561105425964.embed to c:\foopath\jenkins\jobs\foo_job\builds\2016-01-25_12-43-38\cucumber\embed\foo-feature-name\foo-scenario-name->-10-days;;2\cuke_7445626561105425964.embed
  2. 0

    When scenario name contains 'less than' (<) or 'greater than' (>) character and a file (a sceenshot with sanitized (\W to _) path) is embedded into a json report, the plugin throws FileNotFoundException when trying to parse such json report with embedded file. {code:java} Archiving artifacts [Cucumber Tests] Parsing results. [Cucumber Tests] parsing salai.test.merlin.json ERROR: Failed to archive cucumber reports java.io.IOException: Failed to copy C:\Windows\TEMP\cuke_7445626561105425964.embed to c:\foopath\jenkins\jobs\foo_job\builds\2016-01-25_12-43-38\cucumber\embed\foo-feature-name\foo-scenario-name->-10-days;;2\cuke_7445626561105425964.embed at hudson.FilePath.copyTo(FilePath.java:1978) at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform(CucumberTestResultArchiver.java:136) 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) Caused by: java.io.FileNotFoundException: c:\foopath\jenkins\jobs\foo_job\builds\2016-01-25_12-43-38\cucumber\embed\foo-feature-name\foo-scenario-name->-10-days;;2\cuke_7445626561105425964.embed (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:162) at hudson.FilePath.write(FilePath.java:1867) at hudson.FilePath.copyTo(FilePath.java:1971) ... 10 more {code}

    Jenkins JIRA | 1 year ago | Ilya Kozhevnikov
    java.io.IOException: Failed to copy C:\Windows\TEMP\cuke_7445626561105425964.embed to c:\foopath\jenkins\jobs\foo_job\builds\2016-01-25_12-43-38\cucumber\embed\foo-feature-name\foo-scenario-name->-10-days;;2\cuke_7445626561105425964.embed
  3. 0

    [Play 2.3.x] - FileNotFoundException/No application found at invoker init

    Google Groups | 2 years ago | Johan Dahlberg
    play.PlayExceptions$UnexpectedException: Unexpected exception[FileNotFoundExcept ion: /home/vagrant/AccessWeb/target/web/classes/main/META-INF/resources/webjars/ mobitecaccessweb/1.20.2-SNAPSHOT/javascripts/checkboxtree-0.5.2/library/jquery-u i-1.8.12.custom/css/smoothness/images/ui-icons_454545_256x240.png (Operation not permitted)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Webapp redeploy fails with FileNotFoundException on Idea

    Stack Overflow | 2 years ago | Vovan
    java.io.FileNotFoundException: C:\Users\vovan_000\IdeaProjects\ThisIsWeb\build\classes\artifacts\ThisIsWeb\exploded\ThisIsWeb-1.0-SNAPSHOT.war\WEB-INF\classes\com\mywebapp\HelloWorldController.class (access denied)
  6. 0

    Deploy java web application with NetBeans and Tomcat

    Stack Overflow | 2 years ago | Overflow012
    java.io.FileNotFoundException: /usr/share/tomcat8/conf/Catalina/localhost/transactionsApp.xml (Permiso denegado)

  1. Adrien 12 times, last 3 weeks ago
  2. jpvee 1 times, last 1 month ago
  3. chenjunjun 1 times, last 1 month ago
  4. eti22 5 times, last 1 month ago
  5. jokester 1 times, last 2 months ago
26 more registered users
69 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

    c:\foopath\jenkins\jobs\foo_job\builds\2016-01-25_12-43-38\cucumber\embed\foo-feature-name\foo-scenario-name->-10-days;;2\cuke_7445626561105425964.embed (The filename, directory name, or volume label syntax is incorrect)

    at java.io.FileOutputStream.open0()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open0(Native Method)
    2. java.io.FileOutputStream.open(FileOutputStream.java:270)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:213)
    4. java.io.FileOutputStream.<init>(FileOutputStream.java:162)
    4 frames
  3. Hudson
    FilePath.copyTo
    1. hudson.FilePath.write(FilePath.java:1867)
    2. hudson.FilePath.copyTo(FilePath.java:1971)
    2 frames
  4. org.jenkinsci.plugins
    CucumberTestResultArchiver.perform
    1. org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform(CucumberTestResultArchiver.java:136)
    1 frame
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
    4. hudson.model.Build$BuildExecution.post2(Build.java:183)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
    6. hudson.model.Run.execute(Run.java:1784)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:89)
    9. hudson.model.Executor.run(Executor.java:240)
    9 frames