Picasso: BitmapHunter Exception - Unrecognized type of request

Created on 18 Apr 2016  路  3Comments  路  Source: square/picasso

java.lang.IllegalStateException: Unrecognized type of request: Request{"https://s3-us-west-2.amazonaws.com/test-magictiger-uploads-thumbs/ccc33adf-0e01-4899-b4b1-868932913176.png鈥潁
at com.squareup.picasso.BitmapHunter$2.load(BitmapHunter.java:66)
at com.squareup.picasso.BitmapHunter.hunt(BitmapHunter.java:206)
at com.squareup.picasso.BitmapHunter.run(BitmapHunter.java:159)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
at com.squareup.picasso.Utils$PicassoThread.run(Utils.java:411)

I am unable to show using image using picasso....please find above the logs for this error.

Most helpful comment

In particular I had this error because the URL I was getting, as the error mentions, is not a valid URL that a handler can use. In particular, the URL string had spaces before the "http", like:

" http://example.com/image.jpg".

So I just had to call trim() on the url string, before loading it with Picasso, and worked great!

All 3 comments

the url was inside the enclosing quotes ""....which was causing the exception

鍚屾眰瑙g瓟

In particular I had this error because the URL I was getting, as the error mentions, is not a valid URL that a handler can use. In particular, the URL string had spaces before the "http", like:

" http://example.com/image.jpg".

So I just had to call trim() on the url string, before loading it with Picasso, and worked great!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paatz04 picture paatz04  路  6Comments

caoguodong picture caoguodong  路  3Comments

ghost picture ghost  路  6Comments

sd6352051 picture sd6352051  路  7Comments

ghost picture ghost  路  5Comments