6308 Cannot create instance with this lifetime -- check class lifetime restrictions
Cause
This error occurs if the lifetime specified in a create instruction is not permitted by the lifetime options defined for the class.
Action
Change your application code or the class definition so that the lifetimes are compatible.