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

[media.ccc.de] NullPointerExcetion when opening channels #10698

Closed
6 tasks done
TobiGr opened this issue Dec 26, 2023 · 1 comment
Closed
6 tasks done

[media.ccc.de] NullPointerExcetion when opening channels #10698

TobiGr opened this issue Dec 26, 2023 · 1 comment
Labels
ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug media.ccc.de Service, https://media.ccc.de/

Comments

@TobiGr
Copy link
Member

TobiGr commented Dec 26, 2023

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.26.0

Steps to reproduce the bug

  1. select media.cc.de service
  2. open a channel, e.g. though the "recent" tab

Expected behavior

see the channel

Actual behavior

NewPipe crashes while trying to open the channel

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: DE
  • Content Language: de-
  • App Language: en
  • Service: none
  • Version: 0.26.0
  • OS: Linux Android 12 - 32
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'org.schabi.newpipe.extractor.linkhandler.ListLinkHandler org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory.fromQuery(java.lang.String, java.util.List, java.lang.String)' on a null object reference
	at org.schabi.newpipe.fragments.list.channel.ChannelTabFragment.handleResult(ChannelTabFragment.java:133)
	at org.schabi.newpipe.fragments.list.channel.ChannelTabFragment.handleResult(ChannelTabFragment.java:37)
	at org.schabi.newpipe.fragments.list.BaseListInfoFragment.lambda$startLoading$0(BaseListInfoFragment.java:150)
	at org.schabi.newpipe.fragments.list.BaseListInfoFragment.$r8$lambda$yX6S2nKGSbR70YowNdSpGemC7q4(BaseListInfoFragment.java:0)
	at org.schabi.newpipe.fragments.list.BaseListInfoFragment$$ExternalSyntheticLambda4.accept(R8$$SyntheticClass:0)
	at io.reactivex.rxjava3.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:62)
	at io.reactivex.rxjava3.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(SingleObserveOn.java:81)
	at io.reactivex.rxjava3.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:123)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7870)
	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:1003)


Affected Android/Custom ROM version

all

Affected device model

all

Additional information

#10673 causes a crash. The getChannelTabLHFactory() method is null for media.ccc.de:

https://github.com/TeamNewPipe/NewPipeExtractor/blob/f276caf54a85a271904943e4aa6c57efd4249fec/extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/MediaCCCService.java#L53-L56

@AudricV
Copy link
Member

AudricV commented Dec 28, 2023

Fixed by #10699, for which its changes have been merged with #10700.

@AudricV AudricV closed this as completed Dec 28, 2023
@AudricV AudricV added the ASAP Issue needs to be fixed as soon as possible label Dec 28, 2023
javulticat pushed a commit to NewPipeX/NewPipeX that referenced this issue Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug media.ccc.de Service, https://media.ccc.de/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants