Above service is responsible for getting attributes by attributeSetId. The service works fine if there is no select type attribute is assigned to attribute set but once it is assigned (like color, size attribute) using UI or from service call this service stop working forever.