Paper
Paper copied to clipboard
Paper is a fast NoSQL-like storage for Java/Kotlin objects on Android with automatic schema migration support.
(temporary?) fix for pilgr/Paper#200
the current `Paper.init(Context)` forces you to provide a context. However there's a case where mContext in Paper is not used at all: when location is explicit in getBook(). ``` private...
Not saving HttpCookie("token","27XSFEIJEIFREf") in android 12. below android 12 is working fine.
If I want to save` SparseArray` not works
Very rarely crash happening in AppDialer app using Paper, affects only 0,05% sessions. ``` Caused by: com.esotericsoftware.kryo.KryoException: Buffer underflow. Serialization trace: a (io.paperdb.PaperTable) at com.esotericsoftware.kryo.io.Input.require(Input.java:199) at com.esotericsoftware.kryo.io.Input.readVarInt(Input.java:373) at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:127) at...
implementation 'io.paperdb:paperdb:2.7.1' I found a several greylist api invoke in "com.esotericsoftware:kryo" and "de.javakaffee:kryo-serializers:0.40". such as: ` #70: Reflection greylist Ljava/util/ArrayList$SubList;->parentOffset use(s): Lde/javakaffee/kryoserializers/SubListSerializers$ArrayListSubListSerializer;->()V #71: Reflection greylist Ljava/util/Arrays$ArrayList;->a use(s): Lde/javakaffee/kryoserializers/ArraysAsListSerializer;->()V #72: Reflection...
Hello I write an Nfc TAG object to PaperDB. However, when I go to `read` it, it throws: >Method threw 'java.lang.NullPointerException' exception. Cannot evaluate android.nfc.Tag.toString()
Thank you for creating this great library! I found a potential race condition on this line in KeyLocker: https://github.com/pilgr/Paper/blob/0e4e76ad7a9f30accbd6ba245166768cab39410d/paperdb/src/main/java/io/paperdb/KeyLocker.java#L29 One should use putIfAbsent instead. See https://stackoverflow.com/a/15850870/71354 for an explanation.