Have you tried to run the same problem on a built in mesh (such as a unit square)?
Please also note that to be able to help you we need a minimal code that reproduces the error message; see for instance: Read before posting: How do I get my question answered? - #4 by nate