Developers can't solve your problem unless they got the key pieces of information (e.g. steps to reproduce, the crash reports in C:\Users\ (Your username here) \AppData\Roaming\.minecraft\crash-reports) from you!
I also had your problem a few hours ago. I restarted my game and my villager changed his profession. Maybe try that?
Developers can't solve your problem unless they got the key pieces of information (e.g. steps to reproduce, the crash reports in C:\Users\ (Your username here) \AppData\Roaming\.minecraft\crash-reports) from you!