You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an IJob based instance is specified but not added to the IoC container, the call to ServiceCollectionJobFactory.NewJob returns a null object.
This results in an untraceable Quartz.Net exception of 'null reference', but a feedback of "Job triggered successfully." https://github.com/maikebing/SilkierQuartz/blob/0f420e80e8c6ad0e24895ba2de1109a23d993461/src/SilkierQuartz/HostedService/ServiceCollectionJobFactory.cs#L25 either needs an 'else' that throws an exception or needs to attempt to instantiate a default parameterless instance of the type, but it looks as though the current code hasn't been fully implemented.
The text was updated successfully, but these errors were encountered:
If an IJob based instance is specified but not added to the IoC container, the call to
ServiceCollectionJobFactory.NewJob
returns a null object.This results in an untraceable Quartz.Net exception of 'null reference', but a feedback of "Job triggered successfully."
https://github.com/maikebing/SilkierQuartz/blob/0f420e80e8c6ad0e24895ba2de1109a23d993461/src/SilkierQuartz/HostedService/ServiceCollectionJobFactory.cs#L25 either needs an 'else' that throws an exception or needs to attempt to instantiate a default parameterless instance of the type, but it looks as though the current code hasn't been fully implemented.
The text was updated successfully, but these errors were encountered: