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

GitHub | motatuc | 5 months ago
  1. 0

    Nullpointer while searching

    GitHub | 5 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
  2. 0
    Initialize the variable before calling a method on it.
  3. 0
    Use 'dialog' to access views from custom_layout layout.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    The resource was accessed after it was dismissed.
  6. 0
    The parsed JSON does not contains the requested field.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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