hudson.util.IOException2: java.lang.UnsupportedOperationException

Jenkins JIRA | lars Nordin | 4 years ago
  1. 0

    Doxygen publish fails because of java exception

    Google Groups | 4 years ago | Lars Nordin
    hudson.util.IOException2: java.lang.UnsupportedOperationException
  2. 0

    Transitioning job from system with older version of Jenkins to newer version of Jenkins; build slave is the same. Get the following error when trying to run the job on newer Jenkins: Publishing Doxygen HTML results. The determined Doxygen directory is '/usr/drbuild/workspace/product/build/html'. FATAL: error hudson.util.IOException2: java.lang.UnsupportedOperationException at hudson.FilePath.copyRecursiveTo(FilePath.java:1784) at hudson.FilePath.copyRecursiveTo(FilePath.java:1676) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:231) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:685) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:632) at hudson.model.Run.run(Run.java:1463) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) Caused by: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException at hudson.remoting.Channel$4.adapt(Channel.java:696) at hudson.remoting.Channel$4.adapt(Channel.java:691) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1782) ... 12 more Caused by: java.lang.UnsupportedOperationException at hudson.os.PosixAPI$1.getCurrentWorkingDirectory(PosixAPI.java:59) at org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:59) at org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51) at org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:196) at org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:160) at hudson.Util.resolveSymlink(Util.java:1067) at hudson.Util.resolveSymlink(Util.java:1030) at hudson.util.DirScanner$Glob.scan(DirScanner.java:115) at hudson.FilePath.writeToTar(FilePath.java:1820) at hudson.FilePath.access$1000(FilePath.java:166) at hudson.FilePath$36.invoke(FilePath.java:1761) at hudson.FilePath$36.invoke(FilePath.java:1758) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2193) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Build step 'Publish Doxygen' changed build result to FAILURE

    Jenkins JIRA | 4 years ago | lars Nordin
    hudson.util.IOException2: java.lang.UnsupportedOperationException
  3. 0

    Transitioning job from system with older version of Jenkins to newer version of Jenkins; build slave is the same. Get the following error when trying to run the job on newer Jenkins: Publishing Doxygen HTML results. The determined Doxygen directory is '/usr/drbuild/workspace/product/build/html'. FATAL: error hudson.util.IOException2: java.lang.UnsupportedOperationException at hudson.FilePath.copyRecursiveTo(FilePath.java:1784) at hudson.FilePath.copyRecursiveTo(FilePath.java:1676) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:231) at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:685) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:632) at hudson.model.Run.run(Run.java:1463) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) Caused by: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException at hudson.remoting.Channel$4.adapt(Channel.java:696) at hudson.remoting.Channel$4.adapt(Channel.java:691) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1782) ... 12 more Caused by: java.lang.UnsupportedOperationException at hudson.os.PosixAPI$1.getCurrentWorkingDirectory(PosixAPI.java:59) at org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:59) at org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51) at org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:196) at org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:160) at hudson.Util.resolveSymlink(Util.java:1067) at hudson.Util.resolveSymlink(Util.java:1030) at hudson.util.DirScanner$Glob.scan(DirScanner.java:115) at hudson.FilePath.writeToTar(FilePath.java:1820) at hudson.FilePath.access$1000(FilePath.java:166) at hudson.FilePath$36.invoke(FilePath.java:1761) at hudson.FilePath$36.invoke(FilePath.java:1758) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2193) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Build step 'Publish Doxygen' changed build result to FAILURE

    Jenkins JIRA | 4 years ago | lars Nordin
    hudson.util.IOException2: java.lang.UnsupportedOperationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-13241] Artifact archiving from remote slave fails - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    hudson.util.IOException2: java.lang.UnsupportedOperationException
  6. 0

    Jenkins issues - [JIRA] (JENKINS-13241) Artifact archiving from remote slave fails

    nabble.com | 7 months ago
    hudson.util.IOException2: java.lang.UnsupportedOperationException

    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.lang.UnsupportedOperationException

      No message provided

      at hudson.os.PosixAPI$1.getCurrentWorkingDirectory()
    2. Hudson
      PosixAPI$1.getCurrentWorkingDirectory
      1. hudson.os.PosixAPI$1.getCurrentWorkingDirectory(PosixAPI.java:59)
      1 frame
    3. JNA-POSIX
      JavaPOSIX.readlink
      1. org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:59)
      2. org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51)
      3. org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:196)
      4. org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:160)
      4 frames
    4. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.Util.resolveSymlink(Util.java:1067)
      2. hudson.Util.resolveSymlink(Util.java:1030)
      3. hudson.util.DirScanner$Glob.scan(DirScanner.java:115)
      4. hudson.FilePath.writeToTar(FilePath.java:1820)
      5. hudson.FilePath.access$1000(FilePath.java:166)
      6. hudson.FilePath$36.invoke(FilePath.java:1761)
      7. hudson.FilePath$36.invoke(FilePath.java:1758)
      8. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2193)
      8 frames
    5. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:326)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      5. java.lang.Thread.run(Thread.java:636)
      5 frames