Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the null reference exception which occurs when DependencyResolver.Cu... #4

Merged
merged 2 commits into from
Mar 2, 2013

Conversation

TimLovellSmith
Copy link
Member

...rrent.GetService() returns null.

And just in case, also eliminate the possibility of null refs caused by something setting DependencyResolver.Current to null.

Fixes #3

Tim Lovell-Smith added 2 commits March 1, 2013 17:00
….Current.GetService<IConfigurationSource>() returns null.

And just in case, also eliminate the possibility of null refs caused by something setting DependencyResolver.Current to null.
@TimLovellSmith TimLovellSmith merged commit 1137ea8 into master Mar 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Object reference not set to an instance of an object.
1 participant