After curing a green zombie villager, it will have random trades from random professions (MC-106058). If you trade with the villager, it will try generating new trades and crash. Can be fixed by fixing MC-106058.
Villager converted from zombie has random trades from random profession.
Hopper: java.lang.ArrayIndexOutOfBoundsException: 1