Did you come across the https://forum.mendix.com/questions/9458/Constructor-not-found--invalid-template-errors thread? Error is the same, don't know if the origin is too.