Skip to content

java.io.IOException: Cannot reset (Huge photo loading) #1519

Closed
@wGJUH

Description

@wGJUH

picasso 2.5.2
Code:
Picasso picasso = builder.build(); picasso.load(new File(authorImagePath)).error(R.drawable.favorites). placeholder(R.mipmap.ic_launcher).fit().centerCrop().into(imageView);

There is exception stacktrace
W/System.err: java.io.IOException: Cannot reset W/System.err: at com.squareup.picasso.MarkableInputStream.reset(MarkableInputStream.java:99) W/System.err: at com.squareup.picasso.BitmapHunter.decodeStream(BitmapHunter.java:140) W/System.err: at com.squareup.picasso.BitmapHunter.hunt(BitmapHunter.java:217) W/System.err: at com.squareup.picasso.BitmapHunter.run(BitmapHunter.java:159) W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237) W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) W/System.err: at java.lang.Thread.run(Thread.java:818) W/System.err: at com.squareup.picasso.Utils$PicassoThread.run(Utils.java:411)

Activity

wGJUH

wGJUH commented on Oct 28, 2016

@wGJUH
Author

Fixed by using snapshot-2.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @wGJUH

        Issue actions

          java.io.IOException: Cannot reset (Huge photo loading) · Issue #1519 · square/picasso