This SharePoint tutorial explains, how to fix error UserProfileDBCache_WCFLogging ProfileDBCacheServiceClient.GetUserData threw exceptionObject reference not set to an instance of an object.
In SharePoint 2013 I was getting the below error message as soon as I click on create a site collection. The error message comes as UserProfileDBCache_WCFLogging :: ProfileDBCacheServiceClient.GetUserData threw exceptionObject reference not set to an instance of an object. It looks like below:
UserProfileDBCache_WCFLogging ProfileDBCacheServiceClient.GetUserData threw exceptionObject reference not set to an instance of an object
As the error message shows it is the issue with user profile service. You might be wondering how come a site collection creation is related to user profile service application? It is very much impacts because while creating the web application it lists all the service applications will be associated with that web application.
As we all know that the user profile service application is one of the critical service application to import all the user profiles from Active Directory to SharePoint. To import these profiles SharePoint has various timer jobs listed below.
After spending some time in R&D on this issue I was able to fix this issue by following the below steps:
I have to restart the User profile service & User profile Synchronization services in all the WFE servers
I have also disabled and enable the timer job “User Profile Service Application – User Profile Incremental Synchronization”.
Locate for “User Profile Service Application – User Profile Incremental Synchronization” and click in that.
As soon as I complete the above 2 steps I did an IIS reset.
This has resolved my issue and now I am able to create the site collection seamlessly.
You may like following SharePoint user profile tutorials:
- Create a custom User profile web part using SharePoint REST API and bootstrap
- User profile synchronization service stuck on starting SharePoint 2013/2016
- This user profile application connection is currently not available SharePoint 2013
- user profile synchronization service stuck on starting SharePoint 2013
- Get login user profile properties using Rest API in SharePoint
This is how we can solve error UserProfileDBCache_WCFLogging ProfileDBCacheServiceClient.GetUserData threw exceptionObject reference not set to an instance of an object.
I am Krishna.Vandanapu a SharePoint architect working in IT from last 13+ years, I worked in SharePoint 2007, 2010, 2013, 2016 and Office 365. I have extensive hands on experience in customizing SharePoint sites from end to end. Expertise in SharePoint migration tools like Sharegate, Doc Ave and Metalogix. Migrated SharePoint sites from SharePoint 2007 to 2010 and 2010 to 2013 several times seamlessly. Implementing CSOM with Microsoft best practices. Spent quality time in configuring SharePoint application services like User Profile, Search, Managed Meta data services etc. Now exploring SharePoint Framework and SharePoint 2019