hudson.util.IOException2

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.

  • When trying to run a job from the slave an error of 'Invalid DOS path' is returned. It looks like on the server the command is run from the current directory where on the slave the full directory is specified in the Get Latest Version call. As there are spaces in the directory name, it may just need to have quotes around the path in the generated command. Started by user anonymous Building remotely on XXXXXXX FATAL: com4j.ComException: 8004d845 (Unknown error) : Invalid DOS path: : .\invoke.cpp:447 hudson.util.IOException2: com4j.ComException: 8004d845 (Unknown error) : Invalid DOS path: : .\invoke.cpp:447 at scm.vss.VSSSCM.get(VSSSCM.java:524) at scm.vss.VSSSCM.checkout(VSSSCM.java:265) at hudson.model.AbstractProject.checkout(AbstractProject.java:809) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:923) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: com4j.ExecutionException: com4j.ComException: 8004d845 (Unknown error) : Invalid DOS path: : .\invoke.cpp:447 at com4j.ComThread.execute(ComThread.java:189) at com4j.Task.execute(Task.java:32) at com4j.Wrapper$InvocationThunk.invoke(Wrapper.java:242) at com4j.Wrapper.invoke(Wrapper.java:118) at $Proxy8.get(Unknown Source) at scm.vss.VSSSCM.get(VSSSCM.java:515) ... 8 more Caused by: com4j.ComException: 8004d845 (Unknown error) : Invalid DOS path: : .\invoke.cpp:447 at com4j.Native.invoke(Native Method) at com4j.StandardComMethod.invoke(StandardComMethod.java:95) at com4j.Wrapper$InvocationThunk.call(Wrapper.java:252) at com4j.Task.invoke(Task.java:44) at com4j.ComThread.run0(ComThread.java:149) at com4j.ComThread.run(ComThread.java:125)
    via by mburgess,
  • When trying to run a job from the slave an error of 'Invalid DOS path' is returned. It looks like on the server the command is run from the current directory where on the slave the full directory is specified in the Get Latest Version call. As there are spaces in the directory name, it may just need to have quotes around the path in the generated command. Started by user anonymous Building remotely on XXXXXXX FATAL: com4j.ComException: 8004d845 (Unknown error) : Invalid DOS path: : .\invoke.cpp:447 hudson.util.IOException2: com4j.ComException: 8004d845 (Unknown error) : Invalid DOS path: : .\invoke.cpp:447 at scm.vss.VSSSCM.get(VSSSCM.java:524) at scm.vss.VSSSCM.checkout(VSSSCM.java:265) at hudson.model.AbstractProject.checkout(AbstractProject.java:809) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:923) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: com4j.ExecutionException: com4j.ComException: 8004d845 (Unknown error) : Invalid DOS path: : .\invoke.cpp:447 at com4j.ComThread.execute(ComThread.java:189) at com4j.Task.execute(Task.java:32) at com4j.Wrapper$InvocationThunk.invoke(Wrapper.java:242) at com4j.Wrapper.invoke(Wrapper.java:118) at $Proxy8.get(Unknown Source) at scm.vss.VSSSCM.get(VSSSCM.java:515) ... 8 more Caused by: com4j.ComException: 8004d845 (Unknown error) : Invalid DOS path: : .\invoke.cpp:447 at com4j.Native.invoke(Native Method) at com4j.StandardComMethod.invoke(StandardComMethod.java:95) at com4j.Wrapper$InvocationThunk.call(Wrapper.java:252) at com4j.Task.invoke(Task.java:44) at com4j.ComThread.run0(ComThread.java:149) at com4j.ComThread.run(ComThread.java:125)
    via by mburgess,
  • COM4j unable to connect to HP Quality Center
    via Stack Overflow by Gaurav
    ,
    • hudson.util.IOException2: com4j.ComException: 8004d845 (Unknown error) : Invalid DOS path: : .\invoke.cpp:447 at scm.vss.VSSSCM.get(VSSSCM.java:524) at scm.vss.VSSSCM.checkout(VSSSCM.java:265) at hudson.model.AbstractProject.checkout(AbstractProject.java:809) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:923) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: com4j.ExecutionException: com4j.ComException: 8004d845 (Unknown error) : Invalid DOS path: : .\invoke.cpp:447 at com4j.ComThread.execute(ComThread.java:189) at com4j.Task.execute(Task.java:32) at com4j.Wrapper$InvocationThunk.invoke(Wrapper.java:242) at com4j.Wrapper.invoke(Wrapper.java:118) at $Proxy8.get(Unknown Source) at scm.vss.VSSSCM.get(VSSSCM.java:515) ... 8 more Caused by: com4j.ComException: 8004d845 (Unknown error) : Invalid DOS path: : .\invoke.cpp:447 at com4j.Native.invoke(Native Method) at com4j.StandardComMethod.invoke(StandardComMethod.java:95) at com4j.Wrapper$InvocationThunk.call(Wrapper.java:252) at com4j.Task.invoke(Task.java:44) at com4j.ComThread.run0(ComThread.java:149) at com4j.ComThread.run(ComThread.java:125)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    4 more bugmates