java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.ant.Location

Stack Overflow | nazar_art | 4 months ago
  1. 0

    Failed to archive artifacts: Could not initialize class org.apache.tools.ant.Location at Jenkins job

    Stack Overflow | 4 months ago | nazar_art
    java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.ant.Location
  2. 0

    xUnit plugin fails on fedora16 jenkins slave

    Google Groups | 5 years ago | Eyal Edri
    hudson.util.IOException2: remote file operation failed: /mnt/iscsi/workspaces/job_name at hudson.remoting.Channel@4544da28:f16-vm01
  3. 0

    When running xunit latest version on fedora 16 jenkins slave, (parsing sample.xml with the attached xsl file) get the following error: [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing Custom Tool [xUnit] [WARNING] - Can't create the path /mnt/iscsi/workspaces/job_name/generatedJUnitFiles. Maybe the directory already exists. ERROR: Publisher com.thalesgroup.hudson.plugins.xunit.XUnitPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: /mnt/iscsi/workspaces/job_name at hudson.remoting.Channel@4544da28:f16-vm01 at hudson.FilePath.act(FilePath.java:779) at hudson.FilePath.act(FilePath.java:765) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:171) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:124) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.IOException: Remote call on f16-vm01 failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:772) ... 14 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.ant.Location at org.apache.tools.ant.ProjectComponent.<init>(ProjectComponent.java:43) at org.apache.tools.ant.types.DataType.<init>(DataType.java:40) at org.apache.tools.ant.types.AbstractFileSet.<init>(AbstractFileSet.java:82) at org.apache.tools.ant.types.FileSet.<init>(FileSet.java:36) at hudson.Util.createFileSet(Util.java:973) at hudson.Util.createFileSet(Util.java:995) at com.thalesgroup.hudson.plugins.xunit.service.XUnitReportProcessorService.findReports(XUnitReportProcessorService.java:70) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:85) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2030) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 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:679) Finished: FAILURE Running the same files on rhel 6.2 host works.

    Jenkins JIRA | 5 years ago | Eyal Edri
    hudson.util.IOException2: remote file operation failed: /mnt/iscsi/workspaces/job_name at hudson.remoting.Channel@4544da28:f16-vm01
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When running xunit latest version on fedora 16 jenkins slave, (parsing sample.xml with the attached xsl file) get the following error: [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing Custom Tool [xUnit] [WARNING] - Can't create the path /mnt/iscsi/workspaces/job_name/generatedJUnitFiles. Maybe the directory already exists. ERROR: Publisher com.thalesgroup.hudson.plugins.xunit.XUnitPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: /mnt/iscsi/workspaces/job_name at hudson.remoting.Channel@4544da28:f16-vm01 at hudson.FilePath.act(FilePath.java:779) at hudson.FilePath.act(FilePath.java:765) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:171) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:124) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.IOException: Remote call on f16-vm01 failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:772) ... 14 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.ant.Location at org.apache.tools.ant.ProjectComponent.<init>(ProjectComponent.java:43) at org.apache.tools.ant.types.DataType.<init>(DataType.java:40) at org.apache.tools.ant.types.AbstractFileSet.<init>(AbstractFileSet.java:82) at org.apache.tools.ant.types.FileSet.<init>(FileSet.java:36) at hudson.Util.createFileSet(Util.java:973) at hudson.Util.createFileSet(Util.java:995) at com.thalesgroup.hudson.plugins.xunit.service.XUnitReportProcessorService.findReports(XUnitReportProcessorService.java:70) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:85) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2030) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 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:679) Finished: FAILURE Running the same files on rhel 6.2 host works.

    Jenkins JIRA | 5 years ago | Eyal Edri
    hudson.util.IOException2: remote file operation failed: /mnt/iscsi/workspaces/job_name at hudson.remoting.Channel@4544da28:f16-vm01
  6. 0

    After upgrading to Jenkins 1.550 this morning, projects are failing when archiving artifacts. Archiving artifacts ERROR: Failed to archive artifacts: package/*.tar.gz java.io.IOException: remote file operation failed: /home/jenkins-builds/workspace/Build-RocketX-Driver-Linux at hudson.remoting.Channel@496d864e:Elysium at hudson.FilePath.act(FilePath.java:910) at hudson.FilePath.act(FilePath.java:887) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:138) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:784) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:756) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) at hudson.model.Run.execute(Run.java:1695) at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:73) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.io.IOException: Remote call on Elysium failed at hudson.remoting.Channel.call(Channel.java:731) at hudson.FilePath.act(FilePath.java:903) ... 11 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.ant.Location at org.apache.tools.ant.ProjectComponent.<init>(ProjectComponent.java:43) at org.apache.tools.ant.types.DataType.<init>(DataType.java:40) at org.apache.tools.ant.types.AbstractFileSet.<init>(AbstractFileSet.java:82) at org.apache.tools.ant.types.FileSet.<init>(FileSet.java:36) at hudson.Util.createFileSet(Util.java:1025) at hudson.tasks.ArtifactArchiver$ListFiles.invoke(ArtifactArchiver.java:181) at hudson.tasks.ArtifactArchiver$ListFiles.invoke(ArtifactArchiver.java:172) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2461) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) 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:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701)

    Jenkins JIRA | 3 years ago | Grant Limberg
    java.io.IOException: remote file operation failed: /home/jenkins-builds/workspace/Build-RocketX-Driver-Linux at hudson.remoting.Channel@496d864e:Elysium

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

      Could not initialize class org.apache.tools.ant.Location

      at org.apache.tools.ant.ProjectComponent.<init>()
    2. Ant
      FileSet.<init>
      1. org.apache.tools.ant.ProjectComponent.<init>(ProjectComponent.java:43)
      2. org.apache.tools.ant.types.DataType.<init>(DataType.java:40)
      3. org.apache.tools.ant.types.AbstractFileSet.<init>(AbstractFileSet.java:82)
      4. org.apache.tools.ant.types.FileSet.<init>(FileSet.java:36)
      4 frames
    3. Hudson
      Util.createFileSet
      1. hudson.Util.createFileSet(Util.java:1077)
      1 frame