I need to instantiate an object of AvatarTranscoder. The only constructor is:
AvatarTranscoder(AvatarManager avatarManager, AvatarTagger avatarTagger)
AvatarManager can be extracted from ComponentAccessor. To instantiate AvatarTagger we have the class AvatarTaggerImpl with the constructor:
AvatarTaggerImpl(JiraHome jiraHome)
JiraHome is an interface that you can implements with 5 distinct classes. I have proved some options and I always get the error:
java.lang.InstantiationError: com.atlassian.jira.avatar.AvatarTranscoder
Someone knows how to instantiate JiraHome to construct an correct AvatarTranscoder object?