[Unstable] Notifications Serialisation error. #1866

Closed
opened 2025-12-21 19:34:57 +01:00 by backuprepo · 1 comment
Owner

Originally created by @BaronGreenback on GitHub (Jul 13, 2020).

Changing the state of any notifications creates this error.

[16:55:02] [ERR] [107] Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware: An unhandled exception has occurred while executing the request.
System.AggregateException: Error while handling request exception (There was an error reflecting type 'MediaBrowser.Model.Notifications.NotificationOptions'.) (There was an error reflecting type 'MediaBrowser.Model.Notifications.NotificationOptions'.)
---> System.InvalidOperationException: There was an error reflecting type 'MediaBrowser.Model.Notifications.NotificationOptions'.
---> System.InvalidOperationException: Cannot serialize member 'MediaBrowser.Model.Notifications.NotificationOptions.Options' of type 'MediaBrowser.Model.Notifications.NotificationOption[]', see inner exception for more details.
---> System.InvalidOperationException: MediaBrowser.Model.Notifications.NotificationOption cannot be serialized because it does not have a parameterless constructor.
--- End of inner exception stack trace ---

Originally created by @BaronGreenback on GitHub (Jul 13, 2020). Changing the state of any notifications creates this error. [16:55:02] [ERR] [107] Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware: An unhandled exception has occurred while executing the request. System.AggregateException: Error while handling request exception (There was an error reflecting type 'MediaBrowser.Model.Notifications.NotificationOptions'.) (There was an error reflecting type 'MediaBrowser.Model.Notifications.NotificationOptions'.) ---> System.InvalidOperationException: There was an error reflecting type 'MediaBrowser.Model.Notifications.NotificationOptions'. ---> System.InvalidOperationException: Cannot serialize member 'MediaBrowser.Model.Notifications.NotificationOptions.Options' of type 'MediaBrowser.Model.Notifications.NotificationOption[]', see inner exception for more details. ---> System.InvalidOperationException: MediaBrowser.Model.Notifications.NotificationOption cannot be serialized because it does not have a parameterless constructor. --- End of inner exception stack trace ---
backuprepo 2025-12-21 19:34:57 +01:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@BaronGreenback commented on GitHub (Jul 13, 2020):

Fixed in PR 3552

@BaronGreenback commented on GitHub (Jul 13, 2020): Fixed in PR 3552
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#1866
No description provided.