i7MEDIA / mojoportal

mojoPortal is an extensible, cross database, mobile friendly, web content management system (CMS) and web application framework written in C# ASP.NET.
https://www.mojoportal.com
Other
199 stars 98 forks source link

Object reference not set to an instance of an object #215

Open SinaBina opened 1 year ago

SinaBina commented 1 year ago

Hi In 2.9, deleting Superflexi module from any page throw the following exception in Debug mode:

2023-07-02 13:24:05,765 ERROR (null) - (null) - (null) - SuperFlexiUI.ModuleConfiguration - System.NullReferenceException: Object reference not set to an instance of an object. at mojoPortal.FileSystem.DiskFileSystemProvider.GetVirtualPath(Int32 siteId) in C:\Users\User\Desktop\mojoportal-master\Web\Components\FileSystem\DiskFileSystemProvider.cs:line 135 at mojoPortal.FileSystem.DiskFileSystemProvider.GetFileSystemPermission(Int32 siteId) in C:\Users\User\Desktop\mojoportal-master\Web\Components\FileSystem\DiskFileSystemProvider.cs:line 78 at mojoPortal.FileSystem.DiskFileSystemProvider.GetFileSystem(Int32 siteId) in C:\Users\User\Desktop\mojoportal-master\Web\Components\FileSystem\DiskFileSystemProvider.cs:line 43 at SuperFlexiUI.ModuleConfiguration..ctor(Module module, Boolean reloadDefinitionFromDisk)