com.squareup.tape.FileException

Failed to peek.

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 web3

  • via GitHub by mozinrat
    , 11 months ago
    Failed to peek.
  • via GitHub by drspaceboo
    , 1 year ago
    Failed to remove.
  • via GitHub by phil-brown
    , 1 year ago
    Unable to iterate over QueueFile contents.
  • Stack trace

    • com.squareup.tape.FileException: Failed to peek. at com.squareup.tape.FileObjectQueue.peek(FileObjectQueue.java:59) at com.example.FileQueueConsumer.run(FileQueueConsumer.java:19) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.StreamCorruptedException: invalid type code: AC at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1381) at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:463) at com.squareup.tape.SerializedConverter.deserialize(SerializedConverter.java:27) at com.squareup.tape.SerializedConverter.from(SerializedConverter.java:37) at com.squareup.tape.SerializedConverter.from(SerializedConverter.java:20) at com.squareup.tape.FileObjectQueue.peek(FileObjectQueue.java:57) ... 3 more

    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

    5 times, 8 months ago
    Unknown user
    Once, 10 months ago
    8 times, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    19 more bugmates