shemanaev / jellyfin-plugin-webhooks

Webhooks for Jellyfin
MIT License
19 stars 0 forks source link

Plugin causes fatal error: Jellyfin crashes and reboots #3

Closed jaimedelano closed 3 years ago

jaimedelano commented 3 years ago

[2020-12-28 15:20:42.467 -03:00] [FTL] [30] Main: Unhandled Exception System.InvalidOperationException: Nullable object must have a value. at System.Nullable1.get_Value() at Jellyfin.Webhooks.EntryPoint.OnPlaybackProgress(Object sender, PlaybackProgressEventArgs e) at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_1(Object state) at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action1 callback, TState& state) at System.Threading.QueueUserWorkItemCallback.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() [2020-12-28 15:20:43.967 -03:00] [INF] [1] Main: Jellyfin version: "10.6.4"

shemanaev commented 3 years ago

Have you updated plugin to the latest (1.0.0.3) version?

jaimedelano commented 3 years ago

Yes, I did.

Em seg., 28 de dez. de 2020 às 17:21, Denis Shemanaev < notifications@github.com> escreveu:

Have you updated plugin to the latest (1.0.0.3) version?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/shemanaev/jellyfin-plugin-webhooks/issues/3#issuecomment-751852434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY6BEQRN7E2BUDFSTURASDSXDSFDANCNFSM4VMKZRHQ .

-- Atenciosamente, Jaime Silva

shemanaev commented 3 years ago

I can't reproduce this with my setup. Could you share full Jellyfin log?

jaimedelano commented 3 years ago

Sure, here it is.

Em ter., 29 de dez. de 2020 às 04:19, Denis Shemanaev < notifications@github.com> escreveu:

I can't reproduce this with my setup. Could you share full Jellyfin log?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/shemanaev/jellyfin-plugin-webhooks/issues/3#issuecomment-751977462, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY6BETZSAPLRNO6S5X7CWTSXF7HDANCNFSM4VMKZRHQ .

-- Atenciosamente, Jaime Silva

shemanaev commented 3 years ago

Github ignores attachments sent by email, please resend using web.

jaimedelano commented 3 years ago

Download link :: https://diferencialweb.site/log_20201228.zip

shemanaev commented 3 years ago

Okay, lets try with another shot (new version 1.0.0.4)

jaimedelano commented 3 years ago

Thank you! Can you tell me how I can compile it from source?

shemanaev commented 3 years ago

You don't have to. It should be available from repository as usual

iFraan commented 1 year ago

It happened to me. Its because the DLNA its active and it has no user attached to it. So when the session_started event triggers, its crashes because user cant have a null value.

shemanaev commented 1 year ago

Good catch! Thanks for tracking down, I don't use DLNA myself.

iFraan commented 1 year ago

Me neither. It was activated by default and i do have a compatible tv on the network that caused the session to start and the prominent crash.