fix an issue w/ exceptions when traversing the list of editors

TBR @dinhviethoa, fix an issue where a `null` editor would be in the editor map, and traversing the list of editors would cause an NPE.

This would cause dart files to not analyze after a series of opening and closing files.