-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
System.ArgumentNullException when trying to process enqueued jobs #790
Comments
Hi @BlitzinBuffalo. Something bad happened with your background jobs. This exception tells us that the
|
@odinserj, on the dashboard, it just says the jobs have been enqueued Here are the results of the commands:
|
There also should be Are you setting |
Our Redis db has all the recommended values set, and I have not set the Here is the output of the Redis
|
Any update to this issue? |
Sorry for the delay. I'm seeing this problem for the first time, and don't understand what's going on. As I stated earlier, looks like the The only explanation for this is your system clock (not time zone) was moved forward more than 1 hour. But that's very strange too. Another explanation is there's a bug in Redis for Windows, but I didn't see such reports on MSOpenTech/redis repository. However, there are some general bugs (for example). Does your Redis' error log contains any interesting records? I could teach Hangfire to ignore such exceptions and proceed with background processing, but something terribly wrong is happening, and I don't like to fix it by ignoring symptoms. |
Hello,
I am using Hangfire 1.6.8, with Redis DB. I have about 120,000 jobs enqueued, but the worker is not picking any of them up to process. The logs are however filled with:
Error occurred during execution of 'Worker #1bfac2d9' process. Execution will be retried (attempt 58 of 2147483647) in 00:05:00 seconds.
System.ArgumentNullException: String reference not set to an instance of a String. Parameter name: s at System.DateTime.Parse(String s, IFormatProvider provider, DateTimeStyles styles) at Hangfire.Pro.Redis.RedisConnection.GetJobData(String jobId) at Hangfire.States.BackgroundJobStateChanger.GetJobData(StateChangeContext context) at Hangfire.States.BackgroundJobStateChanger.ChangeState(StateChangeContext context) at Hangfire.Server.Worker.Execute(BackgroundProcessContext context) at Hangfire.Server.AutomaticRetryProcess.Execute(BackgroundProcessContext context)
Any help with this would be appreciated.
The text was updated successfully, but these errors were encountered: