Check if the main object to write is null or transient.
Check if the main object to write is null or transient.

And throw an exception in such case.

modulexcite/Migrant,modulexcite/Migrant,rogeralsing/Migrant,antmicro/Migrant,rogeralsing/Migrant,antmicro/Migrant