java.lang.IllegalArgumentException: duplicate key: com.atlassian.confluence.search.v2.ProjectedSearchResult@87d75330

Atlassian JIRA | Rachel Fuerst [Atlassian] | 12 months ago
  1. 0

    h3. Summary When searching for a specific keyword an error page appears with this message: {code} Oops - an error has occurred Cause java.lang.IllegalArgumentException: duplicate key: com.atlassian.confluence.search.v2.ProjectedSearchResult@87d75330 at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115) {code} If you run a content index, you will also see the index hang at 99%. h3. Environment * Confluence 6.0.0-OD-2015.50.1-0003 h3. Steps to Reproduce # Search for keyword in the Confluence search bar at the top navigation panel or through advanced search. *OR* # Run a content index of the Confluence instance. h3. Expected Results # The search populates the results of the keyword search. *OR* # The content index completes to 100%. h3. Actual Results # You see the following appear on the search page: {code} Oops - an error has occurred Stack Trace:[hide] java.lang.IllegalArgumentException: duplicate key: com.atlassian.confluence.search.v2.ProjectedSearchResult@87d75330 at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115) at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:72) at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:245) at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:231) at com.atlassian.confluence.plugins.cql.impl.factory.SearchResultsFactory.buildFrom(SearchResultsFactory.java:166) at com.atlassian.confluence.plugins.cql.impl.DefaultCQLSearchService.search(DefaultCQLSearchService.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy844.search(Unknown Source) {code} *OR* 2. The index hangs at 99% and the below exception is thrown in the confluence log file: {code} 2015-12-10 11:51:11,898 ERROR [Indexer: 1] [atlassian.bonnie.search.BaseDocumentBuilder] lambda$extractWithLuceneExtractors$120 Error extracting search fields from page: PAGE NAME HERE (25329733) using BackwardsCompatibleExtractor wrapping com.atlassian.confluence.search.lucene.LabelExtractor@13003f0 (confluence.extractors.core:labelExtractor): Failed to lazily initialize a collection {code} h3.Workaround A [Rebuild the content indexes from scratch|https://confluence.atlassian.com/display/CONFKB/How+to+rebuild+the+content+indexes+from+scratch] in some cases fixes the problem.

    Atlassian JIRA | 12 months ago | Rachel Fuerst [Atlassian]
    java.lang.IllegalArgumentException: duplicate key: com.atlassian.confluence.search.v2.ProjectedSearchResult@87d75330
  2. 0

    h3. Summary When searching for a specific keyword an error page appears with this message: {code} Oops - an error has occurred Cause java.lang.IllegalArgumentException: duplicate key: com.atlassian.confluence.search.v2.ProjectedSearchResult@87d75330 at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115) {code} If you run a content index, you will also see the index hang at 99%. h3. Environment * Confluence 6.0.0-OD-2015.50.1-0003 h3. Steps to Reproduce # Search for keyword in the Confluence search bar at the top navigation panel or through advanced search. *OR* # Run a content index of the Confluence instance. h3. Expected Results # The search populates the results of the keyword search. *OR* # The content index completes to 100%. h3. Actual Results # You see the following appear on the search page: {code} Oops - an error has occurred Stack Trace:[hide] java.lang.IllegalArgumentException: duplicate key: com.atlassian.confluence.search.v2.ProjectedSearchResult@87d75330 at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115) at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:72) at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:245) at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:231) at com.atlassian.confluence.plugins.cql.impl.factory.SearchResultsFactory.buildFrom(SearchResultsFactory.java:166) at com.atlassian.confluence.plugins.cql.impl.DefaultCQLSearchService.search(DefaultCQLSearchService.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy844.search(Unknown Source) {code} *OR* 2. The index hangs at 99% and the below exception is thrown in the confluence log file: {code} 2015-12-10 11:51:11,898 ERROR [Indexer: 1] [atlassian.bonnie.search.BaseDocumentBuilder] lambda$extractWithLuceneExtractors$120 Error extracting search fields from page: PAGE NAME HERE (25329733) using BackwardsCompatibleExtractor wrapping com.atlassian.confluence.search.lucene.LabelExtractor@13003f0 (confluence.extractors.core:labelExtractor): Failed to lazily initialize a collection {code} h3.Workaround A [Rebuild the content indexes from scratch|https://confluence.atlassian.com/display/CONFKB/How+to+rebuild+the+content+indexes+from+scratch] in some cases fixes the problem.

    Atlassian JIRA | 12 months ago | Rachel Fuerst [Atlassian]
    java.lang.IllegalArgumentException: duplicate key: com.atlassian.confluence.search.v2.ProjectedSearchResult@87d75330
  3. 0

    Realtime node IAE with noncontiguous data

    GitHub | 4 years ago | gianm
    com.fasterxml.jackson.databind.JsonMappingException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Can only handle a single interval, got[[2013-05-14T00:00:00.000Z/2013-05-14T01:00:00.000Z, 2013-05-14T16:00:00.000Z/2013-05-14T17:00:00.000Z]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RichFaces4 startup fails with java.lang.IllegalArgumentException: duplicate key: class javax.faces.convert.DoubleConverter

    Stack Overflow | 5 years ago | Shiv Gopal
    java.lang.IllegalArgumentException: duplicate key: class javax.faces.convert.DoubleConverter
  6. 0

    How to set the default namespace or how to define the @key values when using google-api and using Atom serialization/parser

    Stack Overflow | 5 years ago | Ron
    java.lang.IllegalArgumentException: unrecognized alias: (default)

  1. Handemelindo 1 times, last 5 days ago
  2. tfr 1 times, last 4 months ago
  3. brunosatriani 1 times, last 6 months ago
  4. ben.slama.jihed 1 times, last 6 months ago
  5. vega113 74 times, last 7 months ago
4 more registered users
10 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    duplicate key: com.atlassian.confluence.search.v2.ProjectedSearchResult@87d75330

    at com.google.common.base.Preconditions.checkArgument()
  2. Guava
    Preconditions.checkArgument
    1. com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)
    1 frame