java.lang.IncompatibleClassChangeError: Class 'ti.modules.titanium.network.NonValidatingSSLSocketFactory' does not implement interface 'org.apache.http.conn.scheme.SocketFactory' in call to 'java.net.Socket org.apache.http.conn.scheme.SocketFactory.createSocket()' (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)

Appcelerator JIRA | Christopher Gedrim | 9 months ago
  1. 0

    When building for _test_ or _development_ calls are made by the TiVerify class to verify modules. This fails on the Samsung S2 (our only device running SDK 16/4.1), seemingly due to a TLS error, and causes the app to crash. The crash does not occur when using a middleware proxy (Charles). Commenting out the following lines fixes the issue: {{112-115 of ~/Library/Application\ Support/Titanium/mobilesdk/osx/5.2.0.GA/android/templates/App.java 87- 90 of ~/Library/Application\ Support/Titanium/mobilesdk/osx/5.2.0.GA/android/templates/build/App.java}} E/AndroidRuntime( 5046): Process: com.firstutility.firstutility, PID: 5046 E/AndroidRuntime( 5046): java.lang.IncompatibleClassChangeError: Class 'ti.modules.titanium.network.NonValidatingSSLSocketFactory' does not implement interface 'org.apache.http.conn.scheme.SocketFactory' in call to 'java.net.Socket org.apache.http.conn.scheme.SocketFactory.createSocket()' (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar) E/AndroidRuntime( 5046): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:145) E/AndroidRuntime( 5046): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169) E/AndroidRuntime( 5046): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124) E/AndroidRuntime( 5046): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:365) E/AndroidRuntime( 5046): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560) E/AndroidRuntime( 5046): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:514) *E/AndroidRuntime( 5046): at org.appcelerator.titanium.TiVerify.run(Unknown Source) * E/AndroidRuntime( 5046): at java.util.Timer$TimerImpl.run(Timer.java:284)

    Appcelerator JIRA | 9 months ago | Christopher Gedrim
    java.lang.IncompatibleClassChangeError: Class 'ti.modules.titanium.network.NonValidatingSSLSocketFactory' does not implement interface 'org.apache.http.conn.scheme.SocketFactory' in call to 'java.net.Socket org.apache.http.conn.scheme.SocketFactory.createSocket()' (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)
  2. 0

    When building for _test_ or _development_ calls are made by the TiVerify class to verify modules. This fails on the Samsung S2 (our only device running SDK 16/4.1), seemingly due to a TLS error, and causes the app to crash. The crash does not occur when using a middleware proxy (Charles). Commenting out the following lines fixes the issue: {{112-115 of ~/Library/Application\ Support/Titanium/mobilesdk/osx/5.2.0.GA/android/templates/App.java 87- 90 of ~/Library/Application\ Support/Titanium/mobilesdk/osx/5.2.0.GA/android/templates/build/App.java}} E/AndroidRuntime( 5046): Process: com.firstutility.firstutility, PID: 5046 E/AndroidRuntime( 5046): java.lang.IncompatibleClassChangeError: Class 'ti.modules.titanium.network.NonValidatingSSLSocketFactory' does not implement interface 'org.apache.http.conn.scheme.SocketFactory' in call to 'java.net.Socket org.apache.http.conn.scheme.SocketFactory.createSocket()' (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar) E/AndroidRuntime( 5046): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:145) E/AndroidRuntime( 5046): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169) E/AndroidRuntime( 5046): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124) E/AndroidRuntime( 5046): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:365) E/AndroidRuntime( 5046): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560) E/AndroidRuntime( 5046): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:514) *E/AndroidRuntime( 5046): at org.appcelerator.titanium.TiVerify.run(Unknown Source) * E/AndroidRuntime( 5046): at java.util.Timer$TimerImpl.run(Timer.java:284)

    Appcelerator JIRA | 9 months ago | Christopher Gedrim
    java.lang.IncompatibleClassChangeError: Class 'ti.modules.titanium.network.NonValidatingSSLSocketFactory' does not implement interface 'org.apache.http.conn.scheme.SocketFactory' in call to 'java.net.Socket org.apache.http.conn.scheme.SocketFactory.createSocket()' (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)
  3. 0

    Issue 8314 - gmaps-api-issues - Bug: java.lang.IllegalStateException: CreatorImpl not initialized properly. - Google Maps API bug reports and feature requests - Google Project Hosting

    google.com | 11 months ago
    java.lang.IncompatibleClassChangeError: Class 'java.lang.reflect.ArtMethod' does not implement interface 'android.os.Parcelable$Creator' in call to 'java.lang.Object android.os.Parcelable$Creator.createFromParcel(android.os.Parcel)' (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IncompatibleClassChangeError crash with android 4.4.2 emulator and ART rutime

    Stack Overflow | 2 years ago | Blago
    java.lang.IncompatibleClassChangeError: Class 'java.lang.reflect.ArtMethod' does not implement interface 'java.lang.Runnable' in call to 'void java.lang.Runnable.run()' (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)
  6. 0

    Unexplained IncompatibleClassChangeError In Stable Released App Caused by GoogleMaps

    Stack Overflow | 1 year ago | Disco S2
    java.lang.IncompatibleClassChangeError: Class 'java.lang.reflect.ArtMethod' does not implement interface 'android.os.Parcelable$Creator' in call to 'java.lang.Object android.os.Parcelable$Creator.createFromParcel(android.os.Parcel)' (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)

    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.IncompatibleClassChangeError

      Class 'ti.modules.titanium.network.NonValidatingSSLSocketFactory' does not implement interface 'org.apache.http.conn.scheme.SocketFactory' in call to 'java.net.Socket org.apache.http.conn.scheme.SocketFactory.createSocket()' (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)

      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection()
    2. Apache HttpClient
      AbstractHttpClient.execute
      1. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:145)
      2. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
      3. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
      4. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:365)
      5. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
      6. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:514)
      6 frames