java.lang.reflect.InvocationTargetException

cloudbees.com | 1 month ago
  1. 0

    Cannot start jenkins 1.421. When execute /etc/init.d/jenkins start I have the following exception: Starting Jenkins Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at Main._main(Main.java:125) at Main.main(Main.java:95) Caused by: java.lang.UnsatisfiedLinkError: /tmp/jna/jna2123156991551141605.tmp: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by /tmp/jna/jna2123156991551141605.tmp) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646) at java.lang.Runtime.load0(Runtime.java:787) at java.lang.System.load(System.java:1022) at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:745) at com.sun.jna.Native.loadNativeLibrary(Native.java:674) at com.sun.jna.Native.<clinit>(Native.java:115) at com.sun.akuma.CLibrary.<clinit>(CLibrary.java:54) at com.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:103) at com.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java:91) at com.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:81) at com.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:69) at com.sun.akuma.Daemon.daemonize(Daemon.java:77) at com.sun.akuma.Daemon.all(Daemon.java:59) ... 6 more and jenkins doesn't start. Jenkins 1.420 works without problems. [root@integration ~]# /lib64/libc.so.6 GNU C Library stable release version 2.5, by Roland McGrath et al. Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-50). Compiled on a Linux 2.6.9 system on 2011-06-27. Available extensions: The C stubs add-on version 2.1.2. crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson GNU libio by Per Bothner NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B RT using linux kernel aio Thread-local storage support included. For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>.

    Jenkins JIRA | 5 years ago | Daniele Antonini
    java.lang.reflect.InvocationTargetException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Cannot start jenkins 1.421. When execute /etc/init.d/jenkins start I have the following exception: Starting Jenkins Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at Main._main(Main.java:125) at Main.main(Main.java:95) Caused by: java.lang.UnsatisfiedLinkError: /tmp/jna/jna2123156991551141605.tmp: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by /tmp/jna/jna2123156991551141605.tmp) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646) at java.lang.Runtime.load0(Runtime.java:787) at java.lang.System.load(System.java:1022) at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:745) at com.sun.jna.Native.loadNativeLibrary(Native.java:674) at com.sun.jna.Native.<clinit>(Native.java:115) at com.sun.akuma.CLibrary.<clinit>(CLibrary.java:54) at com.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:103) at com.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java:91) at com.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:81) at com.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:69) at com.sun.akuma.Daemon.daemonize(Daemon.java:77) at com.sun.akuma.Daemon.all(Daemon.java:59) ... 6 more and jenkins doesn't start. Jenkins 1.420 works without problems. [root@integration ~]# /lib64/libc.so.6 GNU C Library stable release version 2.5, by Roland McGrath et al. Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-50). Compiled on a Linux 2.6.9 system on 2011-06-27. Available extensions: The C stubs add-on version 2.1.2. crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson GNU libio by Per Bothner NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B RT using linux kernel aio Thread-local storage support included. For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>.

    Jenkins JIRA | 5 years ago | Daniele Antonini
    java.lang.reflect.InvocationTargetException
  4. 0

    Unicode characters in user account name

    GitHub | 4 years ago | brookman
    java.lang.UnsatisfiedLinkError: C:\Users\????? Shröder\AppData\Local\Temp\jna5875085145577128614.dll: Can't find dependent libraries

  1. franky li 8 times, last 1 month ago
  2. Lukasmcd14 1 times, last 4 months ago
  3. Christopher 4 times, last 7 months ago
  4. xgao 1 times, last 11 months ago
42 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

    /tmp/jna--1712433994/jna7387046629130767794.tmp: /tmp/jna--1712433994/jna7387046629130767794.tmp: failed to map segment from shared object: Operation not permitted

    at java.lang.ClassLoader$NativeLibrary.load()
  2. Java RT
    System.load
    1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
    2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
    3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
    4. java.lang.Runtime.load0(Runtime.java:809)
    5. java.lang.System.load(System.java:1086)
    5 frames
  3. Java Native Access
    Native.<clinit>
    1. com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:761)
    2. com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:736)
    3. com.sun.jna.Native.<clinit>(Native.java:131)
    3 frames
  4. com.sun.akuma
    Daemon.all
    1. com.sun.akuma.CLibrary.<clinit>(CLibrary.java:89)
    2. com.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:128)
    3. com.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java:116)
    4. com.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:104)
    5. com.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:92)
    6. com.sun.akuma.Daemon.daemonize(Daemon.java:106)
    7. com.sun.akuma.Daemon.all(Daemon.java:88)
    7 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  6. Unknown
    Main.main
    1. Main._main(Main.java:140)
    2. Main.main(Main.java:98)
    2 frames