java.lang.IllegalArgumentException: duplicate key: likedBy


Solutions on the web55

Solution icon of atlassian
via Atlassian JIRA by Pierre-Etienne Poirot [Atlassian], 1 year ago
duplicate key: likedBy

Solution icon of atlassian
via Atlassian JIRA by Pierre-Etienne Poirot [Atlassian], 1 year ago
duplicate key: likedBy

Solution icon of github
duplicate key:

Solution icon of github
via GitHub by tinkerware
, 1 year ago
duplicate key: /*

Solution icon of github
via GitHub by jamesward
, 1 year ago
duplicate key: /*

Solution icon of github
duplicate key: public

Solution icon of atlassian
via Atlassian JIRA by Janet Albion [Atlassian], 1 year ago
duplicate key: Attachment

Solution icon of stackoverflow
duplicate key: class javax.faces.validator.LongRangeValidator

Solution icon of github
duplicate key: Map

Solution icon of atlassian
via Atlassian JIRA by Janet Albion [Atlassian], 1 year ago
duplicate key: Attachment

Stack trace

java.lang.IllegalArgumentException: duplicate key: likedBy
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)[guava-11.0.2-atlassian-02.jar:na]
	at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:72)[guava-11.0.2-atlassian-02.jar:na]
	at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:245)[guava-11.0.2-atlassian-02.jar:na]
	at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:231)[guava-11.0.2-atlassian-02.jar:na]
	at com.atlassian.stash.property.PropertyMap$Builder.build(PropertyMap.java:160)[stash-api-3.7.0-SNAPSHOT.jar:na]
	at com.atlassian.stash.internal.content.AbstractProviderContext.getPropertiesFor(AbstractProviderContext.java:56)[stash-service-impl-3.7.0-SNAPSHOT.jar:na]
	at com.atlassian.stash.internal.comment.PluginCommentPostProcessor$Enricher.apply(PluginCommentPostProcessor.java:163)[stash-service-impl-3.7.0-SNAPSHOT.jar:na]
	at com.atlassian.stash.internal.comment.PluginCommentPostProcessor$Enricher.apply(PluginCommentPostProcessor.java:152)[stash-service-impl-3.7.0-SNAPSHOT.jar:na]
	at com.atlassian.stash.internal.comment.PluginCommentPostProcessor$Enricher.apply(PluginCommentPostProcessor.java:143)[stash-service-impl-3.7.0-SNAPSHOT.jar:na]
	at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:451)[guava-11.0.2-atlassian-02.jar:na]
	at java.util.AbstractList$Itr.next(AbstractList.java:358)[na:1.8.0_31]
	at java.util.AbstractCollection.toArray(AbstractCollection.java:141)[na:1.8.0_31]
	at com.google.common.collect.ImmutableList.copyFromCollection(ImmutableList.java:290)[guava-11.0.2-atlassian-02.jar:na]
	at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:247)[guava-11.0.2-atlassian-02.jar:na]
	at com.atlassian.stash.internal.comment.PluginCommentPostProcessor.processAll(PluginCommentPostProcessor.java:79)[stash-service-impl-3.7.0-SNAPSHOT.jar:na]
	at com.atlassian.stash.internal.pull.comment.CompositeCommentPostProcessor.processAll(CompositeCommentPostProcessor.java:45)[stash-service-impl-3.7.0-SNAPSHOT.jar:na]
	at com.atlassian.stash.internal.pull.comment.CommentPullRequestActivityEnricher.enrich(CommentPullRequestActivityEnricher.java:96)[stash-service-impl-3.7.0-SNAPSHOT.jar:na]
	at com.atlassian.stash.internal.pull.DefaultPullRequestService.enrichActivities(DefaultPullRequestService.java:1207)[stash-service-impl-3.7.0-SNAPSHOT.jar:na]
	at com.atlassian.stash.internal.pull.DefaultPullRequestService.enrichActivities(DefaultPullRequestService.java:1200)[stash-service-impl-3.7.0-SNAPSHOT.jar:na]
	at com.atlassian.stash.internal.pull.DefaultPullRequestService.searchActivities(DefaultPullRequestService.java:791)[stash-service-impl-3.7.0-SNAPSHOT.jar:na]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 14 hours ago
10 times, 3 months ago
Once, 3 months ago
34 more bugmates