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

ServiceLocator.Current.GetInstance<T> return null #2390

Open
dsalla opened this issue Apr 12, 2024 · 0 comments
Open

ServiceLocator.Current.GetInstance<T> return null #2390

dsalla opened this issue Apr 12, 2024 · 0 comments

Comments

@dsalla
Copy link

dsalla commented Apr 12, 2024

Hello,

I was using version 1.6.17 and the Service Locator always normally returned an instance for ISessionProperties in the sessionProperties variable in the attached image.

After updating to the latest version and without any changes to the source code, the return is always null.
nullreferenceexception

The MWAgendamento() method is triggered via RecurringJob
recurringjob01
recurringjob02

Someone help me please ? I'm desperate for a solution because I didn't find anything in the releases regarding changes to dependency injection.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant