NHibernate “Can’t save to null “ adoexception
When you failed to maintain your relationship between entities correctly, and there is a cascade saveupdate, you will probably see this error.
<one-to-one class=wife cascading=save-update>
Husband tom = new Husband();
Wife jane = new Wife();
tom.wife = jane;
since you missed the jane.husband = tom;
you will get that err.