Why might mesh.createInstance() throw an exception?

Hi, I think I reproduced this in a PG. Please see here.