java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@21e6ac58

GitHub | laiis | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    App using Material-ripple crash when I touch item of recyclerview

    GitHub | 7 months ago | laiis
    java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@21e6ac58
  2. 0

    Runtime Exception Canvas: trying to use a recycled bitmap on Android 2.3.7

    GitHub | 3 years ago | chathudan
    java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4051ca68
  3. 0

    Trying to use a recycled bitmap

    GitHub | 2 years ago | miuirussia
    java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4293e448
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Verify that is not related to image loader

    GitHub | 5 years ago | luigi-agosti
    java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@44d911d0
  6. 0

    Make CacheableImageView gone and visible issue

    GitHub | 4 years ago | alexzaitsev
    java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4056fa50
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.RuntimeException

    Canvas: trying to use a recycled bitmap android.graphics.Bitmap@21e6ac58

    at android.graphics.Canvas.throwIfCannotDraw()
  2. Android Platform
    FrameLayout.draw
    1. android.graphics.Canvas.throwIfCannotDraw(Canvas.java:1084)
    2. android.view.GLES20Canvas.drawBitmap(GLES20Canvas.java:844)
    3. android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:490)
    4. android.widget.ImageView.onDraw(ImageView.java:1037)
    5. android.view.View.draw(View.java:14740)
    6. android.view.View.getDisplayList(View.java:13636)
    7. android.view.View.getDisplayList(View.java:13678)
    8. android.view.View.draw(View.java:14457)
    9. android.view.ViewGroup.drawChild(ViewGroup.java:3117)
    10. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2954)
    11. android.view.View.draw(View.java:14743)
    12. android.widget.FrameLayout.draw(FrameLayout.java:472)
    12 frames
  3. com.balysv.materialripple
    MaterialRippleLayout.draw
    1. com.balysv.materialripple.MaterialRippleLayout.draw(MaterialRippleLayout.java:479)
    1 frame
  4. Android Platform
    ViewGroup.drawChild
    1. android.view.View.getDisplayList(View.java:13636)
    2. android.view.View.getDisplayList(View.java:13678)
    3. android.view.View.draw(View.java:14457)
    4. android.view.ViewGroup.drawChild(ViewGroup.java:3117)
    5. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2954)
    6. android.view.View.getDisplayList(View.java:13631)
    7. android.view.View.getDisplayList(View.java:13678)
    8. android.view.View.draw(View.java:14457)
    9. android.view.ViewGroup.drawChild(ViewGroup.java:3117)
    9 frames
  5. Android v7
    RecyclerView.drawChild
    1. android.support.v7.widget.RecyclerView.drawChild(RecyclerView.java:3838)
    1 frame
  6. Android Platform
    View.draw
    1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2954)
    2. android.view.View.draw(View.java:14743)
    2 frames
  7. Android v7
    RecyclerView.draw
    1. android.support.v7.widget.RecyclerView.draw(RecyclerView.java:3308)
    1 frame
  8. Android Platform
    Handler.handleCallback
    1. android.view.View.getDisplayList(View.java:13636)
    2. android.view.View.getDisplayList(View.java:13678)
    3. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3091)
    4. android.view.View.getDisplayList(View.java:13574)
    5. android.view.View.getDisplayList(View.java:13678)
    6. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3091)
    7. android.view.View.getDisplayList(View.java:13574)
    8. android.view.View.getDisplayList(View.java:13678)
    9. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3091)
    10. android.view.View.getDisplayList(View.java:13574)
    11. android.view.View.getDisplayList(View.java:13678)
    12. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3091)
    13. android.view.View.getDisplayList(View.java:13574)
    14. android.view.View.getDisplayList(View.java:13678)
    15. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3091)
    16. android.view.View.getDisplayList(View.java:13574)
    17. android.view.View.getDisplayList(View.java:13678)
    18. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3091)
    19. android.view.View.getDisplayList(View.java:13574)
    20. android.view.View.getDisplayList(View.java:13678)
    21. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3091)
    22. android.view.View.getDisplayList(View.java:13574)
    23. android.view.View.getDisplayList(View.java:13678)
    24. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3091)
    25. android.view.View.getDisplayList(View.java:13574)
    26. android.view.View.getDisplayList(View.java:13678)
    27. android.view.HardwareRenderer$GlRenderer.buildDisplayList(HardwareRenderer.java:1570)
    28. android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1449)
    29. android.view.ViewRootImpl.draw(ViewRootImpl.java:2401)
    30. android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2273)
    31. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1903)
    32. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1020)
    33. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5762)
    34. android.view.Choreographer$CallbackRecord.run(Choreographer.java:771)
    35. android.view.Choreographer.doCallbacks(Choreographer.java:574)
    36. android.view.Choreographer.doFrame(Choreographer.java:544)
    37. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:757)
    38. android.os.Handler.handleCallback(Handler.java:733)
    38 frames