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

GitHub | atoone | 5 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

    GitHub comment 424#248963589

    GitHub | 5 months ago | atoone
    java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@27625cc0
  2. 0

    Random crash when displaying a map

    GitHub | 3 months ago | tartina
    java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4219cc28
  3. 0

    GifDrawable may try to draw with recycled bitmaps

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

    Automated exception search integrated into your IDE

  5. 0

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

    GitHub | 1 year ago | sirbralex
    java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@42e9b978
  6. 0

    RuntimeException: Canvas: trying to use a recycled bitmap

    GitHub | 2 years ago | van11
    java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4503a610

    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@27625cc0

      at android.graphics.Canvas.throwIfCannotDraw()
    2. Android Platform
      GLES20Canvas.drawBitmap
      1. android.graphics.Canvas.throwIfCannotDraw(Canvas.java:1084)
      2. android.view.GLES20Canvas.drawBitmap(GLES20Canvas.java:811)
      2 frames
    3. org.osmdroid.views
      MapView.dispatchDraw
      1. org.osmdroid.views.overlay.mylocation.MyLocationNewOverlay.drawMyLocation(MyLocationNewOverlay.java:259)
      2. org.osmdroid.views.overlay.mylocation.MyLocationNewOverlay.draw(MyLocationNewOverlay.java:323)
      3. org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(DefaultOverlayManager.java:134)
      4. org.osmdroid.views.MapView.dispatchDraw(MapView.java:1076)
      4 frames
    4. Android Platform
      FrameLayout.draw
      1. android.view.View.getDisplayList(View.java:13364)
      2. android.view.View.getDisplayList(View.java:13411)
      3. android.view.View.draw(View.java:14190)
      4. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      5. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      6. android.view.View.getDisplayList(View.java:13364)
      7. android.view.View.getDisplayList(View.java:13411)
      8. android.view.View.draw(View.java:14190)
      9. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      10. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      11. android.view.View.getDisplayList(View.java:13364)
      12. android.view.View.getDisplayList(View.java:13411)
      13. android.view.View.draw(View.java:14190)
      14. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      15. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      16. android.view.View.getDisplayList(View.java:13364)
      17. android.view.View.getDisplayList(View.java:13411)
      18. android.view.View.draw(View.java:14190)
      19. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      20. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      21. android.view.View.getDisplayList(View.java:13364)
      22. android.view.View.getDisplayList(View.java:13411)
      23. android.view.View.draw(View.java:14190)
      24. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      25. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      26. android.view.View.draw(View.java:14476)
      27. android.widget.FrameLayout.draw(FrameLayout.java:472)
      27 frames
    5. Android
      PhoneWindow$DecorView.draw
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2329)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.view.View.getDisplayList(View.java:13369)
      2. android.view.View.getDisplayList(View.java:13411)
      3. android.view.HardwareRenderer$GlRenderer.buildDisplayList(HardwareRenderer.java:1570)
      4. android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1449)
      5. android.view.ViewRootImpl.draw(ViewRootImpl.java:2377)
      6. android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2249)
      7. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1879)
      8. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:996)
      9. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5600)
      10. android.view.Choreographer$CallbackRecord.run(Choreographer.java:771)
      11. android.view.Choreographer.doCallbacks(Choreographer.java:574)
      12. android.view.Choreographer.doFrame(Choreographer.java:544)
      13. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:757)
      14. android.os.Handler.handleCallback(Handler.java:733)
      15. android.os.Handler.dispatchMessage(Handler.java:95)
      16. android.os.Looper.loop(Looper.java:149)
      17. android.app.ActivityThread.main(ActivityThread.java:5045)
      17 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:610)
      2 frames
    9. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame