yandexmobile / metrica-sdk-android

AppMetrica is a free real-time ad tracking and mobile app analytics solution.
https://tech.yandex.com/metrica-mobile-sdk/
20 stars 3 forks source link

NPE: ssl_session == null #57

Closed balus13 closed 6 years ago

balus13 commented 6 years ago

v2.78

Fatal Exception: java.lang.NullPointerException: ssl_session == null
       at com.android.org.conscrypt.NativeCrypto.SSL_SESSION_cipher(NativeCrypto.java)
       at com.android.org.conscrypt.OpenSSLSessionImpl.getCipherSuite(OpenSSLSessionImpl.java:320)
       at com.android.okhttp.Handshake.get(Handshake.java:48)
       at com.android.okhttp.internal.http.SocketConnector.connectTls(SocketConnector.java:105)
       at com.android.okhttp.Connection.connect(Connection.java:167)
       at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:209)
       at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128)
       at com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:354)
       at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:343)
       at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:261)
       at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:454)
       at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:405)
       at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:518)
       at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
       at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25)
       at com.yandex.metrica.impl.ob.hj.a(SourceFile:63)
       at com.yandex.metrica.impl.ob.hm.a(SourceFile:41)
       at com.yandex.metrica.impl.ob.ho$b.handleMessage(SourceFile:62)
       at android.os.Handler.dispatchMessage(Handler.java:111)
       at android.os.Looper.loop(Looper.java:207)
       at android.os.HandlerThread.run(HandlerThread.java:61)
alexklints commented 6 years ago

Duplicate of https://github.com/yandexmobile/metrica-sdk-android/issues/47.