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

Crash on DdRumContentProvider caused by java.lang.ClassNotFoundException #2139

Closed
NFesquet opened this issue Jul 24, 2024 · 1 comment
Closed
Labels
crash SDK induced crash

Comments

@NFesquet
Copy link

Stack trace

      Caused by java.lang.ClassNotFoundException: Didn't find class "com.datadog.android.rum.DdRumContentProvider" on path: DexPathList[[zip file "/data/app/sport.android.betclic.ci-nHfrwQQzvWNk3Ju2pmXEuw==/base.apk"],nativeLibraryDirectories=[/data/app/sport.android.betclic.ci-nHfrwQQzvWNk3Ju2pmXEuw==/lib/arm64, /data/app/sport.android.betclic.ci-nHfrwQQzvWNk3Ju2pmXEuw==/base.apk!/lib/arm64-v8a, /system/lib64, /hw_product/lib64, /system/product/lib64]]
   at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:209)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
   at android.app.AppComponentFactory.instantiateProvider(AppComponentFactory.java:147)
   at androidx.core.app.CoreComponentFactory.instantiateProvider(CoreComponentFactory.java:67)
   at android.app.ActivityThread.installProvider(ActivityThread.java:8165)
   at android.app.ActivityThread.installContentProviders(ActivityThread.java:7717)
   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7581)
   at android.app.ActivityThread.access$2600(ActivityThread.java:260)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435)
   at android.os.Handler.dispatchMessage(Handler.java:110)
   at android.os.Looper.loop(Looper.java:219)
   at android.app.ActivityThread.main(ActivityThread.java:8676)
   at java.lang.reflect.Method.invoke(Method.java)
   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)

Reproduction steps

Could not reproduce locally, only happens in background, on certain Android 10 devices.

Same issue as #1584

Volume

Hard to tell, depends on the device

Affected SDK versions

2.10.0

Latest working SDK version

1.11.1

Does the crash manifest in the latest SDK version?

Yes

Kotlin / Java version

1.9.22

Gradle / AGP version

Gradle 8.3.2 / AGP 8.3.0

Other dependencies versions

okhttp 4.9.3

Device Information

100% Android 10
100% background
Only affects certain devices : mainly Transsion (Smart, Smart HD, Spark 4, Spark 5 Pro), some Huawei (P30 Lite, P30 Pro), some Samsung (Galaxy S9, S9+), some Xiaomi (Redmi Not 9)

Other relevant information

No response

@NFesquet NFesquet added the crash SDK induced crash label Jul 24, 2024
@xgouchet
Copy link
Collaborator

Hi @NFesquet , thanks a lot for opening this issue.
I'll close it here and reopen the #1584 to keep all the discussion in the same place.

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

No branches or pull requests

2 participants