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 in search results #2912

Closed
tuomas2 opened this issue Oct 12, 2023 · 3 comments
Closed

Crash in search results #2912

tuomas2 opened this issue Oct 12, 2023 · 3 comments

Comments

@tuomas2
Copy link
Contributor

tuomas2 commented Oct 12, 2023

Device info:
Version: 5.0.729-beta#1fe1b8d07 googleplay standard release (built 14/09/23 17:15:14)
Android version: 7.0
Android SDK version: 24
Manufacturer: HUAWEI
Model: HUAWEI VNS-L21
Storage Mb free: 3531
WebView version: 117.0.5938.61
SQLITE version: 3.42.0
Used heap memory in Mb: 15
Max heap memory in Mb: 192

Exception:
java.lang.RuntimeException: Unable to start activity ComponentInfo{net.bible.android.activity/net.bible.android.view.activity.search.SearchResults}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.os.Parcel.dataSize()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2793)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2864)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6517)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.os.Parcel.dataSize()' on a null object reference
at android.os.BaseBundle.(BaseBundle.java:164)
at android.os.Bundle.(Bundle.java:106)
at android.content.Intent.getExtras(Intent.java:6641)
at androidx.activity.ComponentActivity.getDefaultViewModelCreationExtras(ComponentActivity.java:655)
at androidx.lifecycle.ViewModelProviderGetKt.defaultCreationExtras(ViewModelProvider.kt:363)
at androidx.lifecycle.ViewModelProvider.(ViewModelProvider.kt:132)
at androidx.lifecycle.SavedStateHandleSupport.getSavedStateHandlesVM(SavedStateHandleSupport.kt:109)
at androidx.lifecycle.SavedStateHandlesProvider$viewModel$2.invoke(SavedStateHandleSupport.kt:134)
at androidx.lifecycle.SavedStateHandlesProvider$viewModel$2.invoke(SavedStateHandleSupport.kt:133)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at androidx.lifecycle.SavedStateHandlesProvider.getViewModel(SavedStateHandleSupport.kt:133)
at androidx.lifecycle.SavedStateHandlesProvider.performRestore(SavedStateHandleSupport.kt:168)
at androidx.lifecycle.SavedStateHandleAttacher.onStateChanged(SavedStateHandleSupport.kt:199)
at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.kt:314)
at androidx.lifecycle.LifecycleRegistry.forwardPass(LifecycleRegistry.kt:251)
at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.kt:287)
at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.kt:136)
at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(LifecycleRegistry.kt:119)
at androidx.lifecycle.ReportFragment$Companion.dispatch$lifecycle_runtime_release(ReportFragment.kt:192)
at androidx.lifecycle.ReportFragment.dispatch(ReportFragment.kt:87)
at androidx.lifecycle.ReportFragment.onActivityCreated(ReportFragment.kt:50)
at android.app.Fragment.performActivityCreated(Fragment.java:2373)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1021)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1178)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1160)
at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2046)
at android.app.FragmentController.dispatchActivityCreated(FragmentController.java:176)
at android.app.Activity.performCreateCommon(Activity.java:6908)
at android.app.Activity.performCreate(Activity.java:6918)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2746)
... 9 more

https://support.andbible.org/scp/tickets.php?id=2131

@tuomas2
Copy link
Contributor Author

tuomas2 commented Oct 14, 2023

It happened only once, and after I restarted the app the specific search worked just fine.
I searched for two words in the Afrikaans Bible, when it crashed the automated crash report came up, and I decided to mail in the hope that it may help.
Like I say, it happened once, the first time I had crash ever, and afterwards I couldn't reproduce it.

@tuomas2 tuomas2 moved this from Prio 3 to Prio 2 in Tuomas' project board Nov 21, 2023
@tuomas2
Copy link
Contributor Author

tuomas2 commented Nov 21, 2023

@timbze
Copy link
Contributor

timbze commented Jan 12, 2024

Duplicate of #3072

@timbze timbze marked this as a duplicate of #3072 Jan 12, 2024
@timbze timbze closed this as completed Jan 12, 2024
@github-project-automation github-project-automation bot moved this from Prio 2 to Closed in Tuomas' project board Jan 12, 2024
@github-project-automation github-project-automation bot moved this to Needs triage in Ben's project board Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs triage
Status: Closed
Development

No branches or pull requests

2 participants