You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 18, 2019. It is now read-only.
When some such LZMA files (one of them I've posted to RapidShare) the following exception occurs:
java.io.IOException: Pipe closed
at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:244)
at java.io.PipedInputStream.awaitSpace(PipedInputStream.java:252)
at java.io.PipedInputStream.receive(PipedInputStream.java:215)
at java.io.PipedOutputStream.write(PipedOutputStream.java:132)
at lzma.sdk.lz.OutWindow.flush(OutWindow.java:81)
at lzma.sdk.lz.OutWindow.copyBlock(OutWindow.java:105)
at lzma.sdk.lzma.Decoder.code(Decoder.java:369)
at lzma.streams.LzmaDecoderWrapper.code(LzmaDecoderWrapper.java:60)
at org.cservenak.streams.CoderThread$1.run(CoderThread.java:46)
at org.cservenak.streams.CoderThread.run(CoderThread.java:91)
Reading code is roughly the following:
BufferedReader r = new BufferedReader(new InputStreamReader(new LzmaInputStream(new BufferedInputStream(new FileInputStream(testFile), 500 * 1024), new Decoder())));
r.readLine(); // in cycle
I have created LZMA archive using LZMA command-line utility form Debian.
When some such LZMA files (one of them I've posted to RapidShare) the following exception occurs:
Reading code is roughly the following: