java.lang.NoClassDefFoundError: Failed resolution of: Lti/modules/titanium/network/NonValidatingSSLSocketFactory;

Appcelerator JIRA | Lokesh Choudhary | 9 months ago
  1. 0

    h5.Steps to reproduce: 1. Create a defaut alloy or clasic app. Make sure you have services enabled. 2. Using the components & SDK in the description build for android device/emulator. 3. Let the app launch. h5.Actual Results: 1. The app crashes 2-3 seconds after launch with error: {code} [WARN] : TiVerify: (Timer-0) [5003,5003] Verifying module licenses... [ERROR] : TiApplication: (Timer-0) [4,5007] Sending event: exception on thread: Timer-0 msg:java.lang.NoClassDefFoundError: Failed resolution of: Lti/modules/titanium/network/NonValidatingSSLSocketFactory;; Titanium 4.0.1,2016/03/08 10:35,72e9f11 [ERROR] : TiApplication: java.lang.NoClassDefFoundError: Failed resolution of: Lti/modules/titanium/network/NonValidatingSSLSocketFactory; [ERROR] : TiApplication: at org.appcelerator.titanium.TiVerify.run(Unknown Source) [ERROR] : TiApplication: at java.util.Timer$TimerImpl.run(Timer.java:284) [ERROR] : TiApplication: Caused by: java.lang.ClassNotFoundException: Didn't find class "ti.modules.titanium.network.NonValidatingSSLSocketFactory" on path: DexPathList[[zip file "/data/app/com.app.theefivetwoclassic-2/base.apk"],nativeLibraryDirectories=[/data/app/com.app.theefivetwoclassic-2/lib/arm, /vendor/lib, /system/lib]] [ERROR] : TiApplication: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) [ERROR] : TiApplication: at java.lang.ClassLoader.loadClass(ClassLoader.java:511) [ERROR] : TiApplication: at java.lang.ClassLoader.loadClass(ClassLoader.java:469) [ERROR] : TiApplication: ... 2 more [ERROR] : TiApplication: Suppressed: java.lang.ClassNotFoundException: ti.modules.titanium.network.NonValidatingSSLSocketFactory [ERROR] : TiApplication: at java.lang.Class.classForName(Native Method) [ERROR] : TiApplication: at java.lang.BootClassLoader.findClass(ClassLoader.java:781) [ERROR] : TiApplication: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) [ERROR] : TiApplication: at java.lang.ClassLoader.loadClass(ClassLoader.java:504) [ERROR] : TiApplication: ... 3 more [ERROR] : TiApplication: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available {code} 2. This might be due to the fact that the "NonValidatingSSLSocketFactory" class is removed as a part of the google security fix. 3. When built with SDK 3.5.1.GA & 4.0.0.GA this issue is not seen. h5.Expected Results: 1. The app should not crash.

    Appcelerator JIRA | 9 months ago | Lokesh Choudhary
    java.lang.NoClassDefFoundError: Failed resolution of: Lti/modules/titanium/network/NonValidatingSSLSocketFactory;
  2. 0

    h5.Steps to reproduce: 1. Create a defaut alloy or clasic app. Make sure you have services enabled. 2. Using the components & SDK in the description build for android device/emulator. 3. Let the app launch. h5.Actual Results: 1. The app crashes 2-3 seconds after launch with error: {code} [WARN] : TiVerify: (Timer-0) [5003,5003] Verifying module licenses... [ERROR] : TiApplication: (Timer-0) [4,5007] Sending event: exception on thread: Timer-0 msg:java.lang.NoClassDefFoundError: Failed resolution of: Lti/modules/titanium/network/NonValidatingSSLSocketFactory;; Titanium 4.0.1,2016/03/08 10:35,72e9f11 [ERROR] : TiApplication: java.lang.NoClassDefFoundError: Failed resolution of: Lti/modules/titanium/network/NonValidatingSSLSocketFactory; [ERROR] : TiApplication: at org.appcelerator.titanium.TiVerify.run(Unknown Source) [ERROR] : TiApplication: at java.util.Timer$TimerImpl.run(Timer.java:284) [ERROR] : TiApplication: Caused by: java.lang.ClassNotFoundException: Didn't find class "ti.modules.titanium.network.NonValidatingSSLSocketFactory" on path: DexPathList[[zip file "/data/app/com.app.theefivetwoclassic-2/base.apk"],nativeLibraryDirectories=[/data/app/com.app.theefivetwoclassic-2/lib/arm, /vendor/lib, /system/lib]] [ERROR] : TiApplication: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) [ERROR] : TiApplication: at java.lang.ClassLoader.loadClass(ClassLoader.java:511) [ERROR] : TiApplication: at java.lang.ClassLoader.loadClass(ClassLoader.java:469) [ERROR] : TiApplication: ... 2 more [ERROR] : TiApplication: Suppressed: java.lang.ClassNotFoundException: ti.modules.titanium.network.NonValidatingSSLSocketFactory [ERROR] : TiApplication: at java.lang.Class.classForName(Native Method) [ERROR] : TiApplication: at java.lang.BootClassLoader.findClass(ClassLoader.java:781) [ERROR] : TiApplication: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) [ERROR] : TiApplication: at java.lang.ClassLoader.loadClass(ClassLoader.java:504) [ERROR] : TiApplication: ... 3 more [ERROR] : TiApplication: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available {code} 2. This might be due to the fact that the "NonValidatingSSLSocketFactory" class is removed as a part of the google security fix. 3. When built with SDK 3.5.1.GA & 4.0.0.GA this issue is not seen. h5.Expected Results: 1. The app should not crash.

    Appcelerator JIRA | 9 months ago | Lokesh Choudhary
    java.lang.NoClassDefFoundError: Failed resolution of: Lti/modules/titanium/network/NonValidatingSSLSocketFactory;
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Android SnackBar giving exception and not working - yuluer.com

    yuluer.com | 5 months ago
    java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/design/R$layout;
  5. 0

    Log window crashes

    GitHub | 2 years ago | Zillode
    java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.ShareActionProvider" on path: DexPathList[[zip file "/data/app/com.nutomic.syncthingandroid-2/base.apk"],nativeLibraryDirectories=[/data/app/com.nutomic.syncthingandroid-2/lib/arm, /vendor/lib, /system/lib]]

  1. Indri Yunita 1 times, last 5 days ago
  2. filpgame 2 times, last 2 weeks ago
  3. dealloc 5 times, last 1 week ago
  4. Alexandru Popa 8 times, last 2 weeks ago
  5. syntech16 1 times, last 1 month ago
48 more registered users
47 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.ClassNotFoundException

    Didn't find class "ti.modules.titanium.network.NonValidatingSSLSocketFactory" on path: DexPathList[[zip file "/data/app/com.app.theefivetwoclassic-2/base.apk"],nativeLibraryDirectories=[/data/app/com.app.theefivetwoclassic-2/lib/arm, /vendor/lib, /system/lib]]

    at dalvik.system.BaseDexClassLoader.findClass()
  2. Android Platform
    BaseDexClassLoader.findClass
    1. dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    1 frame
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    2 frames
  4. org.appcelerator.titanium
    TiVerify.run
    1. org.appcelerator.titanium.TiVerify.run(Unknown Source)
    1 frame
  5. Java RT
    Timer$TimerImpl.run
    1. java.util.Timer$TimerImpl.run(Timer.java:284)
    1 frame