java.lang.NullPointerException: Attempt to invoke virtual method 'org.jsoup.select.Elements org.jsoup.nodes.Element.children()' on a null object reference

GitHub | motatuc | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Nullpointer while searching

    GitHub | 7 months ago | motatuc
    java.lang.NullPointerException: Attempt to invoke virtual method 'org.jsoup.select.Elements org.jsoup.nodes.Element.children()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'org.jsoup.select.Elements org.jsoup.nodes.Element.children()' on a null object reference

      at org.schabi.newpipe.extractor.services.youtube.YoutubeSearchEngine.search()
    2. org.schabi.newpipe
      VideoItemListFragment$SearchRunnable.run
      1. org.schabi.newpipe.extractor.services.youtube.YoutubeSearchEngine.search(YoutubeSearchEngine.java:94)
      2. org.schabi.newpipe.extractor.SearchResult.getSearchResult(SearchResult.java:32)
      3. org.schabi.newpipe.VideoItemListFragment$SearchRunnable.run(VideoItemListFragment.java:111)
      3 frames