Skip to content

[Ver v0.24.6] Crash app when extractor link youtube. #12320

@vanvyhk1991

Description

@vanvyhk1991

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

v0.24.6

Steps to reproduce the bug

open screen and use
val service = ServiceList.YouTube
val streamInfo = StreamInfo.getInfo(service, "https://www.youtube.com/watch?v=t5tBVKXMh5k")

Expected behavior

No response

Actual behavior

No response

Screenshots/Screen recordings

No response

Logs

java.lang.NoSuchMethodError: No static method decode(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String; in class Ljava/net/URLDecoder; or its super classes (declaration of 'java.net.URLDecoder' appears in /apex/com.android.runtime/javalib/core-oj.jar)
at org.schabi.newpipe.extractor.utils.Utils.decodeUrlUtf8(Utils.java:46)
at org.schabi.newpipe.extractor.utils.Utils.getQueryValue(Utils.java:153)
at org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubePlaylistLinkHandlerFactory.getId(YoutubePlaylistLinkHandlerFactory.java:48)
at org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubePlaylistLinkHandlerFactory.onAcceptUrl(YoutubePlaylistLinkHandlerFactory.java:69)
at org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory.acceptUrl(LinkHandlerFactory.java:105)
at org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubeStreamLinkHandlerFactory.getId(YoutubeStreamLinkHandlerFactory.java:136)
at org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubeStreamLinkHandlerFactory.onAcceptUrl(YoutubeStreamLinkHandlerFactory.java:243)
at org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory.acceptUrl(LinkHandlerFactory.java:105)
at org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory.fromUrl(LinkHandlerFactory.java:79)
at org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory.fromUrl(LinkHandlerFactory.java:63)
at org.schabi.newpipe.extractor.StreamingService.getStreamExtractor(StreamingService.java:302)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:72)

Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    template ignoredThe user didn't follow the template/instructions (or removed them)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions