java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper

Jenkins JIRA | Aviv Yam | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    This is critical, since those artifacts will be deleted after the job is finished. {code} 2014-10-10 16:22:32 ERROR: Failed to archive artifacts: *.tar.gz 2014-10-10 16:22:32 java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) 2014-10-10 16:22:32 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) 2014-10-10 16:22:32 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:183) 2014-10-10 16:22:32 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) 2014-10-10 16:22:32 at hudson.model.Build$BuildExecution.post2(Build.java:183) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) 2014-10-10 16:22:32 at hudson.model.Run.execute(Run.java:1757) 2014-10-10 16:22:32 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 2014-10-10 16:22:32 at hudson.model.ResourceController.execute(ResourceController.java:88) 2014-10-10 16:22:32 at hudson.model.Executor.run(Executor.java:234) 2014-10-10 16:22:32 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at hudson.remoting.Channel$3.adapt(Channel.java:772) 2014-10-10 16:22:32 at hudson.remoting.Channel$3.adapt(Channel.java:767) 2014-10-10 16:22:32 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 2014-10-10 16:22:32 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) 2014-10-10 16:22:32 ... 11 more 2014-10-10 16:22:32 Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) 2014-10-10 16:22:32 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91) 2014-10-10 16:22:32 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) 2014-10-10 16:22:32 at hudson.util.IOUtils.mode(IOUtils.java:128) 2014-10-10 16:22:32 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) 2014-10-10 16:22:32 at hudson.util.DirScanner.scanSingle(DirScanner.java:49) 2014-10-10 16:22:32 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571) 2014-10-10 16:22:32 at hudson.FilePath.writeToTar(FilePath.java:2083) 2014-10-10 16:22:32 at hudson.FilePath.access$1000(FilePath.java:180) 2014-10-10 16:22:32 at hudson.FilePath$41.invoke(FilePath.java:2024) 2014-10-10 16:22:32 at hudson.FilePath$41.invoke(FilePath.java:2020) 2014-10-10 16:22:32 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 2014-10-10 16:22:32 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 2014-10-10 16:22:32 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 2014-10-10 16:22:32 at hudson.remoting.Request$2.run(Request.java:328) 2014-10-10 16:22:32 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 2014-10-10 16:22:32 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 2014-10-10 16:22:32 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 2014-10-10 16:22:32 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 2014-10-10 16:22:32 at java.lang.Thread.run(Thread.java:744) 2014-10-10 16:22:32 Sending e-mails to: aviv.yamsimhay@emc.com 2014-10-10 16:22:37 Finished: FAILURE {code}

    Jenkins JIRA | 2 years ago | Aviv Yam
    java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
  2. 0

    This is critical, since those artifacts will be deleted after the job is finished. {code} 2014-10-10 16:22:32 ERROR: Failed to archive artifacts: *.tar.gz 2014-10-10 16:22:32 java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) 2014-10-10 16:22:32 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) 2014-10-10 16:22:32 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:183) 2014-10-10 16:22:32 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) 2014-10-10 16:22:32 at hudson.model.Build$BuildExecution.post2(Build.java:183) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) 2014-10-10 16:22:32 at hudson.model.Run.execute(Run.java:1757) 2014-10-10 16:22:32 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 2014-10-10 16:22:32 at hudson.model.ResourceController.execute(ResourceController.java:88) 2014-10-10 16:22:32 at hudson.model.Executor.run(Executor.java:234) 2014-10-10 16:22:32 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at hudson.remoting.Channel$3.adapt(Channel.java:772) 2014-10-10 16:22:32 at hudson.remoting.Channel$3.adapt(Channel.java:767) 2014-10-10 16:22:32 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 2014-10-10 16:22:32 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) 2014-10-10 16:22:32 ... 11 more 2014-10-10 16:22:32 Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) 2014-10-10 16:22:32 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91) 2014-10-10 16:22:32 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) 2014-10-10 16:22:32 at hudson.util.IOUtils.mode(IOUtils.java:128) 2014-10-10 16:22:32 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) 2014-10-10 16:22:32 at hudson.util.DirScanner.scanSingle(DirScanner.java:49) 2014-10-10 16:22:32 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571) 2014-10-10 16:22:32 at hudson.FilePath.writeToTar(FilePath.java:2083) 2014-10-10 16:22:32 at hudson.FilePath.access$1000(FilePath.java:180) 2014-10-10 16:22:32 at hudson.FilePath$41.invoke(FilePath.java:2024) 2014-10-10 16:22:32 at hudson.FilePath$41.invoke(FilePath.java:2020) 2014-10-10 16:22:32 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 2014-10-10 16:22:32 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 2014-10-10 16:22:32 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 2014-10-10 16:22:32 at hudson.remoting.Request$2.run(Request.java:328) 2014-10-10 16:22:32 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 2014-10-10 16:22:32 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 2014-10-10 16:22:32 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 2014-10-10 16:22:32 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 2014-10-10 16:22:32 at java.lang.Thread.run(Thread.java:744) 2014-10-10 16:22:32 Sending e-mails to: aviv.yamsimhay@emc.com 2014-10-10 16:22:37 Finished: FAILURE {code}

    Jenkins JIRA | 2 years ago | Aviv Yam
    java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class jnr.posix.JavaLibCHelper

      at jnr.posix.JavaPOSIX.<init>()
    2. JRuby Main Maven Artifact
      LazyPOSIX.stat
      1. jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31)
      2. jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91)
      3. jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57)
      4. jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33)
      5. jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29)
      6. jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267)
      6 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.util.IOUtils.mode(IOUtils.java:128)
      2. hudson.util.io.TarArchiver.visit(TarArchiver.java:101)
      3. hudson.util.DirScanner.scanSingle(DirScanner.java:49)
      4. hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571)
      5. hudson.FilePath.writeToTar(FilePath.java:2083)
      6. hudson.FilePath.access$1000(FilePath.java:180)
      7. hudson.FilePath$41.invoke(FilePath.java:2024)
      8. hudson.FilePath$41.invoke(FilePath.java:2020)
      9. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492)
      9 frames
    4. 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:328)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:744)
      4 frames