}
public void updateErrors () {
var file = this.file;
+ if (file == null) {
+ return;
+ }
var ar = file.getErrors();
- if (ar.size < 1) {
+ if (ar == null || ar.size < 1) {
if (this.last_error_counter != file.error_counter) {
this.removeErrors();
}
reading_header = false;
-
+ continue;
}
if (child.has_css_class("node-err")) {