java.lang.IllegalStateException: Immutable bitmap passed to Canvas constructor

  1. 0

    How to create a mutable bitmap using picasso?

    Stack Overflow | 2 months ago | Ngoc Thang Pham
    java.lang.IllegalStateException: Immutable bitmap passed to Canvas constructor
  2. 0

    Immutable bitmap crash error

    Stack Overflow | 4 years ago | Yerry Huntry
    java.lang.IllegalStateException: Immutable bitmap passed to Canvas constructor
  3. 0

    Crash in Android App

    Stack Overflow | 4 years ago | Ankuj
    java.lang.IllegalStateException: Could not execute method of the activity
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception while Loading Image from gallery

    Stack Overflow | 3 years ago | VipulKumar
    java.lang.IllegalStateException: Immutable bitmap passed to Canvas constructor at android.graphics.Canvas.<init>(Canvas.java:83)
  6. 0

    Drawing Text (TimeStamp) Over image captured from Standalone Camera

    Stack Overflow | 4 years ago | Jaison Brooks
    java.lang.IllegalStateException: Immutable bitmap passed to Canvas constructor at android.graphics.Canvas.<init> (Canvas.java:133)

  1. Agócs Tamás 1 times, last 8 months ago
  2. balajivaishnav 30 times, last 9 months ago
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.IllegalStateException

    Immutable bitmap passed to Canvas constructor

    at android.graphics.Canvas.<init>()
  2. Android Platform
    Canvas.<init>
    1. android.graphics.Canvas.<init>(Canvas.java:127)
    1 frame
  3. com.example.sev_user
    MapFragment$1.onBitmapLoaded
    1. com.example.sev_user.smarthome.gui.fragment.MapFragment$1.onBitmapLoaded(MapFragment.java:108)
    1 frame
  4. Picasso
    Picasso$1.handleMessage
    1. com.squareup.picasso.TargetAction.complete(TargetAction.java:36)
    2. com.squareup.picasso.Picasso.deliverAction(Picasso.java:557)
    3. com.squareup.picasso.Picasso.complete(Picasso.java:509)
    4. com.squareup.picasso.Picasso$1.handleMessage(Picasso.java:116)
    4 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:99)
    2. android.os.Looper.loop(Looper.java:137)
    3. android.app.ActivityThread.main(ActivityThread.java:4950)
    3 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:997)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:764)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame