java.lang.IllegalStateException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 62#287721786
    via GitHub by Crystark
    ,
  • GitHub comment 136#215136752
    via GitHub by shelined
    ,
  • Adding netty-tcnative to Tomcat at runtime
    via Stack Overflow by Will
    ,
  • netty-tcnative tomcat issue on ubuntu (14.04)
    via by Unknown author,
  • Failed to load netty-tcnative
    via GitHub by harbris
    ,
  • GitHub comment 44#143399415
    via GitHub by wirsing
    ,
    • java.lang.IllegalStateException: Load library failed! at io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:261) at java.security.AccessController.doPrivileged(Native Method) at io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:250) at io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:242) at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:194) at io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:166) at io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:380) at io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:99) at io.netty.handler.ssl.ReferenceCountedOpenSslContext.<init>(ReferenceCountedOpenSslContext.java:206) at io.netty.handler.ssl.ReferenceCountedOpenSslContext.<init>(ReferenceCountedOpenSslContext.java:198) at io.netty.handler.ssl.OpenSslContext.<init>(OpenSslContext.java:34) at io.netty.handler.ssl.OpenSslClientContext.<init>(OpenSslClientContext.java:187) at io.netty.handler.ssl.SslContext.newClientContextInternal(SslContext.java:753) at io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:397) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:259) ... 14 more Caused by: java.lang.UnsatisfiedLinkError: no netty-tcnative-osx-x86_64 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1122) at io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38) ... 19 more

    Users with the same issue

    iferca
    24 times, last one,
    serious2monkeys
    14 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    276 more bugmates