Closed GoogleCodeExporter closed 8 years ago
Maybe it's time for a new release, it seems some recent commits might have
fixed this problem :)
I'll try the trunk later
Original comment by frust...@gmail.com
on 29 May 2013 at 1:25
Just built a snapshot from trunk with maven, it seems the problem is still
there. Same crash stack.
Original comment by frust...@gmail.com
on 29 May 2013 at 2:29
Also tried to use this:
kryo.register(int[].class, new
DeflateSerializer(kryo.getDefaultSerializer(int[].class)));
Removing the DeflaterIOStream usage from the input/output.
There's no crash stack, but kryo.readObject(input, int[].class); returns a null
object
So i'm clueless now, how can i save primitive arrays?
Original comment by frust...@gmail.com
on 29 May 2013 at 3:20
Okey finally replaced the DeflaterStream with GZIPStream and now it works. Good
enough, but the original bug remains and the docs (Compression and encryption)
on the project home are leading to it.
Original comment by frust...@gmail.com
on 29 May 2013 at 3:40
Don't use DeflaterInputStream. Try this:
Input input = new Input(new InflaterInputStream(fh.read()));
Original comment by nathan.s...@gmail.com
on 29 May 2013 at 4:04
Ow i see now, very misleading stream terminology. :)
Thanks
Original comment by frust...@gmail.com
on 29 May 2013 at 4:42
Original issue reported on code.google.com by
frust...@gmail.com
on 29 May 2013 at 12:56