java.io.IOException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7216

  • via Jenkins JIRA by Aviv Yam, 1 year ago
    java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
  • via Jenkins JIRA by Aviv Yam, 9 months ago
    java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
  • java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.ant.Location
  • Stack trace

    • java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:183) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) at hudson.model.Run.execute(Run.java:1757) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper at hudson.remoting.Channel$3.adapt(Channel.java:772) at hudson.remoting.Channel$3.adapt(Channel.java:767) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) ... 11 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91) at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) at hudson.util.IOUtils.mode(IOUtils.java:128) at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) at hudson.util.DirScanner.scanSingle(DirScanner.java:49) at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571) at hudson.FilePath.writeToTar(FilePath.java:2083) at hudson.FilePath.access$1000(FilePath.java:180) at hudson.FilePath$41.invoke(FilePath.java:2024) at hudson.FilePath$41.invoke(FilePath.java:2020) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 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.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.