marcoCasamento / Hangfire.Redis.StackExchange

HangFire Redis storage based on original (and now unsupported) Hangfire.Redis but using lovely StackExchange.Redis client
Other
452 stars 108 forks source link

Fix null ref exception #82

Closed bcuff closed 4 years ago

bcuff commented 5 years ago

Here's the error:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Hangfire.Redis.RedisMonitoringApi.<>c.<ProcessingJobs>b__11_2(KeyValuePair`2 x)
   at System.Linq.Enumerable.WhereListIterator`1.ToArray()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.ToList()
   at Hangfire.Redis.RedisMonitoringApi.<>c__DisplayClass11_0.<ProcessingJobs>b__0(IDatabase redis)
   at Hangfire.Dashboard.Pages.ProcessingJobsPage.Execute()
   at Hangfire.Dashboard.RazorPage.TransformText(String body)
   at Hangfire.Dashboard.RazorPageDispatcher.Dispatch(DashboardContext context)
   at Hangfire.Dashboard.AspNetCoreDashboardMiddleware.Invoke(HttpContext httpContext)
bcuff commented 4 years ago

thanks!

bcuff commented 4 years ago

would you mind pushing a new package when you get a chance?

marcoCasamento commented 4 years ago

Thanks to you!

Absolutely, I’ve also updated dependency to the latest hangfire version, hope to push the package within today

Best,

Marco

From: Brandon notifications@github.com Sent: mercoledì 8 gennaio 2020 17:12 To: marcoCasamento/Hangfire.Redis.StackExchange Hangfire.Redis.StackExchange@noreply.github.com Cc: Marco Casamento marco.casamento@gmail.com; State change state_change@noreply.github.com Subject: Re: [marcoCasamento/Hangfire.Redis.StackExchange] Fix null ref exception (#82)

would you mind pushing a new package when you get a chance?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/marcoCasamento/Hangfire.Redis.StackExchange/pull/82?email_source=notifications&email_token=AABW2Y5BLGHED4S2VGQSDGLQ4X3NXA5CNFSM4GTTEKH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEINC24Y#issuecomment-572140915 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AABW2Y2WA4WVEJZHOO27DTLQ4X3NXANCNFSM4GTTEKHQ . https://github.com/notifications/beacon/AABW2Y3HS5T37TEXFIKWRI3Q4X3NXA5CNFSM4GTTEKH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEINC24Y.gif