Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8510

FATAL: Could not initialize class hudson.util.jna.GNUCLibrary when archiving artifacts from Windows JNLP Slave into Linux Server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • remoting
    • None

      After compiling a job in a Windows Slave, Compilation log shows that the compilation process (run by compilation script) success. But After this, when hudson tries to archive the project artifacts the following error occurs:

      Archiving artifacts
      FATAL: Could not initialize class hudson.util.jna.GNUCLibrary
      java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.GNUCLibrary
      at hudson.FilePath._chmod(FilePath.java:1098)
      at hudson.FilePath.readFromTar(FilePath.java:1597)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1519)
      at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560)
      at hudson.model.Build$RunnerImpl.post2(Build.java:156)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529)
      at hudson.model.Run.run(Run.java:1386)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)

      Last Hudson version that works is 1.389 and the compilation script has never changed

            Unassigned Unassigned
            thejohnny thejohnny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: