Issue #2701571 by sourdrup: Argument 3 passed to Drupal\features\Plugin\FeaturesGeneration\FeaturesGenerationWrite::failure() must be an instance of Exception, null given