java.lang.IllegalStateException

Immutable bitmap passed to Canvas constructor

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11395

  • via Stack Overflow by Yerry Huntry
    , 1 year ago
    Immutable bitmap passed to Canvas constructor
  • via Google Groups by Unknown author, 2 weeks ago
    Immutable bitmap passed to Canvas constructor
  • Immutable bitmap passed to Canvas constructor
  • Stack trace

    • java.lang.IllegalStateException: Immutable bitmap passed to Canvas constructor at android.graphics.Canvas.<init>(Canvas.java:127) at com.example.sev_user.smarthome.gui.fragment.MapFragment$1.onBitmapLoaded(MapFragment.java:108) at com.squareup.picasso.TargetAction.complete(TargetAction.java:36) at com.squareup.picasso.Picasso.deliverAction(Picasso.java:557) at com.squareup.picasso.Picasso.complete(Picasso.java:509) at com.squareup.picasso.Picasso$1.handleMessage(Picasso.java:116) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4950) 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:997) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:764) at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 year ago
    30 times, 1 year ago