bug

Open
#99 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, java
Domain
mobile

Research direction

Reproduce the crash while uninstalling a MIUI system app from the uninstallation screen on MIUI 13/Android 12, including the reported com.miui.bugreport and com.miui.analytics cases. Start with the NullPointerException stack trace and the activity/uninstallation flow; the trace is obfuscated, so locate the relevant source using the class and method names. Done means the app remains open, the uninstall flow completes, and no NullPointerException occurs.

Written by the indexing model from the issue text.

Description

bug help wanted

During uninstallation of miui system app during the uninstallation screen, the app stopped. Then I got kicked out of the app

I've managed to destroy either com.miui.bugreport or com.miui.analytics

miui 13.0.5, android 12, v6.9 f-droid

java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Iterator java.util.ArrayList.iterator()' on a null object reference
	at p2.i.c(SourceFile:8)
	at o2.o$d.a(Unknown Source:6)
	at androidx.activity.g.run(SourceFile:53)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
	at java.lang.Thread.run(Thread.java:1012)
Dominant language
Java
Stars
877
Forks
121
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SmartPack/PackageManager

All issues in SmartPack/PackageManager

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.