NullPointerException on Android
romanman opened this issue · comments
Roman Mandeleil commented
Hey Fellows,
LevelDB works fine for me on Android until
I bumped into this issue:
I get into VersionSet.numberOfFilesInLevel()
where current == null and then get an NPE ,
I will digg deeper by myself but I will appreciate
any hint about what kind role is for this
version files ? why possible it can be null ?
Thanks in advance.
Dain Sundstrom commented
It has been a long time since I have looked at this code, but I don't see anyway this could be null other than someone called destroy. I would debug the code to see if anyone is calling destroy.
Roman Mandeleil commented
Thanks , actually just found that someone closed the connection, it works just fine