The .NET exception that is thrown when there is an attempt to reference (or use) a null or uninitialized object.
I'm building an orchard CMS site. Initially, I downloaded the zipped version, but VS complained of the error: "Object reference …
nullreferenceexception orchardcmsWhen using calling the SqlCommand.ExecuteReader() method, ReSharper tells me I have a possible NullReference exception when I use the …
.net resharper nullreferenceexception sqlcommandI've been using the same bit of code for several versions of my app with no problems, but I'm now …
c# wpf nullreferenceexception adorner adornerlayerI'm working on a large-ish web application built in C# (asp.net). I've got a simple aspx page that serves …
c# asp.net nullreferenceexception resourcemanagerFirst off, I think I know what's going on, but I thought I'd bring this issue up here for some …
c# .net string nullreferenceexception isnulloremptyAccountController.cs houses the AccountController class. The Login method of that class is failing. Specifically, var result = await SignInManager.PasswordSignInAsync( …
c# asp.net-mvc asp.net-mvc-5 nullreferenceexception owinI am completely new to Entity Framework and even ADO.NET in general (don't typically do much work with databases). …
.net mysql entity-framework visual-studio-2010 nullreferenceexceptionWhy does setting the SelectedValue of a ComboBox to null cause an ArgumentNullException? The Exception only occurs if the ComboBox …
c# winforms combobox datasource nullreferenceexceptionThis has got me stumped. I was trying to optimize some tests for Noda Time, where we have some type …
.net reflection nullreferenceexception .net-4.5 typeinitializerIs it possible to inherit a User control from another user control? The thing I'm trying to achieve is a …
asp.net inheritance user-controls nullreferenceexception