App crashes , Network

App crashs with try to change network/content refresh rate

Environment

Android version: 6.0.1
OS version: 3.4.39-13885706
AntennaPod version: 2.5.1
Model: SM-G800F
Device: kminilte
Product: kminiltexx

Crash info

Time: 11-04-2022 08:29:09
AntennaPod version: 2.5.1

StackTrace

android.view.InflateException: Binary XML file line #32: Binary XML file line #32: Error inflating class android.widget.TimePicker
	at android.view.LayoutInflater.inflate(LayoutInflater.java:551)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:429)
	at de.danoeh.antennapod.databinding.FeedRefreshDialogBinding.inflate(SourceFile:68)
	at de.danoeh.antennapod.databinding.FeedRefreshDialogBinding.inflate(SourceFile:62)
	at de.danoeh.antennapod.dialog.FeedRefreshIntervalDialog.show(SourceFile:31)
	at de.danoeh.antennapod.fragment.preferences.NetworkPreferencesFragment.lambda$setupNetworkScreen$1(SourceFile:59)
	at de.danoeh.antennapod.fragment.preferences.NetworkPreferencesFragment.lambda$setupNetworkScreen$1$NetworkPreferencesFragment(SourceFile)
	at de.danoeh.antennapod.fragment.preferences.-$$Lambda$NetworkPreferencesFragment$kPvo2nXU-MMDbgxEo46hpNjTAOs.onPreferenceClick(SourceFile)
	at androidx.preference.Preference.performClick(SourceFile:1184)
	at androidx.preference.Preference.performClick(SourceFile:1166)
	at androidx.preference.Preference$1.onClick(SourceFile:181)
	at android.view.View.performClick(View.java:5721)
	at android.view.View$PerformClick.run(View.java:22620)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:7331)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: android.view.InflateException: Binary XML file line #32: Error inflating class android.widget.TimePicker
	at android.view.LayoutInflater.createView(LayoutInflater.java:657)
	at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
	at android.view.LayoutInflater.onCreateView(LayoutInflater.java:706)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:774)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:847)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:527)
	... 19 more
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Constructor.newInstance(Native Method)
	at android.view.LayoutInflater.createView(LayoutInflater.java:631)
	... 26 more
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void android.widget.TimePicker$TimePickerDelegate.onRtlPropertiesChanged(int)' on a null object reference
	at android.widget.TimePicker.onRtlPropertiesChanged(TimePicker.java:248)
	at android.view.View.resolvePadding(View.java:15678)
	at android.view.ViewGroup.resolvePadding(ViewGroup.java:6974)
	at android.view.View.initializeScrollbarsInternal(View.java:5365)
	at android.view.View.<init>(View.java:4700)
	at android.view.ViewGroup.<init>(ViewGroup.java:591)
	at android.widget.FrameLayout.<init>(FrameLayout.java:97)
	at android.widget.TimePicker.<init>(TimePicker.java:78)
	at android.widget.TimePicker.<init>(TimePicker.java:74)
	at android.widget.TimePicker.<init>(TimePicker.java:70)
	... 28 more

Unfortunately Samsung messed up a system component in that version of Android.

Antenna interestingly works well under same Samsung Version for month. The bug just occurs after new install of Antenna, I did for whatever reason.
Are there any way to fix the issue?

I found a way that might be able to work around that Samsung bug. Will be released in AntennaPod 2.6.0

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.