java.io.IOException: remote file operation failed: C:\jenkins\workspace\... at hudson.remoting.Channel@1aa6333a:<NODE_NAME>: java.io.IOException:

Jenkins JIRA | Christopher Shannon | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    To reproduce, simply create an activity with a newline in the headline and trigger a build. When the plugin is comparing the new baseline to the previous one, an exception is thrown and the build fails: java.io.IOException: remote file operation failed: C:\jenkins\workspace\... at hudson.remoting.Channel@1aa6333a:<NODE_NAME>: java.io.IOException: at hudson.FilePath.act(FilePath.java:1014) at hudson.FilePath.act(FilePath.java:996) at net.praqma.hudson.scm.CCUCMScm.initializeWorkspace(CCUCMScm.java:549) at net.praqma.hudson.scm.CCUCMScm.checkout(CCUCMScm.java:339) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.IOException: at net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:125) at net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:33) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772) at hudson.FilePath$AbstractInterceptorCallableWrapper.call(FilePath.java:1059) at hudson.remoting.UserRequest.perform(UserRequest.java:152) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:332) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:85) at java.lang.Thread.run(Unknown Source) at ......remote call to <NODE_NAME>(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.UserResponse.retrieve(UserRequest.java:252) at hudson.remoting.Channel.call(Channel.java:781) at hudson.FilePath.act(FilePath.java:1007) ... 11 more Caused by: net.praqma.hudson.exception.UnableToInitializeWorkspaceException: Unable to initialize workspace at net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:125) at net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:33) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772) at hudson.FilePath$AbstractInterceptorCallableWrapper.call(FilePath.java:1059) at hudson.remoting.UserRequest.perform(UserRequest.java:152) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:332) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:85) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -39 at java.lang.String.substring(Unknown Source) at net.praqma.clearcase.ucm.entities.Activity.parseActivityStrings(Activity.java:155) at net.praqma.clearcase.ucm.entities.Version.getBaselineDiff(Version.java:857) at net.praqma.clearcase.ucm.entities.Version.getBaselineDiff(Version.java:829) at net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:116) ... 12 more Detailed logging shows that the last valid command was a "cleartool describe" command which produces text on two lines, where I'm sure that the parsing logic is expecting only one. While it is certainly uncommon for someone to put a newline in a headline, it is perfectly valid from a ClearCase point of view so this should be fixed.

    Jenkins JIRA | 10 months ago | Christopher Shannon
    java.io.IOException: remote file operation failed: C:\jenkins\workspace\... at hudson.remoting.Channel@1aa6333a:<NODE_NAME>: java.io.IOException:
  2. 0

    To reproduce, simply create an activity with a newline in the headline and trigger a build. When the plugin is comparing the new baseline to the previous one, an exception is thrown and the build fails: java.io.IOException: remote file operation failed: C:\jenkins\workspace\... at hudson.remoting.Channel@1aa6333a:<NODE_NAME>: java.io.IOException: at hudson.FilePath.act(FilePath.java:1014) at hudson.FilePath.act(FilePath.java:996) at net.praqma.hudson.scm.CCUCMScm.initializeWorkspace(CCUCMScm.java:549) at net.praqma.hudson.scm.CCUCMScm.checkout(CCUCMScm.java:339) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.IOException: at net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:125) at net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:33) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772) at hudson.FilePath$AbstractInterceptorCallableWrapper.call(FilePath.java:1059) at hudson.remoting.UserRequest.perform(UserRequest.java:152) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:332) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:85) at java.lang.Thread.run(Unknown Source) at ......remote call to <NODE_NAME>(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.UserResponse.retrieve(UserRequest.java:252) at hudson.remoting.Channel.call(Channel.java:781) at hudson.FilePath.act(FilePath.java:1007) ... 11 more Caused by: net.praqma.hudson.exception.UnableToInitializeWorkspaceException: Unable to initialize workspace at net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:125) at net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:33) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772) at hudson.FilePath$AbstractInterceptorCallableWrapper.call(FilePath.java:1059) at hudson.remoting.UserRequest.perform(UserRequest.java:152) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:332) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:85) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -39 at java.lang.String.substring(Unknown Source) at net.praqma.clearcase.ucm.entities.Activity.parseActivityStrings(Activity.java:155) at net.praqma.clearcase.ucm.entities.Version.getBaselineDiff(Version.java:857) at net.praqma.clearcase.ucm.entities.Version.getBaselineDiff(Version.java:829) at net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:116) ... 12 more Detailed logging shows that the last valid command was a "cleartool describe" command which produces text on two lines, where I'm sure that the parsing logic is expecting only one. While it is certainly uncommon for someone to put a newline in a headline, it is perfectly valid from a ClearCase point of view so this should be fixed.

    Jenkins JIRA | 10 months ago | Christopher Shannon
    java.io.IOException: remote file operation failed: C:\jenkins\workspace\... at hudson.remoting.Channel@1aa6333a:<NODE_NAME>: java.io.IOException:
  3. 0

    ADB Connection Error

    Stack Overflow | 4 years ago | Raveesh Lawrance
    java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(Unknown Source) at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) at sun.nio.ch.IOUtil.read(Unknown Source) at sun.nio.ch.SocketChannelImpl.read(Unknown Source) at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:395) at com.android.ddmlib.Device.executeShellCommand(Device.java:462) at com.android.ddmuilib.logcat.LogCatReceiver$1.run(LogCatReceiver.java:110)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalArgumentException: URI scheme is not "file"

    java-forums.org | 9 months ago
    java.io.IOException: Server returned HTTP response code: 403 for URL: at sun.net. at slideshowapplet.SlideshowApplet.doListofImagefiles (SlideshowApplet.java:461) at slideshowapplet.SlideshowApplet.init(SlideshowAppl et.java:180) at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Plugin2Manager.java:1658)
  6. 0

    java.lang.IllegalArgumentException: URI scheme is not "file"

    java-forums.org | 9 months ago
    java.io.IOException: Server returned HTTP response code: 403 for URL: at sun.net. at slideshowapplet.SlideshowApplet.doListofImagefiles (SlideshowApplet.java:484) at slideshowapplet.SlideshowApplet.init(SlideshowAppl et.java:182) at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Plugin2Manager.java:1658)

    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.IOException

      at net.praqma.hudson.remoting.CheckoutTask.invoke()
    2. net.praqma.hudson
      CheckoutTask.invoke
      1. net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:125)
      2. net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:33)
      2 frames
    3. Hudson
      FilePath$AbstractInterceptorCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772)
      2. hudson.FilePath$AbstractInterceptorCallableWrapper.call(FilePath.java:1059)
      2 frames
    4. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:152)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:50)
      3. hudson.remoting.Request$2.run(Request.java:332)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      4 frames
    5. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3 frames
    6. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:85)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame