Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kareem 5 posts 76 karma points
    Apr 20, 2022 @ 17:29
    Kareem
    0

    ManifestParser Exception

    Hi,

    We are getting the below exception repeated heavily on our environment

    System.NullReferenceException: at Umbraco.Core.Manifest.ManifestParser.ParseManifest (Umbraco.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null: D:\a\1\s\src\Umbraco.Core\Manifest\ManifestParser.cs:167) at Umbraco.Core.Manifest.ManifestParser.GetManifests (Umbraco.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null: D:\a\1\s\src\Umbraco.Core\Manifest\ManifestParser.cs:82)

    Any clue how to get rid of it?

  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    Apr 21, 2022 @ 08:23
    Nik
    0

    Hi Kareem,

    Have you got any custom PackageManifest files? If so, what do they look like? My guess is that there is an issue in one of them, but I can't be sure.

    Thanks

    Nik

  • Kareem 5 posts 76 karma points
    Apr 21, 2022 @ 08:30
    Kareem
    0

    Hi Nik,

    Any clue about what kind of issue that might be there? Can it be wrong path for a dependency for instance or something else?

    Regards, Kareem

  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    Apr 21, 2022 @ 08:40
    Nik
    0

    My guess would be something like you've added a property to the manifest file but not set it's value, or you've said you CSS files but set an empty array.

    Without seeing your files it's hard to diagnose but it's not an error I've ever come across before.

    Thanks

    Nik

  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    Apr 21, 2022 @ 08:42
    Nik
    0

    To help in your diagnosis, I believe that this is the code that is failing:

    https://github.com/umbraco/Umbraco-CMS/blob/b8db430615d76521a4394a23f9928dc7c12f87bd/src/Umbraco.Core/Manifest/ManifestParser.cs#L169

    Looking at that, I suspect you have a property editor defined incorrectly in a package manifest file.

Please Sign in or register to post replies

Write your reply to:

Draft