UserProfileDBCache_WCFLogging ProfileDBCacheServiceClient.GetUserData threw exceptionObject reference not set to an instance of an object

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:

sharepoint userprofiledbcache_wcflogging profiledbcacheserviceclient.getuserdata threw exception

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.

sharepoint userprofiledbcache_wcflogging profiledbcacheserviceclient.getuserdata threw exception
userprofiledbcache_wcflogging profiledbcacheserviceclient.getuserdata threw exception in sharepoint
userprofiledbcache_wcflogging profiledbcacheserviceclient.getuserdata threw exception in sharepoint 2013

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”.

userprofiledbcache_wcflogging profiledbcacheserviceclient.getuserdata threw exception in sharepoint 2016

Locate for “User Profile Service Application – User Profile Incremental Synchronization” and click in that.

userprofiledbcache_wcflogging profiledbcacheserviceclient.getuserdata threw exception in sharepoint 2019
userprofiledbcache_wcflogging profiledbcacheserviceclient.getuserdata threw exception in sharepoint

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:

This is how we can solve error UserProfileDBCache_WCFLogging ProfileDBCacheServiceClient.GetUserData threw exceptionObject reference not set to an instance of an object.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

Krishna Vandanapu

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

>