When create of a child object fails (in my case by an exception thrown in AddBusinessRules), the catch in ChildDataPortal.Create is executed. When both 'target' and 'obj' are null the throw Exception statement itself throws a null reference exception because it references obj.Instance.
This makes debugging very difficult and should be fixed.
I am using 3.8.1. Couldn't find any previous posts about this.
I see what you mean - that is not good, and I'll add it to the bug list. Thanks!
This bug is still in 3.8.4 and 4.0.0
I see the issue too, I'll reopen the bug.
Copyright (c) Marimer LLC