Also affects 1.18.12
I tested my own use case that used to crash, and it also seems fixed. I will move into the cautiously optimistic camp also.
Need to get confirmation status changed to confirmed. Is there a verified way to reproduce this issue?
BDS-10926 (which was closed as a duplicate of this bug) has a world file attached and repro steps to reliably reproduce the issue 100% of the time. It is very easy to confirm.
For what it's worth, I also have a similar issue and I opened a new ticket with a copy of the world where it happens and exact repro step (BDS-10926).
I am getting the same error and narrowed it down to just being my user that causes it to crash.
I managed to repro the issue 10 times in a row in the above ticket using a brand new user (one that had never logged in to that server before), so it's not related to the specific user.
After further investigation, I found that this is a duplicate of MCPE-79433 . I destroyed the barrels that I was using as storage and the new villager now properly links to the lectern. You can close this issue and link it to the other one.