afwall icon indicating copy to clipboard operation
afwall copied to clipboard

[ISSUE] Apps list is empty

Open davidwkr opened this issue 3 months ago • 5 comments

Describe the bug Afwall worked and randomly stopped working. The list of apps is empty. I can see the progress bar that is reading apps but nothing shows up afterwards.

**Log: 09-15 10:01:55.569 17130 17130 I AFWall : java.lang.NullPointerException 09-15 10:01:55.569 17130 17130 I AFWall : at java.io.File.(File.java:288) 09-15 10:01:55.569 17130 17130 I AFWall : at dev.ukanth.ufirewall.Api.getApps(Api.java:1877) 09-15 10:01:55.569 17130 17130 I AFWall : at dev.ukanth.ufirewall.MainActivity.filterApps(MainActivity.java:541) 09-15 10:01:55.569 17130 17130 I AFWall : at dev.ukanth.ufirewall.MainActivity.selectFilterGroup(MainActivity.java:525) 09-15 10:01:55.569 17130 17130 I AFWall : at dev.ukanth.ufirewall.MainActivity.-$$Nest$mselectFilterGroup(Unknown Source:0) 09-15 10:01:55.569 17130 17130 I AFWall : at dev.ukanth.ufirewall.MainActivity$GetAppList.onPostExecute(MainActivity.java:2505) 09-15 10:01:55.569 17130 17130 I AFWall : at dev.ukanth.ufirewall.MainActivity$GetAppList.onPostExecute(MainActivity.java:2474) 09-15 10:01:55.569 17130 17130 I AFWall : at android.os.AsyncTask.finish(AsyncTask.java:771) 09-15 10:01:55.569 17130 17130 I AFWall : at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0) 09-15 10:01:55.569 17130 17130 I AFWall : at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788) 09-15 10:01:55.569 17130 17130 I AFWall : at android.os.Handler.dispatchMessage(Handler.java:109) 09-15 10:01:55.569 17130 17130 I AFWall : at android.os.Looper.loopOnce(Looper.java:232) 09-15 10:01:55.569 17130 17130 I AFWall : at android.os.Looper.loop(Looper.java:317) 09-15 10:01:55.569 17130 17130 I AFWall : at android.app.ActivityThread.main(ActivityThread.java:8934) 09-15 10:01:55.569 17130 17130 I AFWall : at java.lang.reflect.Method.invoke(Native Method) 09-15 10:01:55.569 17130 17130 I AFWall : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591) 09-15 10:01:55.569 17130 17130 I AFWall : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)

davidwkr avatar Sep 15 '25 13:09 davidwkr

Same issue here.

AFWall+ 4.0.0 (20251001) installed and licensed via Google Play (same issue when restoring a backup 3.6.1 (20241025) OnePlus 8 Pro with Android 15, log empty

Using system or buid in binaries does not change anything.

I tried to reproduce it on a different device: same Magi, PIF, ReZygisk, Tricky S OSS, Busybox. But issue is not reproducible. So assuming it does not have to do with these factors.

JakobLichterfeld avatar Oct 31 '25 10:10 JakobLichterfeld

Hit this with one device from 3.6.1. Issue appeared after changing ui filter settings.

xcalc avatar Nov 15 '25 20:11 xcalc

Same issue on Pixel 8, Android 16. Solved by going into experimental and disabling "Dual Apps Support" and the apps all re-appeared. I was then able to re-enable dual apps support and it kept the list, but I haven't tested extensively to see if they remain fixed.

vidyava avatar Dec 02 '25 18:12 vidyava

Solved by going into experimental and disabling "Dual Apps Support" and the apps all re-appeared. I was then able to re-enable dual apps support and it kept the list, but I haven't tested extensively to see if they remain fixed.

Nice workaround, works on my end as well.

JakobLichterfeld avatar Dec 02 '25 18:12 JakobLichterfeld

Nice workaround, works on my end as well.

Until next reboot. Disabling dual app support, shows all apps again

JakobLichterfeld avatar Dec 05 '25 08:12 JakobLichterfeld