grantjenks / python-diskcache

Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python.
http://www.grantjenks.com/docs/diskcache/
Other
2.34k stars 131 forks source link

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. #235

Closed lukesavva closed 2 years ago

lukesavva commented 2 years ago

I am consistently getting the error Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at LiteDB.FileDiskService.SetLength(Int64 fileSize) at LiteDB.TransactionService.PersistDirtyPages() at LiteDB.LiteEngine.Transaction[T](String collection, Boolean addIfNotExists, Func`2 action) at LiteDB.LiteEngine.Update(String collection, BsonDocument doc) at LiteDB.LiteFileStream.Dispose(Boolean disposing) at LiteDB.LiteFileStream.Finalize()

Then the instance of python crashes and shuts down.

lukesavva commented 2 years ago

Ignore this, just realised it is coming from a different library!!