Chromium Code Reviews| Index: pkg/analysis_server/lib/src/status/get_handler.dart |
| diff --git a/pkg/analysis_server/lib/src/status/get_handler.dart b/pkg/analysis_server/lib/src/status/get_handler.dart |
| index 8d619370c6846a148589094744c5b9ca89967711..b359dd5de4e396153c91aeb6e8b19582eb3dd7f5 100644 |
| --- a/pkg/analysis_server/lib/src/status/get_handler.dart |
| +++ b/pkg/analysis_server/lib/src/status/get_handler.dart |
| @@ -377,7 +377,8 @@ class GetHandler { |
| MapIterator<AnalysisTarget, CacheEntry> iterator = |
| context.analysisCache.iterator(); |
| while (iterator.moveNext()) { |
| - if (iterator.value.exception != null) { |
| + CacheEntry entry = iterator.value; |
| + if (entry != null && entry.exception != null) { |
|
scheglov
2015/11/11 22:46:12
Should we log / write-to-the-page the key for whic
|
| return true; |
| } |
| } |