Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Snippets
  • Register
  • Sign in
  • Client Client
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • Issues 527
    • Issues 527
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 43
    • Merge requests 43
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • F-DroidF-Droid
  • ClientClient
  • Issues
  • #2437
Closed
Open
Issue created Sep 01, 2022 by Chirayu Desai@cdeContributor

Crash when trying to add apps to the panic functionality

  • Device OS and version: CalyxOS Android 12L
  • Device model/manufacturer: Pixel
  • F-Droid version (in the About screen): 1.15.2 (upstream apk, signed by F-Droid, and thus unmodified)
  • F-Droid privileged extension version (if installed): 0.2.12

What did you do? (clear steps if possible)

Panic Button Settings -> Add apps to be uninstalled and wiped

What did you expect to see?

No crashing

What did you see instead?

Crash. Stacktrace:

09-01 17:16:26.623  4244  4244 E AndroidRuntime: FATAL EXCEPTION: main
09-01 17:16:26.623  4244  4244 E AndroidRuntime: Process: org.fdroid.fdroid, PID: 4244
09-01 17:16:26.623  4244  4244 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'java.lang.String org.fdroid.fdroid.data.Repo.address' on a null object reference
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at org.fdroid.fdroid.data.App.loadWithGlide(App.java:742)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at org.fdroid.fdroid.Utils.setIconFromRepoOrPM(Utils.java:494)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at org.fdroid.fdroid.views.apps.AppListItemController.bindModel(AppListItemController.java:192)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at org.fdroid.fdroid.views.installed.InstalledAppListAdapter.onBindViewHolder(InstalledAppListAdapter.java:53)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at org.fdroid.fdroid.views.installed.InstalledAppListAdapter.onBindViewHolder(InstalledAppListAdapter.java:16)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:7065)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:7107)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6012)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6279)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6118)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6114)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2303)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1627)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1587)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:665)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4134)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:3851)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.recyclerview.widget.RecyclerView.onLayout(RecyclerView.java:4404)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.View.layout(View.java:23203)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6412)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1762)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.View.layout(View.java:23203)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6412)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.View.layout(View.java:23203)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6412)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.View.layout(View.java:23203)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6412)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.View.layout(View.java:23203)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6412)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.View.layout(View.java:23203)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6412)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at com.android.internal.policy.DecorView.onLayout(DecorView.java:797)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.View.layout(View.java:23203)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.ViewGroup.layout(ViewGroup.java:6412)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3755)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3205)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2179)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8793)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1037)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.Choreographer.doCallbacks(Choreographer.java:845)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.Choreographer.doFrame(Choreographer.java:780)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:938)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:201)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:288)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7870)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
09-01 17:16:26.623  4244  4244 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Edited Sep 01, 2022 by Chirayu Desai
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking