System.AccessViolationException during query.Execute() in NetDesktop


#1

I am a new user of Couchbase Lite Net. Can anyone help with this? I am using the same example as in Getting Started guide and getting

‘System.AccessViolationException’ in Couchbase.Lite.Support.NetDesktop.dll in query.Execute()

I am using Nuget Package Version 2.0.0.1

Thanks.


#2

That’s a hard one to diagnose but it sometimes happens if you use a query after disposing it or it’s database. Does that sound possible?


#3

I am not disposing anything manually and code is pretty simple so I don’t think it is happening. But I am experiencing very weird behavior as App doesn’t crash every time. Sometime it gives right result, sometime empty results and sometime exception. Btw thanx for quick response.