mparticle-android-sdk icon indicating copy to clipboard operation
mparticle-android-sdk copied to clipboard

MParticle Networking Crash

Open hussein-yassine opened this issue 3 years ago • 3 comments

I have MParticle integrated in an application, but I keep getting a crash for a specific user on MParticle.Networking c.java line 2 com.mparticle.networking.c.a

The crash is so weird, and I can't any solution

The stacktrace of the crash is:

Fatal Exception: java.lang.NoSuchMethodError
No virtual method (I)V in class Ljava/net/HttpURLConnection; or its super classes (declaration of 'java.net.HttpURLConnection' appears in /system/framework/core-oj.jar)
com.mparticle.networking.c.a (c.java:2)
com.mparticle.internal.r.a (r.java:13)
com.mparticle.internal.z.a (z.java:10)
com.mparticle.internal.d.handleMessage (d.java:13)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loop (Looper.java:164)
android.os.HandlerThread.run (HandlerThread.java:65)

The Device information of the User having the crash are: Device Brand:samsung Model:Galaxy J7 Prime Orientation: Portrait RAM free: 697.71 MB Disk free: 716.48 MB Operating System Version:Android 8.1.0 Orientation: Portrait Rooted:No

hussein-yassine avatar Dec 24 '21 10:12 hussein-yassine

Hey @hussein-yassine 👋 sorry for the delay, we're all filtering back in from holiday break.

Yea, this is really strange. My first thought was a proguard issue but I don't think that's the case if we're only talking about 1 user. If you don't mind, I have a few follow-up questions that might help us get to the bottom of this

  1. have you been able to recreate this in an emulator or physical device?
  2. which version of the MParticle SDK are you using?
  3. what version of Java are you using to compile your apk?

willpassidomo avatar Jan 04 '22 18:01 willpassidomo

Hello @willpassidomo ,

  1. I wasn't able to recreate it on either emulator or physical device.
  2. I am using Java 8
  3. Here are the dependencies used:
//MParticle
    implementation 'com.mparticle:android-googleanalyticsfirebase-kit:5.15.3'
    implementation 'com.mparticle:android-core:5.15.3'
    implementation 'com.mparticle:android-branch-kit:5.15.3'
    implementation 'com.google.android.gms:play-services-ads-identifier:17.0.1'
    implementation 'com.android.installreferrer:installreferrer:2.2'
    implementation 'androidx.browser:browser:1.3.0'

hussein-yassine avatar Jan 05 '22 08:01 hussein-yassine

Tracking internally via: https://go.mparticle.com/work/SQDSDKS-4222

einsteinx2 avatar Jun 27 '22 20:06 einsteinx2