Error while crawling LOB contents. (Error caused by exception: System.InvalidOperationException This SPServiceContextScope is being disposed out of order

When you set up your SharePoint search to include the external contents to be a part of the search results, you may get the following search error message "Error while crawling LOB contents. (Error caused by exception: System.InvalidOperationException This SPServiceContextScope is being disposed out of order"
 
To resolve this, please follow the given steps.
  1. Deleted the Content Source from the Search Service Application
  2. Recreated the Content Source using the same name
  3. Run a full crawl on the content source
  4. Once the full crawl is finished, repeat, for all the BCS content sources
 
Happy SharePointing :-)