java.lang.IllegalArgumentException: Target must not be null.

Stack Overflow | Amr Kamal | 2 weeks ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    How to load data from Mysql database to android listview

    Stack Overflow | 2 weeks ago | Amr Kamal
    java.lang.IllegalArgumentException: Target must not be null.
  2. 0
    samebug tip
    You cannot update your adapter contents in the background. Prepare your data on the background thread and then pass it to the main thread to update the adapter and call notify.
  3. 0

    Android ListView Error when i run

    Stack Overflow | 2 years ago | user3671271
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException createViewFromResource Error

    Stack Overflow | 2 years ago | Shahtaj Khalid
    java.lang.NullPointerException
  6. 0
    samebug tip
    Also, you should dispatch events as soon as they happen, ReciclerView already bundles all updates.
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.IllegalArgumentException

    Target must not be null.

    at com.squareup.picasso.RequestCreator.into()
  2. Picasso
    RequestCreator.into
    1. com.squareup.picasso.RequestCreator.into(RequestCreator.java:618)
    2. com.squareup.picasso.RequestCreator.into(RequestCreator.java:601)
    2 frames
  3. com.example.amr
    ByCategoryMenu$listAdpter.getView
    1. com.example.amr.fujeraapp.ByCategoryMenu$listAdpter.getView(ByCategoryMenu.java:136)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.widget.AbsListView.obtainView(AbsListView.java:2338)
    2. android.widget.ListView.makeAndAddView(ListView.java:1812)
    3. android.widget.ListView.fillDown(ListView.java:698)
    4. android.widget.ListView.fillFromTop(ListView.java:759)
    5. android.widget.ListView.layoutChildren(ListView.java:1645)
    6. android.widget.AbsListView.onLayout(AbsListView.java:2149)
    7. android.view.View.layout(View.java:15125)
    8. android.view.ViewGroup.layout(ViewGroup.java:4862)
    9. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1888)
    10. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1742)
    11. android.widget.LinearLayout.onLayout(LinearLayout.java:1651)
    12. android.view.View.layout(View.java:15125)
    13. android.view.ViewGroup.layout(ViewGroup.java:4862)
    14. android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
    15. android.widget.FrameLayout.onLayout(FrameLayout.java:450)
    16. android.view.View.layout(View.java:15125)
    17. android.view.ViewGroup.layout(ViewGroup.java:4862)
    18. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1888)
    19. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1742)
    20. android.widget.LinearLayout.onLayout(LinearLayout.java:1651)
    21. android.view.View.layout(View.java:15125)
    22. android.view.ViewGroup.layout(ViewGroup.java:4862)
    23. android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
    24. android.widget.FrameLayout.onLayout(FrameLayout.java:450)
    25. android.view.View.layout(View.java:15125)
    26. android.view.ViewGroup.layout(ViewGroup.java:4862)
    27. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2317)
    28. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2023)
    29. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1189)
    30. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6223)
    31. android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)
    32. android.view.Choreographer.doCallbacks(Choreographer.java:591)
    33. android.view.Choreographer.doFrame(Choreographer.java:560)
    34. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)
    35. android.os.Handler.handleCallback(Handler.java:808)
    36. android.os.Handler.dispatchMessage(Handler.java:103)
    37. android.os.Looper.loop(Looper.java:193)
    38. android.app.ActivityThread.main(ActivityThread.java:5333)
    38 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:828)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:644)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame