Used viewer.setInput to update the error list instead of directly modifying the table.