java.lang.reflect.InvocationTargetException

GitHub | oubowu | 2 years 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

    OutOfMemory in Lollipop & Marshmallow

    GitHub | 8 months ago | minstrelsy
    java.lang.OutOfMemoryError: Failed to allocate a 26211852 byte allocation with 16777216 free bytes and 21MB until OOM
  2. 0

    GitHub comment 1416#245191145

    GitHub | 6 months ago | ladia12
    java.lang.OutOfMemoryError: Failed to allocate a 8843124 byte allocation with 7598648 free bytes and 7MB until OOM
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Many errors OutOfMemoryError

    GitHub | 3 years ago | moisesvs
    java.lang.OutOfMemoryError
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.OutOfMemoryError

    No message provided

    at android.graphics.BitmapFactory.nativeDecodeAsset()
  2. Android Platform
    Resources.getDrawable
    1. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    2. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:596)
    3. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444)
    4. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:832)
    5. android.content.res.Resources.loadDrawable(Resources.java:2988)
    6. android.content.res.Resources.getDrawable(Resources.java:1558)
    6 frames
  3. com.facebook.drawee
    SimpleDraweeView.<init>
    1. com.facebook.drawee.view.GenericDraweeView.inflateHierarchy(GenericDraweeView.java:244)
    2. com.facebook.drawee.view.GenericDraweeView.<init>(GenericDraweeView.java:75)
    3. com.facebook.drawee.view.SimpleDraweeView.<init>(SimpleDraweeView.java:58)
    3 frames
  4. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    2 frames
  5. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:643)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:745)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:804)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:812)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:526)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:426)
    6 frames
  6. com.sailvan.dealsale
    SearchListActivity$MyAdapter.onCreateViewHolder
    1. com.sailvan.dealsale.SearchListActivity$MyAdapter.onCreateViewHolder(SearchListActivity.java:741)
    1 frame
  7. Android v7
    RecyclerView.onLayout
    1. android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:4385)
    2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3700)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3609)
    4. android.support.v7.widget.LayoutState.next(LayoutState.java:83)
    5. android.support.v7.widget.StaggeredGridLayoutManager.fill(StaggeredGridLayoutManager.java:1380)
    6. android.support.v7.widget.StaggeredGridLayoutManager.onLayoutChildren(StaggeredGridLayoutManager.java:585)
    7. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2118)
    8. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:2415)
    8 frames
  8. Android Platform
    LinearLayout.onLayout
    1. android.view.View.layout(View.java:15213)
    2. android.view.ViewGroup.layout(ViewGroup.java:4793)
    3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)
    4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)
    5. android.widget.LinearLayout.onLayout(LinearLayout.java:1440)
    5 frames
  9. com.sailvan.dealsale
    RefreshableView.onLayout
    1. com.sailvan.dealsale.customcontrols.RefreshableView.onLayout(RefreshableView.java:228)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:15213)
    2. android.view.ViewGroup.layout(ViewGroup.java:4793)
    3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)
    4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)
    5. android.widget.LinearLayout.onLayout(LinearLayout.java:1440)
    6. android.view.View.layout(View.java:15213)
    7. android.view.ViewGroup.layout(ViewGroup.java:4793)
    8. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)
    9. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)
    10. android.widget.LinearLayout.onLayout(LinearLayout.java:1440)
    11. android.view.View.layout(View.java:15213)
    12. android.view.ViewGroup.layout(ViewGroup.java:4793)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    14. android.view.View.layout(View.java:15213)
    15. android.view.ViewGroup.layout(ViewGroup.java:4793)
    16. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    17. android.view.View.layout(View.java:15213)
    18. android.view.ViewGroup.layout(ViewGroup.java:4793)
    19. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)
    20. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)
    21. android.widget.LinearLayout.onLayout(LinearLayout.java:1440)
    22. android.view.View.layout(View.java:15213)
    23. android.view.ViewGroup.layout(ViewGroup.java:4793)
    24. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    25. android.view.View.layout(View.java:15213)
    26. android.view.ViewGroup.layout(ViewGroup.java:4793)
    27. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2140)
    28. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1886)
    29. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1128)
    30. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6269)
    31. android.view.Choreographer$CallbackRecord.run(Choreographer.java:791)
    32. android.view.Choreographer.doCallbacks(Choreographer.java:591)
    33. android.view.Choreographer.doFrame(Choreographer.java:561)
    34. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777)
    35. android.os.Handler.handleCallback(Handler.java:730)
    36. android.os.Handler.dispatchMessage(Handler.java:92)
    37. android.os.Looper.loop(Looper.java:176)
    38. android.app.ActivityThread.main(ActivityThread.java:5493)
    38 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1225)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1041)
    2 frames
  13. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame