Erro ao obter detalhes do destino

Attempt to read property "type" on null