I'm not sure if this is going to help. But I experienced random "Object reference not set to an instance of an object." errors as well. The only thing not random about it is the error will definitely show up, in one place or another, whenever I'm working with schemas. I've found a work around that seems to work for me. It is to copy and paste the expression into the field, rather than edit the expression directly inside the fields.
↧