An n-ary association cannot have composite roles.
A composition is a strong association that implies that a model element is responsible for the life cycle of another model element. Compositions are only authorized on binary associations.
If you have composition ends on n-ary associations, you should consider making several binary associations with compositions ends instead.