Hello everyone,
Im only getting this error while upgrading to the latest version (7.3.4) originally Im at version 4.9:
[ERROR] DotNetNuke.Services.Upgrade.Upgrade - System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.Services.FileSystem.FolderProvider.Instance(String friendlyName)
at DotNetNuke.Services.FileSystem.FolderManager.ClearFolderProviderCachedLists(Int32 portalId)
at DotNetNuke.Services.FileSystem.FolderManager.GetMergedTree(Int32 portalId, String relativePath, Boolean isRecursive)
at DotNetNuke.Services.FileSystem.FolderManager.Synchronize(Int32 portalId, String relativePath, Boolean isRecursive, Boolean syncFiles)
at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion530()
at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)
tracing in the source code (lines of code where error happens called from first to last):
FolderManager.Instance.Synchronize(portal.PortalID, "Templates/", false, true);
-> var mergedTree = GetMergedTree(portalId, relativePath, isRecursive); //this is inside method synchronize
-> ClearFolderProviderCachedLists(portalId);//this is inside method GetMergedTree
-> var folderProvider = FolderProvider.Instance(folderMapping.FolderProviderType);//this is inside method ClearFolderProviderCachedLists
My problem is that the FolderProvider.Instance(folderMapping.FolderProviderType) is null for all my portals. (all my portals throw the same error)
everything before, and after this error in the installation is successful.
Any pointers/hint/things to try are welcome.
thanks in advance.