Isn't that just part of the job? If you're not wrong sometimes you're not trying hard enough. To avoid this situation you should invite others to challenge your work more quickly.
The academic job is primarily about getting funding for further work. If ten years of work were proven wrong, the academic may worry that funding agencies may stop funding them. "You've been doing the wrong work for a decade!"
So while the academic may not mind being proven wrong in their hypotheses/results/conclusions, they may stress about not being able to get more funding.