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
KeyNotFoundException
on /hangfire/succeeded
page
#286
Comments
@oliverjanik, thank you for reporting this. Looks like there is need for additional check, but the case is very strange and I don't understand the cause. Have you tried to refresh the page? Does the problem persist or disappear? |
It persists. I just did one console.writeline backgroundjob. Anything else I can give you? |
What version of |
@oliverjanik, any news regarding to the problem problem? |
Sorry I won't have access to that computer until Tue or so. I'll try to replicate on my home machine. |
Here you go, replicated on different computer. Versions:
Scripted Hangfire State:
JobParameter (might be of interest):
|
I'm hitting a similar bug too on succeeded, except I'm getting a NullReferenceException. Here's the top of the stack trace.
|
@oliverjanik, thank you for the detailed response! Hangfire does not expect that property names are being serialized using camel-case convention, but it looks like it was set globally in your project. I'll find all the places that expect non-camelcase data and change them in 1.3.2. As for now, you can use workaround by using separate serializer setting for Hangfire: var settings = new JsonSerializerSettings();
Hangfire.Common.JobHelper.SetSerializerSettings(settings); @MichaelGG, does your exception appear constantly or it is a transient one? |
@odinserj thanx, that makes a lot of sense. |
@odinserj It was transient - and I haven't been able to get it to happen again. If it does I'll be sure to capture all the SQL tables in use. |
@MichaelGG, thank you for the quick response. If it is transient, then I know the reason – job's state was changed during the fetch – and will fix it in 1.3.2. |
KeyNotFoundException
on /hangfire/succeeded
page
@oliverjanik, this bug is fixed now in just released 1.3.2. @MichaelGG, your bug is not fixed. Can you show me |
@odinserj I have not been able to repro it, sorry for not grabbing the tables when it happened :. |
@MichaelGG, no worries, this is a non-critical bug |
Normal nuget install. Default configuration.
The text was updated successfully, but these errors were encountered: