java.lang.IllegalStateException: Load library failed!

GitHub | armstrongli | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    etcd4j doesn't work in servlet server

    GitHub | 7 months ago | armstrongli
    java.lang.IllegalStateException: Load library failed!
  2. 0

    GitHub comment 62#287721786

    GitHub | 1 month ago | Crystark
    java.lang.UnsatisfiedLinkError: no netty-transport-native-epoll in java.library.path
  3. 0
    samebug tip
    Caused by fail to load the necessary libraries. Try to reinstall the app.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Check if you have the latest version of SQLCipher and look if you loaded the libraries correctly. More info on this comment: https://goo.gl/tQQ5NO
  6. 0
    samebug tip
    If you're using proguard, check if you correctly configured it, otherwise, just disable proguard. More on this here: https://goo.gl/FP500o

  1. iferca 1 times, last 2 months ago
  2. filpgame 1 times, last 3 months ago
  3. Adrien 6 times, last 3 months ago
  4. PKeidel 9 times, last 3 months ago
  5. rafael 3 times, last 2 months ago
32 more registered users
63 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

    no netty-tcnative-osx-x86_64 in java.library.path

    at java.lang.ClassLoader.loadLibrary()
  2. Java RT
    System.loadLibrary
    1. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)
    2. java.lang.Runtime.loadLibrary0(Runtime.java:870)
    3. java.lang.System.loadLibrary(System.java:1122)
    3 frames
  3. Netty
    NativeLibraryUtil.loadLibrary
    1. io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
    1 frame
  4. 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
  5. Netty
    NativeLibraryLoader$1.run
    1. io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:259)
    2. io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:261)
    2 frames
  6. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  7. Netty
    SslContextBuilder.build
    1. io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:250)
    2. io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:242)
    3. io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:194)
    4. io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:166)
    5. io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:380)
    6. io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:99)
    7. io.netty.handler.ssl.ReferenceCountedOpenSslContext.<init>(ReferenceCountedOpenSslContext.java:206)
    8. io.netty.handler.ssl.ReferenceCountedOpenSslContext.<init>(ReferenceCountedOpenSslContext.java:198)
    9. io.netty.handler.ssl.OpenSslContext.<init>(OpenSslContext.java:34)
    10. io.netty.handler.ssl.OpenSslClientContext.<init>(OpenSslClientContext.java:187)
    11. io.netty.handler.ssl.SslContext.newClientContextInternal(SslContext.java:753)
    12. io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:397)
    12 frames