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

android.database.sqlite.SQLiteDatabase.delete #197

Open
ghost opened this issue Oct 31, 2022 · 3 comments
Open

android.database.sqlite.SQLiteDatabase.delete #197

ghost opened this issue Oct 31, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 31, 2022

java.lang.RuntimeException: Unable to create application com.humana.go365.medicaid.App: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.database.sqlite.SQLiteDatabase.delete(java.lang.String, java.lang.String, java.lang.String[])' on a null object reference
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4714)
at android.app.ActivityThread.-wrap1(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5421)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.database.sqlite.SQLiteDatabase.delete(java.lang.String, java.lang.String, java.lang.String[])' on a null object reference
at com.tealium.core.persistence.d0.purgeExpired(SourceFile:5)
at com.tealium.core.persistence.c0.(SourceFile:8)
at com.tealium.core.Tealium.(SourceFile:65)
at com.tealium.core.Tealium.(SourceFile:114)
at com.tealium.core.Tealium$Companion.create(SourceFile:1)
at com.humana.go365.core.providers.TealiumProvider.init(TealiumProvider.kt:118)
at com.humana.go365.core.providers.ConfigAppProviders.init(ConfigAppProviders.kt:24)
at com.humana.go365.medicaid.App.onCreate(App.kt:104)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4711)
at android.app.ActivityThread.-wrap1(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5421)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)``

@jameskeith jameskeith transferred this issue from Tealium/tealium-android Nov 1, 2022
@jameskeith
Copy link
Contributor

Hi @balagovind-mundarath
Thanks for flagging this issue with us - I've transferred the issue to the appropriate repo

I haven't been able to reproduce the issue locally yet, so I was wondering if you were able to provide any additional details around how regularly you are seeing this crash in your user base or any patterns of devices etc? Are you able to reproduce this yourself with any consistency?
If you could also confirm the version of the Tealium Kotlin library that you're using, that'd be useful too.

@ghost
Copy link
Author

ghost commented Jan 24, 2023

We are using tealium-core version: 1.3.0. Currently I didn't see any issues. And I am not able to reproduce this issue.

@jameskeith
Copy link
Contributor

Thanks for the information @balagovind-mundarath
We did raise a card internally to get this issue addressed - I've still not been able to reproduce, but am confident we do have enough information from the stack traces to get it resolved in a future release.

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

No branches or pull requests

1 participant