1

Closed

User Profile Synchronization Broken in 2.2.2?

description

My event log is filling with these rapidly:

Error while Syncing dnn userprofile with Yaf System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Globals.NavigateURL() at YAF.DotNetNuke.DotNetNukeUrlBuilder.BuildUrlComplete(Object boardSettings, String url, Boolean fullURL) at YAF.DotNetNuke.DotNetNukeUrlBuilder.BuildUrl(Object boardSettings, String url) at YAF.Utils.YafBuildLink.GetBasePath(YafBoardSettings boardSettings) at YAF.DotNetNuke.Components.Utils.ProfileSyncronizer.SaveDnnAvatar(String fileId, Int32 yafUserId, Guid portalGUID, YafBoardSettings boardSettings) at YAF.DotNetNuke.Components.Utils.ProfileSyncronizer.SyncYafProfile(Int32 yafUserId, YafUserProfile yafUserProfile, IUserData yafUserData, UserInfo dnnUserInfo, Guid portalGUID, YafBoardSettings boardSettings) at YAF.DotNetNuke.Components.Utils.ProfileSyncronizer.UpdateUserProfile(Int32 yafUserId, YafUserProfile yafUserProfile, IUserData yafCurrentUserData, UserInfo dnnUserInfo, MembershipUser membershipUser, Int32 portalID, Guid portalGuid, YafBoardSettings boardSettings, Boolean ignoreLastUpdated)

Could this have something to do with turning off the URL Rewriting?
Closed Jul 26, 2015 at 12:39 AM by tha_watcha

comments

BVILLERSJR wrote Jul 14, 2015 at 2:38 PM

Here is an additional event log entry that I hope will help:

Error while Syncing dnn userprofile with Yaf DotNetNuke.Services.FileSystem.FolderProviderException: The underlying system threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Globals.LinkClick(String Link, Int32 TabID, Int32 ModuleID, Boolean TrackClicks, Boolean ForceDownload) at DotNetNuke.Services.FileSystem.StandardFolderProvider.GetFileUrl(IFileInfo file) at DotNetNuke.Services.FileSystem.FileManager.GetUrl(IFileInfo file) --- End of inner exception stack trace --- at DotNetNuke.Services.FileSystem.FileManager.GetUrl(IFileInfo file) at DotNetNuke.Entities.Users.UserProfile.get_PhotoURL() at YAF.DotNetNuke.Components.Utils.ProfileSyncronizer.SyncYafProfile(Int32 yafUserId, YafUserProfile yafUserProfile, IUserData yafUserData, UserInfo dnnUserInfo, Guid portalGUID, YafBoardSettings boardSettings) at YAF.DotNetNuke.Components.Utils.ProfileSyncronizer.UpdateUserProfile(Int32 yafUserId, YafUserProfile yafUserProfile, IUserData yafCurrentUserData, UserInfo dnnUserInfo, MembershipUser membershipUser, Int32 portalID, Guid portalGuid, YafBoardSettings boardSettings, Boolean ignoreLastUpdated)

tha_watcha wrote Jul 26, 2015 at 12:38 AM

Ok the first entry is a bug and will be fixed in YAF 2.2.3. The second one is caused by dnn, there is a problem with a avatar url which i can not resolve. I added a fix so the sync will still work