java.lang.RuntimeException: Unable to start activity ComponentInfo{org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replaceAll(java.lang.Strin
ANDROID_VERSION: '11'
APP_VERSION_NAME: 1.17.0
AVAILABLE_MEM_SIZE: 1991655424
BRAND: lge
DATE: '2023-10-01'
Message-ID: $2b$12$80d40b6ef0288928d1fdauThOmhtbzyBDf27rf7JFkhdEHMIDMxV2
PACKAGE_NAME: org.fdroid.fdroid
PHONE_MODEL: LM-K510
STACK_TRACE_HASH: 1e3cc4ed
USER_COMMENT: português
STACK_TRACE:
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replaceAll(java.lang.String, java.lang.String)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3472)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3636)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2084)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7888)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:981)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replaceAll(java.lang.String, java.lang.String)' on a null object reference
at org.fdroid.fdroid.views.main.MainActivity.sanitizeSearchTerms(MainActivity.java:369)
at org.fdroid.fdroid.views.main.MainActivity.performSearch(MainActivity.java:377)
at org.fdroid.fdroid.views.main.MainActivity.handleSearchOrAppViewIntent(MainActivity.java:269)
at org.fdroid.fdroid.views.main.MainActivity.onCreate(MainActivity.java:154)
at android.app.Activity.performCreate(Activity.java:8019)
at android.app.Activity.performCreate(Activity.java:8003)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1310)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3445)
... 11 more
@