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

NPE in ItemDescriptionFragment.loadData #4308

Closed
3 tasks done
ByteHamster opened this issue Jul 22, 2020 · 1 comment
Closed
3 tasks done

NPE in ItemDescriptionFragment.loadData #4308

ByteHamster opened this issue Jul 22, 2020 · 1 comment
Labels
Type: Confirmed bug Bugs confirmed by a lead developer

Comments

@ByteHamster
Copy link
Member

Checklist

  • I have used the search function to see if someone else has already submitted the same bug report.
  • 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.

System info

App version: 2.0.0-RC5 (Where did you download the app?)

Android version: all? (Please mention if you are using a custom rom!)

Bug description

Steps to reproduce:
Not really reproducible. Going back from player to queue. According to Google Play, this is the most-experienced crash in 2.0.0. I thought that this is caused by switching themes but having this occur during normal use is a pretty big problem. One (apparently failed) attempt to fix this can be found in #4242.

First occurred: at least RC5

Environment: (Settings you have changed (e.g. Auto Download). "Unusual" devices you use (e.g. Bluetooth headphones). Did you select another media player?)

Stacktrace/Logcat:

FATAL EXCEPTION: RxCachedThreadScheduler-6
Process: de.danoeh.antennapod, PID: 20248
java.lang.NullPointerException: Attempt to invoke virtual method 'de.danoeh.antennapod.core.util.playback.Playable de.danoeh.antennapod.core.util.playback.PlaybackController.getMedia()' on a null object reference
   at de.danoeh.antennapod.fragment.ItemDescriptionFragment.loadData(SourceFile:103)
   at de.danoeh.antennapod.fragment.ItemDescriptionFragment.lambda$_4WT8TEnWgDVqAVayeJb4qUkUqU(Unknown Source:0)
   at de.danoeh.antennapod.fragment.-$$Lambda$ItemDescriptionFragment$_4WT8TEnWgDVqAVayeJb4qUkUqU.call(Unknown Source:2)
   at io.reactivex.internal.operators.maybe.MaybeFromCallable.subscribeActual(SourceFile:46)
   at io.reactivex.Maybe.subscribe(SourceFile:4262)
   at io.reactivex.internal.operators.maybe.MaybeSubscribeOn$SubscribeTask.run(SourceFile:54)
   at io.reactivex.Scheduler$DisposeTask.run(SourceFile:578)
   at io.reactivex.internal.schedulers.ScheduledRunnable.run(SourceFile:66)
   at io.reactivex.internal.schedulers.ScheduledRunnable.call(SourceFile:57)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
   at java.lang.Thread.run(Thread.java:919)
@ByteHamster ByteHamster added the Type: Confirmed bug Bugs confirmed by a lead developer label Jul 22, 2020
@antennapod-bot
Copy link

This issue has been mentioned on AntennaPod Forum. There might be relevant details there:

https://forum.antennapod.org/t/antennapod-close-itself-when-turning-off-screen-while-playing/81/4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Confirmed bug Bugs confirmed by a lead developer
Projects
None yet
Development

No branches or pull requests

2 participants