Skip to content

NullPointerException in ResourceRequestHandler #1004

@runningcode

Description

@runningcode

This crash happens often for our users but I can't seem to repro it. The crash seems to have only started happening after we started using Picasso to load contact images. We can't seem to figure out how Picasso could get in to this state.
For reference: we are using Picasso 2.5.2

java.lang.NullPointerException
       at com.squareup.picasso.ResourceRequestHandler.canHandleRequest(ResourceRequestHandler.java:39)
       at com.squareup.picasso.BitmapHunter.forRequest(BitmapHunter.java:416)
       at com.squareup.picasso.Dispatcher.performSubmit(Dispatcher.java:201)
       at com.squareup.picasso.Dispatcher.performSubmit(Dispatcher.java:175)
       at com.squareup.picasso.Dispatcher$DispatcherHandler.handleMessage(Dispatcher.java:482)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:136)
       at android.os.HandlerThread.run(HandlerThread.java:61)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions