java.lang.NullPointerException: Attempt to invoke interface method 'void musicgenie.com.musicgenie.interfaces.TaskAddListener.onTaskTapped()' on a null object reference

GitHub | bxute | 6 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

    GitHub comment 14#239660931

    GitHub | 6 months ago | bxute
    java.lang.NullPointerException: Attempt to invoke interface method 'void musicgenie.com.musicgenie.interfaces.TaskAddListener.onTaskTapped()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke interface method 'void musicgenie.com.musicgenie.interfaces.TaskAddListener.onTaskTapped()' on a null object reference

      at musicgenie.com.musicgenie.adapters.SearchResultListAdapter.addDownloadTask()
    2. musicgenie.com.musicgenie
      SearchResultListAdapter$1.onClick
      1. musicgenie.com.musicgenie.adapters.SearchResultListAdapter.addDownloadTask(SearchResultListAdapter.java:148)
      2. musicgenie.com.musicgenie.adapters.SearchResultListAdapter.access$000(SearchResultListAdapter.java:42)
      3. musicgenie.com.musicgenie.adapters.SearchResultListAdapter$1.onClick(SearchResultListAdapter.java:110)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:4802)
      2. android.view.View$PerformClick.run(View.java:20102)
      3. android.os.Handler.handleCallback(Handler.java:810)
      4. android.os.Handler.dispatchMessage(Handler.java:99)
      5. android.os.Looper.loop(Looper.java:189)
      6. android.app.ActivityThread.main(ActivityThread.java:5529)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames