- Throwing an exception when instanceProvider or mappingProvider are not set