The custom package type {1} for the {0} element does not expose a public copy constructor, which is required for setting ...