Fix not using 3 param of GenerateEmptyAttributeException