You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a winform program use litedb,it work in win7 ,but in xp it work failure.
I use litedb shell open db file,in win7 work correct.in xp it have error
open message.db
db.JCYB.find
Oject reference not set an instance of an object.
in my program log the error stack is follow:
System.NullReferenceException: Object reference not set to an instance of an object.
at LiteDB.IndexNode.IsHeadTail(CollectionIndex index)
at LiteDB.IndexService.d__2.MoveNext()
at LiteDB.LiteCollection1.EnsureIndex(String field, IndexOptions options) at LiteDB.LiteCollection1.EnsureIndex(String field, Boolean unique)
at LiteDB.Query.Run[T](LiteCollection1 collection) at LiteDB.LiteCollection1.d__9.MoveNext()
at System.Linq.Enumerable.d__4d1.MoveNext() at System.Linq.Enumerable.<TakeIterator>d__3a1.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.OrderedEnumerable1.<GetEnumerator>d__0.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable`1 collection)
The text was updated successfully, but these errors were encountered:
I have a winform program use litedb,it work in win7 ,but in xp it work failure.
I use litedb shell open db file,in win7 work correct.in xp it have error
in my program log the error stack is follow:
System.NullReferenceException: Object reference not set to an instance of an object.
at LiteDB.IndexNode.IsHeadTail(CollectionIndex index)
at LiteDB.IndexService.d__2.MoveNext()
at LiteDB.LiteCollection
1.EnsureIndex(String field, IndexOptions options) at LiteDB.LiteCollection
1.EnsureIndex(String field, Boolean unique)at LiteDB.Query.Run[T](LiteCollection
1 collection) at LiteDB.LiteCollection
1.d__9.MoveNext()at System.Linq.Enumerable.d__4d
1.MoveNext() at System.Linq.Enumerable.<TakeIterator>d__3a
1.MoveNext()at System.Linq.Buffer
1..ctor(IEnumerable
1 source)at System.Linq.OrderedEnumerable
1.<GetEnumerator>d__0.MoveNext() at System.Collections.Generic.List
1..ctor(IEnumerable`1 collection)The text was updated successfully, but these errors were encountered: