java.lang.reflect.InvocationTargetException

Jenkins JIRA | Mir Sajjad Mehdi | 2 years ago
  1. 0

    Starting Jenkins Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at Main._main(Main.java:140) at Main.main(Main.java:98) Caused by: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-s390x/libjnidispatch.so) not found in resource path ([file:/tmp/jna6973721066788680081jar, file:/tmp/akuma5654040944447989848jar]) at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:776) at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:736) at com.sun.jna.Native.<clinit>(Native.java:131) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at com.sun.akuma.CLibrary.<clinit>(CLibrary.java:89) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at com.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:126) at com.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java:114) at com.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:104) at com.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:92) at com.sun.akuma.Daemon.daemonize(Daemon.java:106) at com.sun.akuma.Daemon.all(Daemon.java:88) ... 6 more [FAILED]

    Jenkins JIRA | 2 years ago | Mir Sajjad Mehdi
    java.lang.reflect.InvocationTargetException
  2. 0

    Starting Jenkins Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at Main._main(Main.java:140) at Main.main(Main.java:98) Caused by: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-s390x/libjnidispatch.so) not found in resource path ([file:/tmp/jna6973721066788680081jar, file:/tmp/akuma5654040944447989848jar]) at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:776) at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:736) at com.sun.jna.Native.<clinit>(Native.java:131) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at com.sun.akuma.CLibrary.<clinit>(CLibrary.java:89) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at com.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:126) at com.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java:114) at com.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:104) at com.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:92) at com.sun.akuma.Daemon.daemonize(Daemon.java:106) at com.sun.akuma.Daemon.all(Daemon.java:88) ... 6 more [FAILED]

    Jenkins JIRA | 2 years ago | Mir Sajjad Mehdi
    java.lang.reflect.InvocationTargetException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
  5. 0

    rpm -q jenkins jenkins-1.489-1.1.noarch I used the yum installer to install jenkins on ppc64 with the IBM 1.6 JDK following the guide here: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions When starting the jenkins service, I get this: service jenkins start Starting Jenkins Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at Main._main(Main.java:129) at Main.main(Main.java:98) Caused by: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-ppc64/libjnidispatch.so) not found in resource path at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:697) at com.sun.jna.Native.loadNativeLibrary(Native.java:674) at com.sun.jna.Native.<clinit>(Native.java:115) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at com.sun.akuma.CLibrary.<clinit>(CLibrary.java:89) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at com.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:126) at com.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java:114) at com.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:104) at com.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:92) at com.sun.akuma.Daemon.daemonize(Daemon.java:105) at com.sun.akuma.Daemon.all(Daemon.java:87) ... 6 more I don't know how this is different from issue 4820 which was fixed apparently: https://issues.jenkins-ci.org/browse/JENKINS-4820 But where people say updating jenkins fixed that issue, I'm still hitting it. I'm not sure if there is a problem with my java setup or not.

    Jenkins JIRA | 4 years ago | Matt Riedemann
    java.lang.reflect.InvocationTargetException

  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

    Native library (com/sun/jna/linux-s390x/libjnidispatch.so) not found in resource path ([file:/tmp/jna6973721066788680081jar, file:/tmp/akuma5654040944447989848jar])

    at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath()
  2. Java Native Access
    Native.<clinit>
    1. com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:776)
    2. com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:736)
    3. com.sun.jna.Native.<clinit>(Native.java:131)
    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. com.sun.akuma
    CLibrary.<clinit>
    1. com.sun.akuma.CLibrary.<clinit>(CLibrary.java:89)
    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. com.sun.akuma
    Daemon.all
    1. com.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:126)
    2. com.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java:114)
    3. com.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:104)
    4. com.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:92)
    5. com.sun.akuma.Daemon.daemonize(Daemon.java:106)
    6. com.sun.akuma.Daemon.all(Daemon.java:88)
    6 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    4. java.lang.reflect.Method.invoke(Method.java:611)
    4 frames
  8. Unknown
    Main.main
    1. Main._main(Main.java:140)
    2. Main.main(Main.java:98)
    2 frames