Hangfire: Null Reference on dashboard

Created on 5 Apr 2018  ·  4Comments  ·  Source: HangfireIO/Hangfire

Using new Hangfire 1.6.18.

Getting null reference on dashboard /hangfire/jobs/details/1

Exception information: 
    Exception type: NullReferenceException 
    Exception message: Object reference not set to an instance of an object.
   at Hangfire.Dashboard.JobMethodCallRenderer.Render(Job job)
   at Hangfire.Dashboard.Pages.JobDetailsPage.Execute()
   at Hangfire.Dashboard.RazorPage.TransformText(String body)
   at Hangfire.Dashboard.RazorPageDispatcher.Dispatch(DashboardContext context)
   at Hangfire.Dashboard.MiddlewareExtensions.<>c__DisplayClass1_2.<UseHangfireDashboard>b__1(IDictionary`2 env)
   at Microsoft.Owin.Mapping.MapMiddleware.<Invoke>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.<RunApp>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.<DoFinalWork>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Most helpful comment

Sorry for this. Will be fixed in the next release (likely, tomorrow).

All 4 comments

Sorry for this. Will be fixed in the next release (likely, tomorrow).

Same here. Thanks for fixing it fast!

Same. See the fix, not sure who generates/deploys nuget package. Thanks in advance.

v1.6.19 is out

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tompazourek picture tompazourek  ·  3Comments

JvanderStad picture JvanderStad  ·  3Comments

osmanrahimi picture osmanrahimi  ·  3Comments

dealproc picture dealproc  ·  3Comments

dgaspar picture dgaspar  ·  4Comments