I am rarely discouraged by research, but of course one does encounter dead ends all the time. But even these are productive because it allows us to rule out certain explanations or phenomena.