Index: packages/analyzer/lib/src/plugin/options_plugin.dart |
diff --git a/packages/analyzer/lib/src/plugin/options_plugin.dart b/packages/analyzer/lib/src/plugin/options_plugin.dart |
index fc829103d0e688cc05d98732fe8c22010b04d3af..3fb5e914eaf63d8d3c356721fb9be413f3f5e4f4 100644 |
--- a/packages/analyzer/lib/src/plugin/options_plugin.dart |
+++ b/packages/analyzer/lib/src/plugin/options_plugin.dart |
@@ -23,7 +23,9 @@ class OptionsPlugin implements Plugin { |
/// All contributed options processors. |
List<OptionsProcessor> get optionsProcessors => |
- optionsProcessorExtensionPoint.extensions; |
+ optionsProcessorExtensionPoint == null |
+ ? const [] |
+ : optionsProcessorExtensionPoint.extensions; |
@override |
String get uniqueIdentifier => UNIQUE_IDENTIFIER; |