Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes when moving Home section to hidden #7180

Open
4 tasks done
keunes opened this issue May 11, 2024 · 0 comments
Open
4 tasks done

App crashes when moving Home section to hidden #7180

keunes opened this issue May 11, 2024 · 0 comments
Labels
Functionality: Home Type: Possible bug Issues that seem to be a bug, but haven't been confirmed yet

Comments

@keunes
Copy link
Member

keunes commented May 11, 2024

Checklist

  • I have used the search function for OPEN issues to see if someone else has already submitted the same bug report.
  • I have also used the search function for CLOSED issues to see if the problem is already solved and just waiting to be released.
  • I will describe the problem with as much detail as possible.
  • If the bug only to occurs with a certain podcast, I will include the URL of that podcast.

App version

3.4.0-beta5

Where did you get the app from

Google Play

Android version

13

Device model

No response

First occurred

just now

Steps to reproduce

  1. Go to the Home screen
  2. Open the Home configuration
  3. Move one of the sections to Hidden

Expected behaviour

Hide the section from the home screen.

Current behaviour

App crashes.

Logs

Environment

Android version: 13
OS version: 5.4.219-qgki-g95eb98a8c435
AntennaPod version: 3.4.0-beta5
Model: FP5
Device: FP5
Product: FP5

Crash info

Time: 11-05-2024 18:11:33
AntennaPod version: 3.4.0-beta5

StackTrace

java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.SharedPreferences android.content.Context.getSharedPreferences(java.lang.String, int)' on a null object reference
	at de.danoeh.antennapod.ui.screen.home.HomeFragment.populateSectionList(SourceFile:90)
	at de.danoeh.antennapod.ui.screen.home.HomeFragment.$r8$lambda$JXyvVjNlJNWiWmYA7nVup1AxaDs(SourceFile:0)
	at de.danoeh.antennapod.ui.screen.home.HomeFragment$$ExternalSyntheticLambda0.run(SourceFile:0)
	at de.danoeh.antennapod.ui.screen.home.settingsdialog.HomeSectionsSettingsDialog.lambda$open$0(SourceFile:37)
	at de.danoeh.antennapod.ui.screen.home.settingsdialog.HomeSectionsSettingsDialog.$r8$lambda$K2sDst2zy5f6_bj5LifoxyRAXq0(SourceFile:0)
	at de.danoeh.antennapod.ui.screen.home.settingsdialog.HomeSectionsSettingsDialog$$ExternalSyntheticLambda1.onClick(SourceFile:0)
	at androidx.appcompat.app.AlertController$ButtonHandler.handleMessage(SourceFile:167)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7918)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)
@keunes keunes added Type: Possible bug Issues that seem to be a bug, but haven't been confirmed yet Functionality: Home labels May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality: Home Type: Possible bug Issues that seem to be a bug, but haven't been confirmed yet
Projects
None yet
Development

No branches or pull requests

1 participant