leveldb
leveldb copied to clipboard
NullPointerException in VersionSet
java.lang.NullPointerException: null
at org.iq80.leveldb.impl.VersionSet.numberOfFilesInLevel(VersionSet.java:233) ~[leveldb-0.11.jar:0.11]
at org.iq80.leveldb.impl.DbImpl.makeRoomForWrite(DbImpl.java:824) ~[leveldb-0.11.jar:0.11]
at org.iq80.leveldb.impl.DbImpl.writeInternal(DbImpl.java:688) ~[leveldb-0.11.jar:0.11]
at org.iq80.leveldb.impl.DbImpl.write(DbImpl.java:670) ~[leveldb-0.11.jar:0.11]
Some error may occur when write the leveldb with the multi-thread.
Are you not closing the DB concurrently?
Are you not closing the DB concurrently?
Thank you for your reply. yes, I close the db concurrently.