In SharePoint 2010 whenever you try to go to list settings you get “An unexpected error has occurred ”

Issue: In SharePoint 2010 whenever you try to go to list settingsyou get “An unexpectederror has occurred ” and it occurs on all the Web applications. Even if youtry to create a new web app the error persists. Collect the ULS while reproducing the issue and if we getthe following stack: NullReferenceException:Object reference not set…

2