This question is locked. New answers and comments are not allowed.
Hello.
I'm using TDA with a SQLite database. When I use LINQ to get a property, I've got NullReferenceException.
Code of exception:
Telerik.OpenAccess.OpenAccessException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at OpenAccessRuntime.DataObjects.PCStateMan.replacingStringFieldImp(PersistenceCapable pc, FieldMetaData fmd)
--- End of inner exception stack trace ---
at OpenAccessRuntime.ExceptionWrapper.Throw()
at OpenAccessRuntime.DataObjects.PCStateMan.handleException(Exception x)
at OpenAccessRuntime.DataObjects.PCStateMan.replacingStringFieldImp(PersistenceCapable pc, FieldMetaData fmd)
at OpenAccessRuntime.DataObjects.SynchronizedStateManagerProxy.GetStringField(PersistenceCapable pc, Int32 field, String currentValue)
at Bufbif.Domain.BufbifAlgorithm1Event.OpenAccessEnhancedGet_uniqueKey(BufbifAlgorithm1Event owner)
at Bufbif.Domain.BufbifAlgorithm1Event.get_UniqueKey() in c:\_ccolotiline\Stash\Bufbif\Bufbif\Bufbif.Domain\BufbifAlgorithm1Event.generated.cs:line 474
at Bufbif.Logic.DBServices.ProcessingService.<>c__DisplayClass58.<
SaveCalculatedChartEvents
>b__45(IChartEvent x) in c:\_ccolotiline\Stash\Bufbif\Bufbif\Bufbif.Logic\DBServices\ProcessingService.cs:line 347