Crash when trying to open any other page

Offen
#135 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
android, java
Bereich
mobile-dev

Rechercherichtung

Start by reproducing the crash from the app’s bottom-toolbar navigation and inspect the fragment transition and lifecycle code triggered when each icon is selected. Use the provided NullPointerException stack trace to identify the null object around U0.s.w, then test on a rooted Redmi Note 13 5G or a comparable environment. The work is done when toolbar navigation no longer crashes and the fix is covered by a regression test or clear manual reproduction steps.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

On a rooted Redmi note 13 5G, app crashes when I click on any of the icons in the bottom toolbar with the following stack trace:

java.lang.NullPointerException
	at java.util.Objects.requireNonNull(Objects.java:207)
	at U0.s.w(SourceFile:37)
	at androidx.fragment.app.O.g(SourceFile:203)
	at androidx.fragment.app.O.k(SourceFile:274)
	at androidx.fragment.app.e0.b(SourceFile:64)
	at e.B.b(SourceFile:23)
	at androidx.fragment.app.h.b(SourceFile:1378)
	at androidx.fragment.app.f0.c(SourceFile:151)
	at androidx.fragment.app.J.z(SourceFile:677)
	at androidx.fragment.app.J.P(SourceFile:82)
	at androidx.fragment.app.J.y(SourceFile:75)
	at androidx.fragment.app.w.run(SourceFile:18)
	at android.os.Handler.handleCallback(Handler.java:959)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loopOnce(Looper.java:249)
	at android.os.Looper.loop(Looper.java:337)
	at android.app.ActivityThread.main(ActivityThread.java:9465)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:636)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1005)

May be an error in trying to acquire root since it invokes ZygoteInit and I believe it may be because of my rom's nonstandard partition layout. Nevertheless, root acquisition works in all other apps I've used

Vorherrschende Sprache
Java
Sterne
877
Forks
121
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus SmartPack/PackageManager

Alle Issues in SmartPack/PackageManager

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.