nhachicha / SnappyDB

A key-value database for Android
1.78k stars 220 forks source link

getOject() throw Exception #61

Open cooperkong opened 9 years ago

cooperkong commented 9 years ago

Hi, there Thanks for the great library. I can still retrieve the object but it's print below exception.

com.snappydb.SnappydbException: Maybe you tried to retrieve an array using this method ? please use getObjectArray instead com.esotericsoftware.kryo.KryoException: Buffer too small: capacity: 4, required: 8

I'm using RxAndroid to read out the objects ,would that be an issue?

Cheers,

fabriciopaulo commented 9 years ago

I 'm also with this problem, if anyone knows the why of this exception and can help, we will be very grateful.