hudson.util.IOException2: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a) not found in resource path

Jenkins JIRA | Matthias Kraft | 6 years ago
  1. 0

    I intended to use the CopyArtifact plugin and split a build task so that I just checkout on the master and then copy the sources over to the build machines. This works for all JNA supported environments, e.g. Windows, Solaris, and Linux on ix86/x86_64, but fails with the stack trace below (taken from one of the AIXes) on all other machines... ERROR: Failed to copy artifacts from Local_WIR_Build with filter: ** hudson.util.IOException2: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a) not found in resource path at hudson.FilePath.copyRecursiveTo(FilePath.java:1474) at hudson.FilePath.copyRecursiveTo(FilePath.java:1399) at hudson.plugins.copyartifact.FilePathCopyMethod.init(FilePathCopyMethod.java:56) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:190) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:168) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) at hudson.model.Build$RunnerImpl.build(Build.java:172) at hudson.model.Build$RunnerImpl.doRun(Build.java:137) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417) at hudson.model.Run.run(Run.java:1325) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) Caused by: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a) not found in resource path at hudson.remoting.Channel$2.adapt(Channel.java:662) at hudson.remoting.Channel$2.adapt(Channel.java:657) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1472) ... 13 more Caused by: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a) not found in resource path at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:703) at com.sun.jna.Native.loadNativeLibrary(Native.java:680) at com.sun.jna.Native.<clinit>(Native.java:108) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:105) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at hudson.FilePath.readFromTar(FilePath.java:1570) at hudson.FilePath.access$100(FilePath.java:159) at hudson.FilePath$32.invoke(FilePath.java:1463) at hudson.FilePath$32.invoke(FilePath.java:1460) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:735)

    Jenkins JIRA | 6 years ago | Matthias Kraft
    hudson.util.IOException2: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a) not found in resource path
  2. 0

    I intended to use the CopyArtifact plugin and split a build task so that I just checkout on the master and then copy the sources over to the build machines. This works for all JNA supported environments, e.g. Windows, Solaris, and Linux on ix86/x86_64, but fails with the stack trace below (taken from one of the AIXes) on all other machines... ERROR: Failed to copy artifacts from Local_WIR_Build with filter: ** hudson.util.IOException2: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a) not found in resource path at hudson.FilePath.copyRecursiveTo(FilePath.java:1474) at hudson.FilePath.copyRecursiveTo(FilePath.java:1399) at hudson.plugins.copyartifact.FilePathCopyMethod.init(FilePathCopyMethod.java:56) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:190) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:168) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) at hudson.model.Build$RunnerImpl.build(Build.java:172) at hudson.model.Build$RunnerImpl.doRun(Build.java:137) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417) at hudson.model.Run.run(Run.java:1325) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) Caused by: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a) not found in resource path at hudson.remoting.Channel$2.adapt(Channel.java:662) at hudson.remoting.Channel$2.adapt(Channel.java:657) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1472) ... 13 more Caused by: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a) not found in resource path at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:703) at com.sun.jna.Native.loadNativeLibrary(Native.java:680) at com.sun.jna.Native.<clinit>(Native.java:108) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:105) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at hudson.FilePath.readFromTar(FilePath.java:1570) at hudson.FilePath.access$100(FilePath.java:159) at hudson.FilePath$32.invoke(FilePath.java:1463) at hudson.FilePath$32.invoke(FilePath.java:1460) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:735)

    Jenkins JIRA | 6 years ago | Matthias Kraft
    hudson.util.IOException2: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a) not found in resource path
  3. 0

    spark-kernel can not run on ppc64 platform

    GitHub | 1 year ago | xq2005
    akka.actor.ActorInitializationException: exception during creation
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This occurs when build finishes and the archiver is activated in builds that runs in Slave node. # java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20070201 (SR4)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20070201 (JIT enabled) J9VM - 20070131_11312_bHdSMR JIT - 20070109_1805ifx1_r8 GC - 200701_09) JCL - 20070126 LOG: ==== BUILD SUCCESSFUL Total time: 16 minutes 29 seconds FATAL: hudson.util.jna.GNUCLibrary (initialization failure) java.lang.NoClassDefFoundError: hudson.util.jna.GNUCLibrary (initialization failure) at java.lang.Throwable.<init>(Throwable.java:57) at java.lang.Throwable.<init>(Throwable.java:68) at java.lang.J9VMInternals.initialize(J9VMInternals.java:123) at hudson.FilePath.readFromTar(FilePath.java:1165) at hudson.FilePath.copyRecursiveTo(FilePath.java:1071) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:103) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java :372) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java :360) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345) at hudson.model.Run.run(Run.java:915) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: java.lang.Throwable: java.lang.NoClassDefFoundError: com.sun.jna.Native (initialization failure) at java.lang.J9VMInternals.initialize(J9VMInternals.java:123) at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:81) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:177) ... 11 more Caused by: java.lang.Throwable: java.lang.Throwable: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix- ppc/libjnidispatch.a) not found in resource path at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:568) at com.sun.jna.Native.loadNativeLibrary(Native.java:550) at com.sun.jna.Native.<clinit>(Native.java:87) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:177) at com.sun.jna.Pointer.<clinit>(Pointer.java:40) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:177) at java.lang.J9VMInternals.initialize(J9VMInternals.java:144) at org.tmatesoft.svn.core.internal.util.jna.SVNLinuxUtil.<clinit>(SVNLinuxUtil.java :35) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:177) at org.tmatesoft.svn.core.internal.util.jna.SVNJNAUtil.isExecutable(SVNJNAUtil.java :75) at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.isExecutable(SVNFileUtil.java:107 1) at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.copyFile(SVNFileUtil.java:549) at org.tmatesoft.svn.core.internal.wc.admin.SVNTranslator.translate(SVNTranslator.j ava:151) at org.tmatesoft.svn.core.internal.wc.admin.SVNTranslator.translate(SVNTranslator.j ava:123) at org.tmatesoft.svn.core.internal.wc.admin.SVNTranslator.translate(SVNTranslator.j ava:81) at org.tmatesoft.svn.core.internal.wc.admin.SVNLogRunner.runCommand(SVNLogRunner.ja va:318) at org.tmatesoft.svn.core.internal.wc.admin.SVNLog.run(SVNLog.java:221) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea.runLogs(SVNAdminArea.java: 560) at org.tmatesoft.svn.core.internal.wc.SVNUpdateEditor$SVNDirectoryInfo.runLogs(SVNU pdateEditor.java:1550) at org.tmatesoft.svn.core.internal.wc.SVNUpdateEditor.closeDir(SVNUpdateEditor.java :504) at org.tmatesoft.svn.core.internal.wc.SVNCancellableEditor.closeDir(SVNCancellableE ditor.java:101) at org.tmatesoft.svn.core.internal.io.svn.SVNEditModeReader.processCommand(SVNEditM odeReader.java:133) at org.tmatesoft.svn.core.internal.io.svn.SVNEditModeReader.driveEditor(SVNEditMode Reader.java:214) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepositoryImp l.java:1485) at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:449) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:851) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:728) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:546) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:476) at hudson.FilePath.act(FilePath.java:515) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:469) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:418) at hudson.model.AbstractProject.checkout(AbstractProject.java:805) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:895) ... 3 more

    Jenkins JIRA | 8 years ago | berahac
    java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix- ppc/libjnidispatch.a) not found in resource path

  1. gehel 13 times, last 8 months ago
22 unregistered visitors
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.UnsatisfiedLinkError

    jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a) not found in resource path

    at com.sun.jna.Native.loadNativeLibraryFromJar()
  2. Java Native Access
    Native.<clinit>
    1. com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:703)
    2. com.sun.jna.Native.loadNativeLibrary(Native.java:680)
    3. com.sun.jna.Native.<clinit>(Native.java:108)
    3 frames
  3. Java RT
    J9VMInternals.initialize
    1. java.lang.J9VMInternals.initializeImpl(Native Method)
    2. java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    2 frames
  4. hudson.util.jna
    GNUCLibrary.<clinit>
    1. hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:105)
    1 frame
  5. Java RT
    J9VMInternals.initialize
    1. java.lang.J9VMInternals.initializeImpl(Native Method)
    2. java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    2 frames
  6. Hudson
    FilePath$FileCallableWrapper.call
    1. hudson.FilePath.readFromTar(FilePath.java:1570)
    2. hudson.FilePath.access$100(FilePath.java:159)
    3. hudson.FilePath$32.invoke(FilePath.java:1463)
    4. hudson.FilePath$32.invoke(FilePath.java:1460)
    5. hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899)
    5 frames
  7. Hudson :: Remoting Layer
    Request$2.run
    1. hudson.remoting.UserRequest.perform(UserRequest.java:114)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:270)
    3 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:149)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    6. java.lang.Thread.run(Thread.java:735)
    6 frames