Closed tsdking closed 4 years ago
Android studio version: 3.4.2 Paper database version : 2.6 OS : Mac Testing device : Samsung, Sonimtech,Motorola, LGE
at io.paperdb.DbStoragePlainFile.writeTableFile + 278(DbStoragePlainFile.java:278)
at io.paperdb.DbStoragePlainFile.insert + 134(DbStoragePlainFile.java:134)
at io.paperdb.Book.write + 42(Book.java:42)
at com.fr.fleetrover.paperDatabase.PaperDB.setDriverLog + 314(PaperDB.java:314)
at com.fr.fleetrover.eld.FRFleetOpsAPI.updateOdometerReading + 590(FRFleetOpsAPI.java:590)
at com.fr.fleetrover.eld.FRFleetOpsAPI.processEventPackets + 307(FRFleetOpsAPI.java:307)
at com.fr.fleetrover.eld.FRFleetOpsAPI.lambda$processFleetOpsResponse$67$FRFleetOpsAPI + 205(FRFleetOpsAPI.java:205)
at com.fr.fleetrover.eld.FRFleetOpsAPI$$Lambda$0.run()
at java.lang.Thread.run + 762(Thread.java:762)
Could you please let check it and let me know
I have the same issue.
I have the same issue. But I know why now. Becasue I use a invalid key , so you guys should check your key, it seems the key could not contains "/".
Thanks, that's a good point. I've added a note to the readme. Since keys are used as file names to store the data, the special symbols like \
can't be used.
Same error for me. Intermittent. My key is perfectly valid. 19 out of 20 saves work correctly, then bam. Clearly the synchronization lock for reading from/writing to the file intermittently fails. This is a big deal. I'm doing the read/write from various contexts - sometimes on Main, sometimes from coroutine (IO dispatcher), etc.