Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MParticle Networking Crash #86

Open
hussein-yassine opened this issue Dec 24, 2021 · 3 comments
Open

MParticle Networking Crash #86

hussein-yassine opened this issue Dec 24, 2021 · 3 comments
Labels

Comments

@hussein-yassine
Copy link

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

@willpassidomo
Copy link
Contributor

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?

@hussein-yassine
Copy link
Author

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'

@einsteinx2
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants