1
Vote

NullReferenceException

description

I got next exception:
 
System.NullReferenceException was unhandled by user code
Message=Ссылка на объект не указывает на экземпляр объекта.
Source=Anonymously Hosted DynamicMethods Assembly
StackTrace:
   в lambda_method(Closure , ProcessSetting )
....
InnerException:
 
ProcessSetting is my Entity-class (generated by Entity Framework) with many properties (part of them are another Entities).
Sure ProcessSetting instance was not null and its some properties was null.

comments