Hangfire: Nullreferenz auf dem Dashboard

Erstellt am 5. Apr. 2018  ·  4Kommentare  ·  Quelle: HangfireIO/Hangfire

Verwenden des neuen Hangfire 1.6.18.

Abrufen einer Nullreferenz auf dem 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)

Hilfreichster Kommentar

Das tut mir leid. Wird in der nächsten Version behoben (wahrscheinlich morgen).

Alle 4 Kommentare

Das tut mir leid. Wird in der nächsten Version behoben (wahrscheinlich morgen).

Hier gilt das gleiche. Danke für die schnelle Behebung!

Dasselbe. Sehen Sie sich den Fix an, nicht sicher, wer das Nuget-Paket generiert/bereitstellt. Vielen Dank im Voraus.

v1.6.19 ist draußen

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen