Skip to content

NullReferenceException in ItemAddedHandler #74

@not-eric

Description

@not-eric

Hello! I'm trying to get notifications working for new media, and noticed the following system log on media addition (and no notification sent out):

Emby.Server.Implementations.Library.LibraryManager: Error in ItemAdded event handler
System.NullReferenceException: Object reference not set to an instance of an object.
   at Jellyfin.Plugin.Streamyfin.PushNotifications.Events.ItemAddedService.ItemAddedHandler(Object sender, ItemChangeEventArgs itemChangeEventArgs)
   at Emby.Server.Implementations.Library.LibraryManager.CreateItems(IReadOnlyList`1 items, BaseItem parent, CancellationToken cancellationToken)

Other notifications work fine, I just haven't been able to get this one happy. I haven't changed any settings from the defaults, but let me know if there's anything in my Jellyfin settings that may need to be tweaked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions