Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6056] Ti.Module verify crash upon install thru Appcelerator

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2018-12-20T21:59:29.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio, Titanium SDK & CLI
Labelsn/a
Reporterardy wongso
AssigneeShak Hossain
Created2018-12-11T08:21:42.000+0000
Updated2018-12-20T21:59:30.000+0000

Description

I get below error
[WARN] :   TiVerify: (Timer-0) [5009,5009] Verifying module licenses...
[ERROR] :  TiApplication: (Timer-0) [656,5665] Sending event: exception on thread: Timer-0 msg: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 'org.apache.http.impl.conn.DefaultClientConnectionOperator' appears in /system/framework/org.apache.http.legacy.boot.jar); Titanium 7.1.0,2018/03/14 13:40,undefined
[ERROR] :  TiApplication: 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 'org.apache.http.impl.conn.DefaultClientConnectionOperator' appears in /system/framework/org.apache.http.legacy.boot.jar)
[ERROR] :  TiApplication: 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:145)
[ERROR] :  TiApplication: 	at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
[ERROR] :  TiApplication: 	at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
[ERROR] :  TiApplication: 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:366)
[ERROR] :  TiApplication: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
[ERROR] :  TiApplication: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:514)
[ERROR] :  TiApplication: 	at org.appcelerator.titanium.TiVerify.run(Unknown Source:280)
[ERROR] :  TiApplication: 	at java.util.TimerThread.mainLoop(Timer.java:555)
[ERROR] :  TiApplication: 	at java.util.TimerThread.run(Timer.java:505)

Comments

  1. ardy wongso 2018-12-11

    I try only add FB module, results still the same
  2. Rakhi Mitro 2018-12-11

    Hello, Thanks for raising this. This is a known issue. Our engineering team is working to fix this as soon as possible. Thanks
  3. aibanez 2018-12-13

    I'm having the same problem, but I don't know how when I haven't made any changes. I have an app made with Titanium SDK 6.0.3 and it suddenly started shutting down. Through logcat I saw that the crash was logged with the same one from this issue. I hope this is not fixed with new Titanium SDK version 'cause I can't upgrade given that, by my understanding, I can't make apps compatibles with Android 5.0 using Titanium SDK with higher version that the one I'm using. Help please.
  4. Rakhi Mitro 2018-12-17

    [~dyan02], Thanks for your feedback. Can you please check on your end and let us know your current status of the issue.
  5. Sharif AbuDarda 2018-12-17

    Hello [~dyan02], The issue is fixed on SDK 7.4.2 Version. You have to rebuild the app with the sdk and provide an update to your app. You will lose Android 5 support though. Thanks.
  6. ardy wongso 2018-12-18

    Hi yes it works by now, but what do you mean when "lose android 5 support"? means android with os lollipop and below unable to install the app?
  7. Rakhi Mitro 2018-12-18

    [~dyan02], Yes. Glad to hear that the issue is resolved now.

JSON Source