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

Appcelerator JIRA | Mauro Parra-Miranda | 5 years 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

    h4. Problem Description The customer is getting this report of crashing in the Google Play. h4. Crash Report {code} v1.1 Apr 28, 2012 5:35:32 PM 1 reports/week 1 reports java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4147eda8 at android.graphics.Canvas.throwIfRecycled(Canvas.java:1038) at android.graphics.Canvas.drawBitmap(Canvas.java:1142) at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:393) at android.widget.ImageView.onDraw(ImageView.java:892) at android.view.View.draw(View.java:10978) at android.view.ViewGroup.drawChild(ViewGroup.java:2887) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.View.draw(View.java:10981) at android.view.ViewGroup.drawChild(ViewGroup.java:2887) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.View.draw(View.java:11083) at android.widget.FrameLayout.draw(FrameLayout.java:450) at android.widget.ScrollView.draw(ScrollView.java:1524) at android.view.ViewGroup.drawChild(ViewGroup.java:2887) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.View.draw(View.java:10981) at android.view.ViewGroup.drawChild(ViewGroup.java:2887) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.View.draw(View.java:10981) at android.widget.FrameLayout.draw(FrameLayout.java:450) at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2126) at android.view.ViewRootImpl.draw(ViewRootImpl.java:2026) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1634) at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4424) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554) at dalvik.system.NativeStart.main(Native Method) {code}

    Appcelerator JIRA | 5 years ago | Mauro Parra-Miranda
    java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4147eda8
  2. 0

    h4. Problem Description The customer is getting this report of crashing in the Google Play. h4. Crash Report {code} v1.1 Apr 28, 2012 5:35:32 PM 1 reports/week 1 reports java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4147eda8 at android.graphics.Canvas.throwIfRecycled(Canvas.java:1038) at android.graphics.Canvas.drawBitmap(Canvas.java:1142) at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:393) at android.widget.ImageView.onDraw(ImageView.java:892) at android.view.View.draw(View.java:10978) at android.view.ViewGroup.drawChild(ViewGroup.java:2887) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.View.draw(View.java:10981) at android.view.ViewGroup.drawChild(ViewGroup.java:2887) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.View.draw(View.java:11083) at android.widget.FrameLayout.draw(FrameLayout.java:450) at android.widget.ScrollView.draw(ScrollView.java:1524) at android.view.ViewGroup.drawChild(ViewGroup.java:2887) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.View.draw(View.java:10981) at android.view.ViewGroup.drawChild(ViewGroup.java:2887) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.ViewGroup.drawChild(ViewGroup.java:2885) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) at android.view.View.draw(View.java:10981) at android.widget.FrameLayout.draw(FrameLayout.java:450) at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2126) at android.view.ViewRootImpl.draw(ViewRootImpl.java:2026) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1634) at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4424) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554) at dalvik.system.NativeStart.main(Native Method) {code}

    Appcelerator JIRA | 5 years ago | Mauro Parra-Miranda
    java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4147eda8
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

  1. balajivaishnav 7 times, last 1 year ago
2 unregistered visitors
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@4147eda8

    at android.graphics.Canvas.throwIfRecycled()
  2. Android Platform
    FrameLayout.draw
    1. android.graphics.Canvas.throwIfRecycled(Canvas.java:1038)
    2. android.graphics.Canvas.drawBitmap(Canvas.java:1142)
    3. android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:393)
    4. android.widget.ImageView.onDraw(ImageView.java:892)
    5. android.view.View.draw(View.java:10978)
    6. android.view.ViewGroup.drawChild(ViewGroup.java:2887)
    7. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
    8. android.view.ViewGroup.drawChild(ViewGroup.java:2885)
    9. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
    10. android.view.ViewGroup.drawChild(ViewGroup.java:2885)
    11. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
    12. android.view.View.draw(View.java:10981)
    13. android.view.ViewGroup.drawChild(ViewGroup.java:2887)
    14. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
    15. android.view.ViewGroup.drawChild(ViewGroup.java:2885)
    16. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
    17. android.view.View.draw(View.java:11083)
    18. android.widget.FrameLayout.draw(FrameLayout.java:450)
    19. android.widget.ScrollView.draw(ScrollView.java:1524)
    20. android.view.ViewGroup.drawChild(ViewGroup.java:2887)
    21. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
    22. android.view.View.draw(View.java:10981)
    23. android.view.ViewGroup.drawChild(ViewGroup.java:2887)
    24. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
    25. android.view.ViewGroup.drawChild(ViewGroup.java:2885)
    26. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
    27. android.view.ViewGroup.drawChild(ViewGroup.java:2885)
    28. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
    29. android.view.ViewGroup.drawChild(ViewGroup.java:2885)
    30. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
    31. android.view.View.draw(View.java:10981)
    32. android.widget.FrameLayout.draw(FrameLayout.java:450)
    32 frames
  3. Android
    PhoneWindow$DecorView.draw
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2126)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.view.ViewRootImpl.draw(ViewRootImpl.java:2026)
    2. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1634)
    3. android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442)
    4. android.os.Handler.dispatchMessage(Handler.java:99)
    5. android.os.Looper.loop(Looper.java:137)
    6. android.app.ActivityThread.main(ActivityThread.java:4424)
    6 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame